diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-01-26 07:33:05 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-01-26 07:33:05 +0800 |
commit | 0e1613efe9cc6d8ed3acf56928c798e3d889f4f1 (patch) | |
tree | 02a95d20e3377adf92339c08bed349aa3ba0d98f /src/ephy-toolbar-editor.c | |
parent | 3ad9ef8b91858c04c3e94243ab98c1652556d285 (diff) | |
download | gsoc2013-epiphany-0e1613efe9cc6d8ed3acf56928c798e3d889f4f1.tar.gz gsoc2013-epiphany-0e1613efe9cc6d8ed3acf56928c798e3d889f4f1.tar.zst gsoc2013-epiphany-0e1613efe9cc6d8ed3acf56928c798e3d889f4f1.zip |
Add transient window to window group.,
2006-01-25 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor):
Add transient window to window group.,
* src/languages.h:
Add licence header.
Diffstat (limited to 'src/ephy-toolbar-editor.c')
-rw-r--r-- | src/ephy-toolbar-editor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-toolbar-editor.c b/src/ephy-toolbar-editor.c index e0defcf44..e0ca065f3 100644 --- a/src/ephy-toolbar-editor.c +++ b/src/ephy-toolbar-editor.c @@ -199,9 +199,12 @@ ephy_toolbar_editor_constructor (GType type, gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2); gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); gtk_window_set_title (GTK_WINDOW (dialog), _("Toolbar Editor")); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (priv->window)); + gtk_window_group_add_window (ephy_gui_ensure_window_group (GTK_WINDOW (priv->window)), + GTK_WINDOW (dialog)); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); - gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); manager = GTK_UI_MANAGER (ephy_window_get_ui_manager (priv->window)); editor = egg_toolbar_editor_new (manager, priv->model); |