diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-04-19 07:00:23 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-04-19 07:00:23 +0000 |
| commit | 1b7c8640e4fa3f0382a8c1d6dcc731da2c06ddce (patch) | |
| tree | 30dd595c808d685fc8af2503bb0f77fb4ea838ed /src | |
| parent | Adding automatic removed files, Why it? I put again becasue are in branch (diff) | |
| parent | Updated aiga symbols to have more meta data and used document title for symbo... (diff) | |
| download | inkscape-1b7c8640e4fa3f0382a8c1d6dcc731da2c06ddce.tar.gz inkscape-1b7c8640e4fa3f0382a8c1d6dcc731da2c06ddce.zip | |
Update to trunk
(bzr r11950.1.103)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/symbols.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index 5bc3ae91b..4eeb1b5f0 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -150,7 +150,7 @@ SymbolsDialog::SymbolsDialog( gchar const* prefsPath ) : iconView->set_pixbuf_column( columns->symbol_image ); // Giving the iconview a small minimum size will help users understand // What the dialog does. - iconView->set_size_request( 100, 32 ); + iconView->set_size_request( 100, 200 ); std::vector< Gtk::TargetEntry > targets; targets.push_back(Gtk::TargetEntry( "application/x-inkscape-paste")); @@ -469,8 +469,9 @@ void SymbolsDialog::get_symbols() { symbol_doc = SPDocument::createNewDoc( fullname, FALSE ); if( symbol_doc ) { - symbolSets[Glib::ustring(filename)]= symbol_doc; - symbolSet->append(filename); + gchar *title = symbol_doc->getRoot()->title(); + symbolSets[Glib::ustring(title)] = symbol_doc; + symbolSet->append(title); } } |
