[geany/geany] 9a63e0: Change plugin manager's OK button response to GTK_RESPONSE_OK
Matthew Brush
git-noreply at xxxxx
Fri Aug 10 05:36:03 UTC 2012
Branch: refs/heads/master
Author: Matthew Brush <matt at geany.org>
Committer: Matthew Brush <matt at geany.org>
Date: Fri, 10 Aug 2012 05:36:03
Commit: 9a63e05f63871e2c89a32f59c585cc93538d74e0
https://github.com/geany/geany/commit/9a63e05f63871e2c89a32f59c585cc93538d74e0
Log Message:
-----------
Change plugin manager's OK button response to GTK_RESPONSE_OK
Used to be GTK_RESPONSE_CANCEL for some reason.
Modified Paths:
--------------
src/plugins.c
Modified: src/plugins.c
4 files changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -1375,6 +1375,8 @@ static void pm_on_plugin_button_clicked(GtkButton *button, gpointer user_data)
}
+/* Callback when plugin manager dialog closes, only ever has response of
+ * GTK_RESPONSE_OK or GTK_RESPONSE_DELETE_EVENT and both are treated the same. */
static void pm_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
{
if (plugin_list != NULL)
@@ -1413,7 +1415,7 @@ static void pm_show_dialog(GtkMenuItem *menuitem, gpointer user_data)
pm_widgets.dialog = gtk_dialog_new_with_buttons(_("Plugins"), GTK_WINDOW(main_widgets.window),
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_OK, GTK_RESPONSE_CANCEL, NULL);
+ GTK_STOCK_OK, GTK_RESPONSE_OK, 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);
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list