pidgin/gtkplugin.c

branch
cpw.qulogic.gtk3-required
changeset 33168
f51e53d27b99
parent 33161
c248c062f272
child 33170
ce4447562d64
equal deleted inserted replaced
33167:fce72d79861f 33168:f51e53d27b99
716 if (plugin_dialog != NULL) { 716 if (plugin_dialog != NULL) {
717 gtk_window_present(GTK_WINDOW(plugin_dialog)); 717 gtk_window_present(GTK_WINDOW(plugin_dialog));
718 return; 718 return;
719 } 719 }
720 720
721 plugin_dialog = gtk_dialog_new_with_buttons(_("Plugins"), 721 plugin_dialog = gtk_dialog_new();
722 NULL, 722 gtk_window_set_title(GTK_WINDOW(plugin_dialog), _("Plugins"));
723 0,
724 NULL);
725 pref_button = gtk_dialog_add_button(GTK_DIALOG(plugin_dialog), 723 pref_button = gtk_dialog_add_button(GTK_DIALOG(plugin_dialog),
726 _("Configure Pl_ugin"), PIDGIN_RESPONSE_CONFIGURE); 724 _("Configure Pl_ugin"), PIDGIN_RESPONSE_CONFIGURE);
727 gtk_dialog_add_button(GTK_DIALOG(plugin_dialog), 725 gtk_dialog_add_button(GTK_DIALOG(plugin_dialog),
728 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); 726 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
729 gtk_widget_set_sensitive(pref_button, FALSE); 727 gtk_widget_set_sensitive(pref_button, FALSE);

mercurial