SF.net SVN: geany:[5125] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Aug 10 16:34:51 UTC 2010


Revision: 5125
          http://geany.svn.sourceforge.net/geany/?rev=5125&view=rev
Author:   ntrel
Date:     2010-08-10 16:34:51 +0000 (Tue, 10 Aug 2010)

Log Message:
-----------
Reorder Focus keybindings.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/keybindings.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-08-10 16:23:51 UTC (rev 5124)
+++ trunk/ChangeLog	2010-08-10 16:34:51 UTC (rev 5125)
@@ -16,6 +16,8 @@
    autocompletion.
  * src/keybindings.h, src/plugindata.h:
    Randomly sort keybinding IDs to show there should be no order.
+ * src/keybindings.c:
+   Reorder Focus keybindings.
 
 
 2010-08-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c	2010-08-10 16:23:51 UTC (rev 5124)
+++ trunk/src/keybindings.c	2010-08-10 16:34:51 UTC (rev 5125)
@@ -467,27 +467,26 @@
 
 	group = ADD_KB_GROUP(FOCUS, _("Focus"), cb_func_switch_action);
 
-	/* TODO rearrange these keybindings */
 	keybindings_set_item(group, GEANY_KEYS_FOCUS_EDITOR, NULL,
 		GDK_F2, 0, "switch_editor", _("Switch to Editor"), NULL);
-	keybindings_set_item(group, GEANY_KEYS_FOCUS_SCRIBBLE, NULL,
-		GDK_F6, 0, "switch_scribble", _("Switch to Scribble"), NULL);
-	keybindings_set_item(group, GEANY_KEYS_FOCUS_VTE, NULL,
-		GDK_F4, 0, "switch_vte", _("Switch to VTE"), NULL);
 	keybindings_set_item(group, GEANY_KEYS_FOCUS_SEARCHBAR, NULL,
 		GDK_F7, 0, "switch_search_bar", _("Switch to Search Bar"), NULL);
-	keybindings_set_item(group, GEANY_KEYS_FOCUS_SIDEBAR, NULL,
-		0, 0, "switch_sidebar", _("Switch to Sidebar"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_FOCUS_MESSAGE_WINDOW, NULL,
+		0, 0, "switch_message_window", _("Switch to Message Window"), NULL);
 	keybindings_set_item(group, GEANY_KEYS_FOCUS_COMPILER, NULL,
 		0, 0, "switch_compiler", _("Switch to Compiler"), NULL);
 	keybindings_set_item(group, GEANY_KEYS_FOCUS_MESSAGES, NULL,
 		0, 0, "switch_messages", _("Switch to Messages"), NULL);
-	keybindings_set_item(group, GEANY_KEYS_FOCUS_MESSAGE_WINDOW, NULL,
-		0, 0, "switch_message_window", _("Switch to Message Window"), NULL);
-	keybindings_set_item(group, GEANY_KEYS_FOCUS_SIDEBAR_DOCUMENT_LIST, NULL,
-		0, 0, "switch_sidebar_doc_list", _("Switch to Sidebar Document List"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_FOCUS_SCRIBBLE, NULL,
+		GDK_F6, 0, "switch_scribble", _("Switch to Scribble"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_FOCUS_VTE, NULL,
+		GDK_F4, 0, "switch_vte", _("Switch to VTE"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_FOCUS_SIDEBAR, NULL,
+		0, 0, "switch_sidebar", _("Switch to Sidebar"), NULL);
 	keybindings_set_item(group, GEANY_KEYS_FOCUS_SIDEBAR_SYMBOL_LIST, NULL,
 		0, 0, "switch_sidebar_symbol_list", _("Switch to Sidebar Symbol List"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_FOCUS_SIDEBAR_DOCUMENT_LIST, NULL,
+		0, 0, "switch_sidebar_doc_list", _("Switch to Sidebar Document List"), NULL);
 
 	group = ADD_KB_GROUP(NOTEBOOK, _("Notebook tab"), NULL);
 
@@ -1518,7 +1517,7 @@
 		return TRUE;
 
 	menu_items = build_get_menu_items(doc->file_type->id);
-/* TODO make it a table??*/
+	/* TODO make it a table??*/
 	switch (key_id)
 	{
 		case GEANY_KEYS_BUILD_COMPILE:


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