[Goodies-commits] r3804 - xfce4-fsguard-plugin/trunk/panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Sun Jan 13 16:34:11 CET 2008
Author: mmassonnet
Date: 2008-01-13 15:34:10 +0000 (Sun, 13 Jan 2008)
New Revision: 3804
Modified:
xfce4-fsguard-plugin/trunk/panel-plugin/fsguard.c
Log:
* panel-plugin/fsguard.c(fsguard_create_options): Correct commit 3513, now the dialog is centered and has a parent.
Modified: xfce4-fsguard-plugin/trunk/panel-plugin/fsguard.c
===================================================================
--- xfce4-fsguard-plugin/trunk/panel-plugin/fsguard.c 2008-01-13 15:24:21 UTC (rev 3803)
+++ xfce4-fsguard-plugin/trunk/panel-plugin/fsguard.c 2008-01-13 15:34:10 UTC (rev 3804)
@@ -548,12 +548,13 @@
/* Dialog */
GtkWidget *dialog =
xfce_titled_dialog_new_with_buttons (_("Free Space Checker"),
- NULL,
+ GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
NULL);
gtk_window_set_icon_name (GTK_WINDOW (dialog), "xfce4-fsguard-plugin-warning");
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
+ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
/* Configuration frame */
GtkWidget *table1 = gtk_table_new (2, 4, FALSE);
More information about the Goodies-commits
mailing list