gnome-terminal r2410 - in trunk: . src



Author: chpe
Date: Mon Feb 25 18:31:21 2008
New Revision: 2410
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2410&view=rev

Log:
2008-02-25  Christian Persch  <chpe gnome org>

	Bug 516778 â Menu items not drawn at startup if use-mnemonics==false

	* src/terminal-window.c: (terminal_window_init): Force rebuilding the
	toplevel menuitem labels, so they don't end up empty when
	use-mnemonics is false. Bug #516778.

Modified:
   trunk/ChangeLog
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Mon Feb 25 18:31:21 2008
@@ -795,8 +795,7 @@
       use_mnemonics = TRUE;
     }
   window->priv->use_mnemonics = use_mnemonics;
-
-  window->priv->using_mnemonics = FALSE;
+  window->priv->using_mnemonics = !use_mnemonics; /* force a label update in reset_menubar_labels */
 
   initialize_alpha_mode (window);
 



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