comparison src/gtkprefs.c @ 12656:60cce1861e59

[gaim-migrate @ 14999] Add a Buddies --> Show Idle Times menu option to the blist committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 Dec 2005 18:16:29 +0000
parents eee2042ad4f4
children 4da7062a06c2
comparison
equal deleted inserted replaced
12655:2ef70289676c 12656:60cce1861e59
1710 gtk_size_group_add_widget(sg, label); 1710 gtk_size_group_add_widget(sg, label);
1711 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); 1711 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
1712 g_signal_connect(G_OBJECT(button), "clicked", 1712 g_signal_connect(G_OBJECT(button), "clicked",
1713 G_CALLBACK(gaim_gtk_toggle_sensitive), label); 1713 G_CALLBACK(gaim_gtk_toggle_sensitive), label);
1714 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); 1714 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
1715
1716 /* TODO: Show something useful if we don't have any saved statuses. */
1715 menu = gaim_gtk_status_menu(gaim_savedstatus_get_idleaway(), G_CALLBACK(set_idle_away)); 1717 menu = gaim_gtk_status_menu(gaim_savedstatus_get_idleaway(), G_CALLBACK(set_idle_away));
1716 gtk_box_pack_start(GTK_BOX(hbox), menu, FALSE, FALSE, 0); 1718 gtk_box_pack_start(GTK_BOX(hbox), menu, FALSE, FALSE, 0);
1717 g_signal_connect(G_OBJECT(button), "clicked", 1719 g_signal_connect(G_OBJECT(button), "clicked",
1718 G_CALLBACK(gaim_gtk_toggle_sensitive), menu); 1720 G_CALLBACK(gaim_gtk_toggle_sensitive), menu);
1719 gtk_label_set_mnemonic_widget(GTK_LABEL(label), menu); 1721 gtk_label_set_mnemonic_widget(GTK_LABEL(label), menu);
1921 gaim_prefs_remove("/gaim/gtk/blist/auto_expand_contacts"); 1923 gaim_prefs_remove("/gaim/gtk/blist/auto_expand_contacts");
1922 gaim_prefs_remove("/gaim/gtk/blist/button_style"); 1924 gaim_prefs_remove("/gaim/gtk/blist/button_style");
1923 gaim_prefs_remove("/gaim/gtk/blist/grey_idle_buddies"); 1925 gaim_prefs_remove("/gaim/gtk/blist/grey_idle_buddies");
1924 gaim_prefs_remove("/gaim/gtk/blist/raise_on_events"); 1926 gaim_prefs_remove("/gaim/gtk/blist/raise_on_events");
1925 gaim_prefs_remove("/gaim/gtk/blist/show_group_count"); 1927 gaim_prefs_remove("/gaim/gtk/blist/show_group_count");
1926 gaim_prefs_remove("/gaim/gtk/blist/show_idle_time");
1927 gaim_prefs_remove("/gaim/gtk/blist/show_warning_level"); 1928 gaim_prefs_remove("/gaim/gtk/blist/show_warning_level");
1928 gaim_prefs_remove("/gaim/gtk/conversations/button_type"); 1929 gaim_prefs_remove("/gaim/gtk/conversations/button_type");
1929 gaim_prefs_remove("/gaim/gtk/conversations/ctrl_enter_sends"); 1930 gaim_prefs_remove("/gaim/gtk/conversations/ctrl_enter_sends");
1930 gaim_prefs_remove("/gaim/gtk/conversations/enter_sends"); 1931 gaim_prefs_remove("/gaim/gtk/conversations/enter_sends");
1931 gaim_prefs_remove("/gaim/gtk/conversations/escape_closes"); 1932 gaim_prefs_remove("/gaim/gtk/conversations/escape_closes");