Revision: 2363 http://geany.svn.sourceforge.net/geany/?rev=2363&view=rev Author: ntrel Date: 2008-03-19 10:15:28 -0700 (Wed, 19 Mar 2008)
Log Message: ----------- Set mnemonic for Plugin Manager. Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape closes the dialog.
Modified Paths: -------------- trunk/ChangeLog trunk/src/plugins.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-03-18 16:38:01 UTC (rev 2362) +++ trunk/ChangeLog 2008-03-19 17:15:28 UTC (rev 2363) @@ -1,3 +1,11 @@ +2008-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/plugins.c: + Set mnemonic for Plugin Manager. + Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape + closes the dialog. + + 2008-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c, src/symbols.c, src/symbols.h:
Modified: trunk/src/plugins.c =================================================================== --- trunk/src/plugins.c 2008-03-18 16:38:01 UTC (rev 2362) +++ trunk/src/plugins.c 2008-03-19 17:15:28 UTC (rev 2363) @@ -667,7 +667,7 @@ geany_data_init(); geany_object = geany_object_new();
- widget = gtk_menu_item_new_with_mnemonic(_("Plugin Manager")); + widget = gtk_menu_item_new_with_mnemonic(_("_Plugin Manager")); gtk_container_add(GTK_CONTAINER (geany_data.tools_menu), widget); gtk_widget_show(widget); g_signal_connect((gpointer) widget, "activate", G_CALLBACK(pm_show_dialog), NULL); @@ -943,13 +943,12 @@
pm_widgets.dialog = gtk_dialog_new_with_buttons(_("Plugins"), GTK_WINDOW(app->window), GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); + GTK_STOCK_OK, GTK_RESPONSE_CANCEL, NULL); vbox = ui_dialog_vbox_new(GTK_DIALOG(pm_widgets.dialog)); gtk_widget_set_name(pm_widgets.dialog, "GeanyDialog"); gtk_box_set_spacing(GTK_BOX(vbox), 6);
gtk_window_set_default_size(GTK_WINDOW(pm_widgets.dialog), 400, 350); - gtk_dialog_set_default_response(GTK_DIALOG(pm_widgets.dialog), GTK_RESPONSE_CANCEL);
pm_widgets.tree = gtk_tree_view_new(); pm_widgets.store = gtk_list_store_new(
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.