im.pidgin.pidgin.next.minor: 0bca057095e209f4b41abe027de4864301ead50e
nix at go-nix.ca
nix at go-nix.ca
Sun Oct 14 15:56:00 EDT 2007
-----------------------------------------------------------------
Revision: 0bca057095e209f4b41abe027de4864301ead50e
Ancestor: 4b2b98ecc70947f687d13c902b1b031247b49392
Author: nix at go-nix.ca
Date: 2007-10-14T18:43:32
Branch: im.pidgin.pidgin.next.minor
Modified files:
pidgin/gtkprivacy.c
ChangeLog:
#define-ing PIDGIN_REQUEST_HINT_PRIVACY "privacy" inside gtkprivacy.c, because it is used 4 times, and once for gtk_window_set_role()
-------------- next part --------------
============================================================
--- pidgin/gtkprivacy.c 94072c9343e1a5a13b41e7af3bd2a33f3bbd1edf
+++ pidgin/gtkprivacy.c 5ff3627b3ffe251403c8cb8c045df968fad38db4
@@ -88,6 +88,8 @@ static PidginPrivacyDialog *privacy_dial
static PidginPrivacyDialog *privacy_dialog = NULL;
+#define PIDGIN_REQUEST_HINT_PRIVACY "privacy"
+
static void
rebuild_allow_list(PidginPrivacyDialog *dialog)
{
@@ -367,7 +369,7 @@ privacy_dialog_new(void)
dialog = g_new0(PidginPrivacyDialog, 1);
- dialog->win = pidgin_create_window(_("Privacy"), PIDGIN_HIG_BORDER, "privacy", TRUE);
+ dialog->win = pidgin_create_window(_("Privacy"), PIDGIN_HIG_BORDER, PIDGIN_REQUEST_HINT_PRIVACY, TRUE);
g_signal_connect(G_OBJECT(dialog->win), "delete_event",
G_CALLBACK(destroy_cb), dialog);
@@ -562,7 +564,7 @@ pidgin_request_add_permit(PurpleAccount
_("_Permit"), G_CALLBACK(add_permit_block_cb),
_("Cancel"), G_CALLBACK(destroy_request_data),
account, name, NULL,
- "privacy", data);
+ PIDGIN_REQUEST_HINT_PRIVACY, data);
}
else {
char *primary = g_strdup_printf(_("Allow %s to contact you?"), name);
@@ -574,7 +576,7 @@ pidgin_request_add_permit(PurpleAccount
purple_request_action_with_hint(account, _("Permit User"), primary, secondary,
0,
account, name, NULL,
- "privacy", data, 2,
+ PIDGIN_REQUEST_HINT_PRIVACY, data, 2,
_("_Permit"), G_CALLBACK(confirm_permit_block_cb),
_("Cancel"), G_CALLBACK(destroy_request_data));
@@ -603,7 +605,7 @@ pidgin_request_add_block(PurpleAccount *
_("_Block"), G_CALLBACK(add_permit_block_cb),
_("Cancel"), G_CALLBACK(destroy_request_data),
account, name, NULL,
- "privacy", data);
+ PIDGIN_REQUEST_HINT_PRIVACY, data);
}
else {
char *primary = g_strdup_printf(_("Block %s?"), name);
@@ -613,7 +615,7 @@ pidgin_request_add_block(PurpleAccount *
purple_request_action_with_hint(account, _("Block User"), primary, secondary,
0,
account, name, NULL,
- "privacy", data, 2,
+ PIDGIN_REQUEST_HINT_PRIVACY, data, 2,
_("_Block"), G_CALLBACK(confirm_permit_block_cb),
_("Cancel"), G_CALLBACK(destroy_request_data));
More information about the Commits
mailing list