summaryrefslogtreecommitdiff
path: root/pidgin/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'pidgin/plugins')
-rw-r--r--pidgin/plugins/notify.c6
-rw-r--r--pidgin/plugins/perl/common/gtkmodule.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/pidgin/plugins/notify.c b/pidgin/plugins/notify.c
index 7ad0b7d211..3924556758 100644
--- a/pidgin/plugins/notify.c
+++ b/pidgin/plugins/notify.c
@@ -557,9 +557,7 @@ handle_count_xprop(PidginWindow *purplewin)
static void
handle_urgent(PidginWindow *win, gboolean set)
{
-#ifndef _WIN32
pidgin_set_urgent(GTK_WINDOW(win->window), set);
-#endif
}
static void
@@ -767,12 +765,14 @@ get_config_frame(PurplePlugin *plugin)
/* Urgent method button */
toggle = gtk_check_button_new_with_mnemonic(_("Set window manager \"_URGENT\" hint"));
+#else
+ toggle = gtk_check_button_new_with_mnemonic(_("_Flash window"));
+#endif
gtk_box_pack_start(GTK_BOX(vbox), toggle, FALSE, FALSE, 0);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle),
purple_prefs_get_bool("/plugins/gtk/X11/notify/method_urgent"));
g_signal_connect(G_OBJECT(toggle), "toggled",
G_CALLBACK(method_toggle_cb), "method_urgent");
-#endif
/* Raise window method button */
toggle = gtk_check_button_new_with_mnemonic(_("R_aise conversation window"));
diff --git a/pidgin/plugins/perl/common/gtkmodule.h b/pidgin/plugins/perl/common/gtkmodule.h
index 5b566babae..7151f077fb 100644
--- a/pidgin/plugins/perl/common/gtkmodule.h
+++ b/pidgin/plugins/perl/common/gtkmodule.h
@@ -1,3 +1,7 @@
+/* Allow the Perl code to see deprecated functions, so we can continue to
+ * export them to Perl plugins. */
+#undef PIDGIN_DISABLE_DEPRECATED
+
typedef struct group *Pidgin__Group;
#define group perl_group