From 7457f676155191be13664f62ccbe2e1fcb184de4 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 5 May 2003 16:08:04 +0000 Subject: Update (removing toolbars with context menu works again). 2003-05-05 Marco Pesenti Gritti * 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. --- lib/egg/egg-toolbar-editor.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/egg/egg-toolbar-editor.h') diff --git a/lib/egg/egg-toolbar-editor.h b/lib/egg/egg-toolbar-editor.h index 6c6861153..b351fcb89 100755 --- a/lib/egg/egg-toolbar-editor.h +++ b/lib/egg/egg-toolbar-editor.h @@ -19,7 +19,7 @@ #ifndef EGG_TOOLBAR_EDITOR_H #define EGG_TOOLBAR_EDITOR_H -#include +#include #include "egg-menu-merge.h" #include "egg-toolbars-model.h" @@ -41,19 +41,18 @@ typedef struct EggToolbarEditorPrivate EggToolbarEditorPrivate; struct EggToolbarEditor { - GtkDialog parent_object; + GtkVBox parent_object; EggToolbarEditorPrivate *priv; }; struct EggToolbarEditorClass { - GtkDialogClass parent_class; + GtkVBoxClass parent_class; }; GType egg_toolbar_editor_get_type (void); -GtkWidget *egg_toolbar_editor_new (GtkWindow *parent, - EggMenuMerge *merge, +GtkWidget *egg_toolbar_editor_new (EggMenuMerge *merge, EggToolbarsModel *model); void egg_toolbar_editor_load_actions (EggToolbarEditor *editor, const char *xml_file); -- cgit v1.2.3