Revision: 2156 http://geany.svn.sourceforge.net/geany/?rev=2156&view=rev Author: ntrel Date: 2008-01-10 05:27:26 -0800 (Thu, 10 Jan 2008)
Log Message: ----------- Hopefully fix bug with Cut/Copy/Paste KB not working (#1867861).
Modified Paths: -------------- trunk/ChangeLog trunk/src/keybindings.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-01-09 18:05:09 UTC (rev 2155) +++ trunk/ChangeLog 2008-01-10 13:27:26 UTC (rev 2156) @@ -1,3 +1,9 @@ +2008-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/keybindings.c: + Hopefully fix bug with Cut/Copy/Paste KB not working (#1867861). + + 2008-01-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Modified: trunk/src/keybindings.c =================================================================== --- trunk/src/keybindings.c 2008-01-09 18:05:09 UTC (rev 2155) +++ trunk/src/keybindings.c 2008-01-10 13:27:26 UTC (rev 2156) @@ -1141,24 +1141,18 @@
static void cb_func_clipboard(guint key_id) { - GtkWidget *item = NULL; - switch (key_id) { case GEANY_KEYS_MENU_CUT: - item = lookup_widget(app->window, "menu_cut1"); + on_cut1_activate(NULL, NULL); break; case GEANY_KEYS_MENU_COPY: - item = lookup_widget(app->window, "menu_copy1"); + on_copy1_activate(NULL, NULL); break; case GEANY_KEYS_MENU_PASTE: - item = lookup_widget(app->window, "menu_paste1"); + on_paste1_activate(NULL, NULL); break; } - if (item && GTK_WIDGET_IS_SENSITIVE(item)) - { - gtk_menu_item_activate(GTK_MENU_ITEM(item)); - } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.