SF.net SVN: geany:[3728] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Fri Apr 24 19:28:55 UTC 2009
Revision: 3728
http://geany.svn.sourceforge.net/geany/?rev=3728&view=rev
Author: eht16
Date: 2009-04-24 19:28:55 +0000 (Fri, 24 Apr 2009)
Log Message:
-----------
Manually show the main notebook tab bar menu when Shift-F10 is pressed. This broke when we disabled the default GTK tab bar menu.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/keybindings.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-24 18:56:59 UTC (rev 3727)
+++ trunk/ChangeLog 2009-04-24 19:28:55 UTC (rev 3728)
@@ -1,3 +1,10 @@
+2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/keybindings.c:
+ Manually show the main notebook tab bar menu when Shift-F10 is
+ pressed. This broke when we disabled the default GTK tab bar menu.
+
+
2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c 2009-04-24 18:56:59 UTC (rev 3727)
+++ trunk/src/keybindings.c 2009-04-24 19:28:55 UTC (rev 3728)
@@ -978,9 +978,10 @@
return TRUE;
}
else
- /* we return FALSE, so the default handler will be used and show
- * the GTK notebook tab list */
- return FALSE;
+ { /* show tab bar menu */
+ trigger_button_event(main_widgets.notebook, event_time);
+ return TRUE;
+ }
}
}
if (focusw == tv.tree_openfiles
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list