diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-04-19 02:35:52 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-04-19 02:35:52 +0000 |
| commit | be08076a25857e1ed525c05d7c492d462d8a3454 (patch) | |
| tree | 9ea7eed2a411d42c5778efae4a5ba776a93f85cf /src | |
| parent | Add symbolic icons set by Jimmac & Barbara Muraus (diff) | |
| download | inkscape-be08076a25857e1ed525c05d7c492d462d8a3454.tar.gz inkscape-be08076a25857e1ed525c05d7c492d462d8a3454.zip | |
Updated aiga symbols to have more meta data and used document title for symbols dropdown
(bzr r12282)
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); } } |
