aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-06 00:08:04 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-06 00:08:04 +0800
commit7457f676155191be13664f62ccbe2e1fcb184de4 (patch)
tree9016424e330af2cbda9c28872d178848d3da60e3 /lib/egg/egg-editable-toolbar.c
parent781a2569005c985af2ac82f329fc35d9e0e5d268 (diff)
downloadgsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.tar
gsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.tar.gz
gsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.tar.bz2
gsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.tar.lz
gsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.tar.xz
gsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.tar.zst
gsoc2013-epiphany-7457f676155191be13664f62ccbe2e1fcb184de4.zip
Update (removing toolbars with context menu works again).
2003-05-05 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbar-editor.c: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: Update (removing toolbars with context menu works again). * src/window-commands.c: (toolbar_editor_help_cb), (window_cmd_edit_toolbar): Build the tbe dialog, update for new egg api. Fix position of new toolbars to be before bookmarks toolbar.
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index 174b775fe..bf32c54ff 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -279,8 +279,6 @@ popup_toolbar_context_menu_cb (GtkWidget *toolbar,
gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 2,
gtk_get_current_event_time ());
-
- t->priv->selected_toolbar = NULL;
}
}
@@ -378,7 +376,7 @@ toolbar_added_cb (EggToolbarsModel *model,
gtk_widget_set_size_request (toolbar, -1, MIN_TOOLBAR_HEIGHT);
gtk_box_pack_start (GTK_BOX (t), toolbar, FALSE, FALSE, 0);
- /* FIXME reorder to match position */
+ gtk_box_reorder_child (GTK_BOX (t), toolbar, position);
}
static void