Mercurial > pidgin.yaz
changeset 15763:d318c6672011
Use a checkbox for 'toggle offline buddies' menuitem in the buddylist.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 03 Mar 2007 04:06:19 +0000 |
parents | e0027ebd2300 |
children | 0869f00ca178 f1e4121dcb1e 2d739b7a14ac |
files | console/gntblist.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntblist.c Fri Mar 02 06:57:53 2007 +0000 +++ b/console/gntblist.c Sat Mar 03 04:06:19 2007 +0000 @@ -2073,7 +2073,9 @@ gnt_menu_add_item(GNT_MENU(sub), item); gnt_menuitem_set_callback(GNT_MENUITEM(item), send_im_select, NULL); - item = gnt_menuitem_new(_("Toggle offline buddies")); + item = gnt_menuitem_check_new(_("Toggle offline buddies")); + gnt_menuitem_check_set_checked(GNT_MENUITEM_CHECK(item), + gaim_prefs_get_bool(PREF_ROOT "/showoffline")); gnt_menu_add_item(GNT_MENU(sub), item); gnt_menuitem_set_callback(GNT_MENUITEM(item), show_offline_cb, NULL);