[Xfce4-commits] <xfce4-session:master> Use correct function to center a window on the screen.

Nick Schermer noreply at xfce.org
Thu Jan 28 19:52:30 CET 2010


Updating branch refs/heads/master
         to 5f742e77d8bc25a42ec41ca6b35f9d8f9e36fc26 (commit)
       from 6006cde3628f09dcedb9f58a8e87715bcffaf0d9 (commit)

commit 5f742e77d8bc25a42ec41ca6b35f9d8f9e36fc26
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Jan 28 19:33:12 2010 +0100

    Use correct function to center a window on the screen.

 settings/splash-settings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/settings/splash-settings.c b/settings/splash-settings.c
index ef72db3..b874aa6 100644
--- a/settings/splash-settings.c
+++ b/settings/splash-settings.c
@@ -306,7 +306,7 @@ splash_selection_changed (GtkTreeSelection *selection)
   /* centering must be delayed! */
   if (!splash_centered)
     {
-      gtk_window_set_position(GTK_WINDOW(splash_dialog), GTK_WIN_POS_CENTER);
+      xfce_gtk_window_center_on_active_screen(GTK_WINDOW(splash_dialog));
       splash_centered = TRUE;
     }
 }



More information about the Xfce4-commits mailing list