comparison plugins/notify.c @ 7486:b4285106f396

[gaim-migrate @ 8099] <deryni> oh KingAnt, around line 620 the "focus-out-event" signal connect, s/NULL/"method_string"/ should fix the notify-string-doesn't-save-on-change bug And it was good. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 12 Nov 2003 05:44:03 +0000
parents bf630f7dfdcd
children d7b8eb1f0a18
comparison
equal deleted inserted replaced
7485:8126e7a422b0 7486:b4285106f396
616 gaim_prefs_get_string("/plugins/gtk/X11/notify/title_string")); 616 gaim_prefs_get_string("/plugins/gtk/X11/notify/title_string"));
617 g_object_set_data(G_OBJECT(toggle), "title-entry", entry); 617 g_object_set_data(G_OBJECT(toggle), "title-entry", entry);
618 g_signal_connect(G_OBJECT(toggle), "toggled", 618 g_signal_connect(G_OBJECT(toggle), "toggled",
619 G_CALLBACK(method_toggle_cb), "method_string"); 619 G_CALLBACK(method_toggle_cb), "method_string");
620 g_signal_connect(G_OBJECT(entry), "focus-out-event", 620 g_signal_connect(G_OBJECT(entry), "focus-out-event",
621 G_CALLBACK(options_entry_cb), NULL); 621 G_CALLBACK(options_entry_cb), "method_string");
622 622
623 /* Count method button */ 623 /* Count method button */
624 toggle = gtk_check_button_new_with_mnemonic(_("Insert c_ount of new messages into window title")); 624 toggle = gtk_check_button_new_with_mnemonic(_("Insert c_ount of new messages into window title"));
625 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle), 625 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toggle),
626 gaim_prefs_get_bool("/plugins/gtk/X11/notify/method_count")); 626 gaim_prefs_get_bool("/plugins/gtk/X11/notify/method_count"));