[evolution-patches] Trivial transient patch



Hi,

Attached is a one-line patch to mark the Settings dialogue as transient
for the main window. This results it in being centred on the Evolution
window, and following the it around when it switches workspace.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
? shell/apps_evolution_shell-1.5.schemas
Index: shell/e-shell.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell.c,v
retrieving revision 1.230
diff -u -r1.230 e-shell.c
--- shell/e-shell.c	4 Dec 2003 23:12:28 -0000	1.230
+++ shell/e-shell.c	17 Dec 2003 09:57:15 -0000
@@ -989,6 +989,7 @@
 
 	g_object_add_weak_pointer (G_OBJECT (priv->settings_dialog), (void **) & priv->settings_dialog);
 
+	gtk_window_set_transient_for (GTK_WINDOW (priv->settings_dialog), GTK_WINDOW (shell_window));
 	gtk_widget_show (priv->settings_dialog);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]