changeset 11747:b8bf638cc4aa

[gaim-migrate @ 14038] Roles for everyone. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 23 Oct 2005 10:08:08 +0000
parents 8d5ea84440ca
children 6fa0a37127fd
files src/gtkplugin.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkplugin.c	Sun Oct 23 09:24:58 2005 +0000
+++ b/src/gtkplugin.c	Sun Oct 23 10:08:08 2005 +0000
@@ -33,6 +33,7 @@
 static GtkWidget *plugin_dialog = NULL;
 static GtkWidget *plugin_details = NULL;
 static GtkWidget *pref_button = NULL;
+
 GtkWidget *
 gaim_gtk_plugin_get_config_frame(GaimPlugin *plugin)
 {
@@ -258,6 +259,7 @@
 						     NULL);
 		g_signal_connect(G_OBJECT(dialog), "response", G_CALLBACK(pref_dialog_response_cb), NULL);
 		gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), box);
+		gtk_window_set_role(GTK_WINDOW(dialog), "plugin_config");
 		gtk_widget_show_all(dialog);
 		break;
 	}
@@ -284,6 +286,7 @@
 						    NULL);
 	pref_button = gtk_dialog_add_button(GTK_DIALOG(plugin_dialog), GTK_STOCK_PREFERENCES, 98121);
 	gtk_dialog_add_button(GTK_DIALOG(plugin_dialog), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
+	gtk_window_set_role(GTK_WINDOW(plugin_dialog), "plugins");
 
 	sw = gtk_scrolled_window_new(NULL,NULL);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);