gnome-commander r1752 - in trunk: . src



Author: epiotr
Date: Sat May  3 23:27:54 2008
New Revision: 1752
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1752&view=rev

Log:
Center progress window

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-xfer-progress-win.cc
   trunk/src/gnome-cmd-xfer.cc

Modified: trunk/src/gnome-cmd-xfer-progress-win.cc
==============================================================================
--- trunk/src/gnome-cmd-xfer-progress-win.cc	(original)
+++ trunk/src/gnome-cmd-xfer-progress-win.cc	Sat May  3 23:27:54 2008
@@ -82,6 +82,7 @@
 
     gtk_window_set_title (GTK_WINDOW (win), _("Progress"));
     gtk_window_set_policy (GTK_WINDOW (win), FALSE, FALSE, FALSE);
+    gtk_window_set_position (GTK_WINDOW (win), GTK_WIN_POS_CENTER);
     gtk_widget_set_size_request (GTK_WIDGET (win), 300, -1);
 
     vbox = create_vbox (w, FALSE, 6);

Modified: trunk/src/gnome-cmd-xfer.cc
==============================================================================
--- trunk/src/gnome-cmd-xfer.cc	(original)
+++ trunk/src/gnome-cmd-xfer.cc	Sat May  3 23:27:54 2008
@@ -208,8 +208,7 @@
 }
 
 
-static gboolean
-update_xfer_gui_func (XferData *data)
+static gboolean update_xfer_gui_func (XferData *data)
 {
     if (data->win && data->win->cancel_pressed)
     {



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