pidgin/gtkprivacy.c

changeset 21228
870d44935aac
parent 21227
8887817a113a
child 21352
e10c4ea18f7c
--- a/pidgin/gtkprivacy.c	Sun Oct 14 18:43:32 2007 +0000
+++ b/pidgin/gtkprivacy.c	Fri Nov 16 23:00:32 2007 +0000
@@ -88,8 +88,6 @@
 
 static PidginPrivacyDialog *privacy_dialog = NULL;
 
-#define PIDGIN_REQUEST_HINT_PRIVACY "privacy"
-
 static void
 rebuild_allow_list(PidginPrivacyDialog *dialog)
 {
@@ -369,7 +367,7 @@
 
 	dialog = g_new0(PidginPrivacyDialog, 1);
 
-	dialog->win = pidgin_create_window(_("Privacy"), PIDGIN_HIG_BORDER, PIDGIN_REQUEST_HINT_PRIVACY, TRUE);
+	dialog->win = pidgin_create_window(_("Privacy"), PIDGIN_HIG_BORDER, "privacy", TRUE);
 
 	g_signal_connect(G_OBJECT(dialog->win), "delete_event",
 					 G_CALLBACK(destroy_cb), dialog);
@@ -564,7 +562,7 @@
 			_("_Permit"), G_CALLBACK(add_permit_block_cb),
 			_("Cancel"), G_CALLBACK(destroy_request_data),
 			account, name, NULL,
-			PIDGIN_REQUEST_HINT_PRIVACY, data);
+			"privacy", data);
 	}
 	else {
 		char *primary = g_strdup_printf(_("Allow %s to contact you?"), name);
@@ -576,7 +574,7 @@
 		purple_request_action_with_hint(account, _("Permit User"), primary, secondary,
 							0,
 							account, name, NULL,
-							PIDGIN_REQUEST_HINT_PRIVACY, data, 2,
+							"privacy", data, 2,
 							_("_Permit"), G_CALLBACK(confirm_permit_block_cb),
 							_("Cancel"), G_CALLBACK(destroy_request_data));
 
@@ -605,7 +603,7 @@
 			_("_Block"), G_CALLBACK(add_permit_block_cb),
 			_("Cancel"), G_CALLBACK(destroy_request_data),
 			account, name, NULL,
-			PIDGIN_REQUEST_HINT_PRIVACY, data);
+			"privacy", data);
 	}
 	else {
 		char *primary = g_strdup_printf(_("Block %s?"), name);
@@ -615,7 +613,7 @@
 		purple_request_action_with_hint(account, _("Block User"), primary, secondary,
 							0,
 							account, name, NULL,
-							PIDGIN_REQUEST_HINT_PRIVACY, data, 2,
+							"privacy", data, 2,
 							_("_Block"), G_CALLBACK(confirm_permit_block_cb),
 							_("Cancel"), G_CALLBACK(destroy_request_data));
 

mercurial