SF.net SVN: geany:[5355] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Nov 2 15:03:16 UTC 2010
Revision: 5355
http://geany.svn.sourceforge.net/geany/?rev=5355&view=rev
Author: ntrel
Date: 2010-11-02 15:03:16 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
Fix Alt+[0-9] switching tabs when other modifiers are also held.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/keybindings.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-11-02 13:05:12 UTC (rev 5354)
+++ trunk/ChangeLog 2010-11-02 15:03:16 UTC (rev 5355)
@@ -7,6 +7,8 @@
a Markup document.
* plugins/htmlchars.c:
Rename submenu item labels to be more descriptive.
+ * src/keybindings.c:
+ Fix Alt+[0-9] switching tabs when other modifiers are also held.
2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c 2010-11-02 13:05:12 UTC (rev 5354)
+++ trunk/src/keybindings.c 2010-11-02 15:03:16 UTC (rev 5355)
@@ -925,7 +925,7 @@
static gboolean check_fixed_kb(guint keyval, guint state)
{
/* check alt-0 to alt-9 for setting current notebook page */
- if (state & GDK_MOD1_MASK && keyval >= GDK_0 && keyval <= GDK_9)
+ if (state == GDK_MOD1_MASK && keyval >= GDK_0 && keyval <= GDK_9)
{
gint page = keyval - GDK_0 - 1;
gint npages = gtk_notebook_get_n_pages(GTK_NOTEBOOK(main_widgets.notebook));
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