diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-08-26 08:44:06 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-08-26 08:44:06 +0000 |
| commit | 84632bca5511a1daae902bbd9faad00d67fd58bf (patch) | |
| tree | 2dd483c8d5c7411b9cbac3b263f3f77f86d37c38 /src/ink-comboboxentry-action.cpp | |
| parent | librevenge: update to latest patch from bug #1323592 (support old and new ver... (diff) | |
| parent | UI. Fix for Bug #340723 "Interface inconsistency of tooltips". (diff) | |
| download | inkscape-84632bca5511a1daae902bbd9faad00d67fd58bf.tar.gz inkscape-84632bca5511a1daae902bbd9faad00d67fd58bf.zip | |
update to trunk (r13532)
(bzr r13398.1.8)
Diffstat (limited to 'src/ink-comboboxentry-action.cpp')
| -rw-r--r-- | src/ink-comboboxentry-action.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/ink-comboboxentry-action.cpp b/src/ink-comboboxentry-action.cpp index ebd238edc..6579c8ff8 100644 --- a/src/ink-comboboxentry-action.cpp +++ b/src/ink-comboboxentry-action.cpp @@ -383,6 +383,15 @@ GtkWidget* create_tool_item( GtkAction* action ) g_signal_connect( G_OBJECT(comboBoxEntry), "changed", G_CALLBACK(combo_box_changed_cb), action ); + // Optionally add separator function... + if( ink_comboboxentry_action->separator_func != NULL ) { + gtk_combo_box_set_row_separator_func( ink_comboboxentry_action->combobox, + GtkTreeViewRowSeparatorFunc (ink_comboboxentry_action->separator_func), + NULL, NULL ); + } + + gtk_widget_show_all (comboBoxEntry); + // Optionally add formatting... if( ink_comboboxentry_action->cell_data_func != NULL ) { GtkCellRenderer *cell = gtk_cell_renderer_text_new(); @@ -393,13 +402,6 @@ GtkWidget* create_tool_item( GtkAction* action ) NULL, NULL ); } - // Optionally add separator function... - if( ink_comboboxentry_action->separator_func != NULL ) { - gtk_combo_box_set_row_separator_func( ink_comboboxentry_action->combobox, - GtkTreeViewRowSeparatorFunc (ink_comboboxentry_action->separator_func), - NULL, NULL ); - } - // Optionally widen the combobox width... which widens the drop-down list in list mode. if( ink_comboboxentry_action->extra_width > 0 ) { GtkRequisition req; |
