Revision: 1919 http://geany.svn.sourceforge.net/geany/?rev=1919&view=rev Author: ntrel Date: 2007-09-28 09:32:28 -0700 (Fri, 28 Sep 2007)
Log Message: ----------- Add Project Properties menu accelerator.
Modified Paths: -------------- trunk/ChangeLog trunk/src/keybindings.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-09-28 15:43:01 UTC (rev 1918) +++ trunk/ChangeLog 2007-09-28 16:32:28 UTC (rev 1919) @@ -9,6 +9,8 @@ disable preprocessing of C/C++ source files. * doc/geany.txt, doc/geany.html, doc/geany.1.in, NEWS: Add documentation for --no-preprocessing option. + * src/keybindings.c: + Add Project Properties menu accelerator.
2007-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/keybindings.c =================================================================== --- trunk/src/keybindings.c 2007-09-28 15:43:01 UTC (rev 1918) +++ trunk/src/keybindings.c 2007-09-28 16:32:28 UTC (rev 1919) @@ -103,7 +103,7 @@ // common function for keybindings using current word static void cb_func_current_word(guint key_id);
-static void keybindings_add_accels(); +static void add_menu_accels();
static void init_default_kb() @@ -370,7 +370,7 @@ keys[GEANY_KEYS_EDIT_TOGGLECASE]->section = _("Editing commands"); keys[GEANY_KEYS_EDIT_AUTOCOMPLETE]->section = _("Tag commands");
- keybindings_add_accels(); + add_menu_accels(); }
@@ -388,7 +388,7 @@ "activate", accel_group, keys[(gkey)]->key, keys[(gkey)]->mods, \ GTK_ACCEL_VISIBLE)
-static void keybindings_add_accels() +static void add_menu_accels() { GtkAccelGroup *accel_group = gtk_accel_group_new();
@@ -421,13 +421,18 @@ GEANY_ADD_ACCEL(GEANY_KEYS_MENU_FULLSCREEN, menu_fullscreen1); GEANY_ADD_ACCEL(GEANY_KEYS_MENU_MESSAGEWINDOW, menu_show_messages_window1); GEANY_ADD_ACCEL(GEANY_KEYS_MENU_SIDEBAR, menu_show_sidebar1); - GEANY_ADD_ACCEL(GEANY_KEYS_MENU_OPENCOLORCHOOSER, menu_choose_color1); GEANY_ADD_ACCEL(GEANY_KEYS_MENU_ZOOMIN, menu_zoom_in1); GEANY_ADD_ACCEL(GEANY_KEYS_MENU_ZOOMOUT, menu_zoom_out1); + GEANY_ADD_ACCEL(GEANY_KEYS_MENU_REPLACETABS, menu_replace_tabs); GEANY_ADD_ACCEL(GEANY_KEYS_MENU_FOLDALL, menu_fold_all1); GEANY_ADD_ACCEL(GEANY_KEYS_MENU_UNFOLDALL, menu_unfold_all1); + + GEANY_ADD_ACCEL(GEANY_KEYS_MENU_PROJECTPROPERTIES, project_properties1); + + GEANY_ADD_ACCEL(GEANY_KEYS_MENU_OPENCOLORCHOOSER, menu_choose_color1); //~ GEANY_ADD_ACCEL(GEANY_KEYS_MENU_INSERTSPECIALCHARS, menu_insert_special_chars1); + GEANY_ADD_ACCEL(GEANY_KEYS_EDIT_TOGGLECASE, menu_toggle_case2); GEANY_ADD_ACCEL(GEANY_KEYS_EDIT_COMMENTLINE, menu_comment_line1); GEANY_ADD_ACCEL(GEANY_KEYS_EDIT_UNCOMMENTLINE, menu_uncomment_line1);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.