# HG changeset patch # User Daniel Atallah # Date 1222910993 0 # Node ID 6593855e1ed9260b7967b509fa21b25c4cb31d83 # Parent a61c017d3a99f470068ba46e03e2544f4505e84a Allow the message notification plugin to flash windows on win32. diff -r a61c017d3a99 -r 6593855e1ed9 pidgin/plugins/notify.c --- a/pidgin/plugins/notify.c Thu Oct 02 01:28:52 2008 +0000 +++ b/pidgin/plugins/notify.c Thu Oct 02 01:29:53 2008 +0000 @@ -557,9 +557,7 @@ static void handle_urgent(PidginWindow *win, gboolean set) { -#ifndef _WIN32 pidgin_set_urgent(GTK_WINDOW(win->window), set); -#endif } static void @@ -767,12 +765,15 @@ /* Urgent method button */ toggle = gtk_check_button_new_with_mnemonic(_("Set window manager \"_URGENT\" hint")); +#else + /* TODO: When we're not string frozen, mark for translation */ + 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"));