[Xfce4-commits] <xfce4-panel:master> Panel: Make the item window a normal window (bug #7492).
Nick Schermer
noreply at xfce.org
Sat Apr 16 11:58:01 CEST 2011
Updating branch refs/heads/master
to e75f14db701b284516d3a995b9eb0a19dced1b08 (commit)
from 3fb2ce0cb430a12c95f43055ec142e21ecac54f5 (commit)
commit e75f14db701b284516d3a995b9eb0a19dced1b08
Author: Nick Schermer <nick at xfce.org>
Date: Sat Apr 16 11:55:46 2011 +0200
Panel: Make the item window a normal window (bug #7492).
Don't make the window modal, which comes with dialogs, but
act like a normal window.
panel/panel-item-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/panel/panel-item-dialog.c b/panel/panel-item-dialog.c
index 46eeaca..06a5d2e 100644
--- a/panel/panel-item-dialog.c
+++ b/panel/panel-item-dialog.c
@@ -191,6 +191,7 @@ panel_item_dialog_init (PanelItemDialog *dialog)
gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_ADD);
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_default_size (GTK_WINDOW (dialog), 350, 450);
+ gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_NORMAL);
dialog->add_button = gtk_button_new_from_stock (GTK_STOCK_ADD);
gtk_widget_show (dialog->add_button);
More information about the Xfce4-commits
mailing list