nemo r73 - trunk/gtk



Author: arj
Date: Tue Jan 15 17:38:55 2008
New Revision: 73
URL: http://svn.gnome.org/viewvc/nemo?rev=73&view=rev

Log:
Move the hide closer to the show when hidden so that it doesn't blink



Modified:
   trunk/gtk/MainWindow.cs

Modified: trunk/gtk/MainWindow.cs
==============================================================================
--- trunk/gtk/MainWindow.cs	(original)
+++ trunk/gtk/MainWindow.cs	Tue Jan 15 17:38:55 2008
@@ -40,6 +40,9 @@
 	
 		Build();
 
+		if (hidden)
+			hide();
+
 		// restore the position on screen
 		Move(Singleton<Configuration>.Instance.data.main_window_x,
 		     Singleton<Configuration>.Instance.data.main_window_y);
@@ -109,9 +112,6 @@
 		// register result types
 		DocumentItem.set_fields_index(broker.RegisterItemTypes(DocumentItem.ItemTypes()));
 		PictureItem.set_fields_index(broker.RegisterItemTypes(PictureItem.ItemTypes()));
-		
-		if (hidden)
-			hide();
 	}
 
 	// Tray



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