gnome-terminal r3179 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3179 - trunk/src
- Date: Sun, 19 Oct 2008 12:30:42 +0000 (UTC)
Author: chpe
Date: Sun Oct 19 12:30:42 2008
New Revision: 3179
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3179&view=rev
Log:
Bug 556893 â Crash when closing a tab
Make sure to use %x for the action name, so we get the right ID back in
free_tab_id().
Modified:
trunk/src/terminal-tabs-menu.c
Modified: trunk/src/terminal-tabs-menu.c
==============================================================================
--- trunk/src/terminal-tabs-menu.c (original)
+++ trunk/src/terminal-tabs-menu.c Sun Oct 19 12:30:42 2008
@@ -35,7 +35,7 @@
#define LABEL_WIDTH_CHARS 32
#define ACTION_VERB_FORMAT_PREFIX "JmpTab"
#define ACTION_VERB_FORMAT_PREFIX_LEN strlen (ACTION_VERB_FORMAT_PREFIX)
-#define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%u"
+#define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%x"
#define ACTION_VERB_FORMAT_LENGTH strlen (ACTION_VERB_FORMAT) + 14 + 1
#define ACTION_VERB_FORMAT_BASE (16) /* %x is hex */
#define ACCEL_PATH_FORMAT "<Actions>/Main/TabsSwitch%u"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]