nemo r57 - in trunk: . gtk



Author: arj
Date: Wed Jan  9 10:22:42 2008
New Revision: 57
URL: http://svn.gnome.org/viewvc/nemo?rev=57&view=rev

Log:
Fix bug where close didn't work as it should



Modified:
   trunk/NEWS
   trunk/gtk/MainWindow.cs

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Wed Jan  9 10:22:42 2008
@@ -15,6 +15,9 @@
 - Don't do needless searching for text and handle the case of empty
   search text
 - Fix resize for search results window
+- Fix a bug where the main window would be empty (crashed) when
+  minimizing it by pressing the close button instead of the hide
+  button in the tray
 
 Other:
 - Optimize metadata store to be faster at checking for valid files

Modified: trunk/gtk/MainWindow.cs
==============================================================================
--- trunk/gtk/MainWindow.cs	(original)
+++ trunk/gtk/MainWindow.cs	Wed Jan  9 10:22:42 2008
@@ -58,6 +58,8 @@
 			Nemo.Singleton<Nemo.OverlayTracker>.Instance.show_all(); 
 		};
 
+		this.DeleteEvent += on_close;
+
 		GtkCommon.tooltip = new Gtk.Tooltips();
 
 		if (Singleton<Configuration>.Instance.data.search_tool == "tracker")



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