[Xfce4-commits] r26573 - in mousepad/branches/nick_0_3: . mousepad

Nick Schermer nick at xfce.org
Tue Jan 15 11:59:07 CET 2008


Author: nick
Date: 2008-01-15 10:59:07 +0000 (Tue, 15 Jan 2008)
New Revision: 26573

Modified:
   mousepad/branches/nick_0_3/ChangeLog
   mousepad/branches/nick_0_3/mousepad/mousepad-window.c
Log:
* mousepad/mousepad-window.c: Update menu actions after a document
  is closed, so the detach action becomes insensitive when there
  is only one document openened.


Modified: mousepad/branches/nick_0_3/ChangeLog
===================================================================
--- mousepad/branches/nick_0_3/ChangeLog	2008-01-15 10:34:47 UTC (rev 26572)
+++ mousepad/branches/nick_0_3/ChangeLog	2008-01-15 10:59:07 UTC (rev 26573)
@@ -1,5 +1,12 @@
 2008-01-15	Nick Schermer <nick at xfce.org>
 
+	* mousepad/mousepad-window.c: Update menu actions after a document
+	  is closed, so the detach action becomes insensitive when there
+	  is only one document openened.
+
+
+2008-01-15	Nick Schermer <nick at xfce.org>
+
 	* TODO: Update
 	* mousepad/mousepad-{dialogs,window,file}.c: Check for external
 	  file modifications before saving.

Modified: mousepad/branches/nick_0_3/mousepad/mousepad-window.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-window.c	2008-01-15 10:34:47 UTC (rev 26572)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-window.c	2008-01-15 10:59:07 UTC (rev 26573)
@@ -1420,6 +1420,9 @@
 
       /* update the go menu */
       mousepad_window_update_gomenu (window);
+
+      /* update action entries */
+      mousepad_window_update_actions (window);
     }
 }
 



More information about the Xfce4-commits mailing list