diff options
author | David Bordoley <bordoley@msu.edu> | 2003-04-27 16:35:50 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-27 16:35:50 +0800 |
commit | 34c164d7175456a25362d00981d1cc38a339baf2 (patch) | |
tree | 1e2bf50d082477e4b60d859eeffb52efb9e2eb30 /lib/egg/egg-toolbar-editor.c | |
parent | 9605e12bd4a9238f989e6f1c662781b848555cac (diff) | |
download | gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.tar gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.tar.gz gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.tar.bz2 gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.tar.lz gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.tar.xz gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.tar.zst gsoc2013-epiphany-34c164d7175456a25362d00981d1cc38a339baf2.zip |
Update.
2003-04-27 David Bordoley <bordoley@msu.edu>
* lib/egg/egg-editable-toolbar.c:
* lib/egg/egg-toolbar-editor.c:
* lib/egg/egg-toolbar-editor.h:
Update.
* src/window-commands.c: (toolbar_editor_help_cb),
(window_cmd_edit_toolbar):
Add and help button.
Diffstat (limited to 'lib/egg/egg-toolbar-editor.c')
-rwxr-xr-x | lib/egg/egg-toolbar-editor.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c index 8993d4042..b957875ad 100755 --- a/lib/egg/egg-toolbar-editor.c +++ b/lib/egg/egg-toolbar-editor.c @@ -210,7 +210,8 @@ egg_toolbar_editor_finalize (GObject *object) } GtkWidget * -egg_toolbar_editor_new (EggMenuMerge *merge, +egg_toolbar_editor_new (GtkWindow *parent, + EggMenuMerge *merge, EggToolbarsModel *model) { EggToolbarEditor *t; @@ -219,6 +220,10 @@ egg_toolbar_editor_new (EggMenuMerge *merge, "MenuMerge", merge, "ToolbarsModel", model, NULL)); + if (parent != NULL) + { + gtk_window_set_transient_for (GTK_WINDOW (t), parent); + } g_return_val_if_fail (t->priv != NULL, NULL); @@ -535,7 +540,7 @@ parse_item_list (EggToolbarEditor *t, } } -gboolean +static gboolean model_has_action (EggToolbarsModel *model, EggAction *action) { int i, l, n_items, n_toolbars; |