Mercurial > pidgin
changeset 20604:6c6fd163a992
Restoring gntblist.c:create_menu
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sat, 22 Sep 2007 18:05:11 +0000 |
parents | 1088b02d2418 |
children | 9baac8e81b3e |
files | finch/gntblist.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntblist.c Sat Sep 22 18:02:20 2007 +0000 +++ b/finch/gntblist.c Sat Sep 22 18:05:11 2007 +0000 @@ -2290,18 +2290,19 @@ item = gnt_menuitem_new(_("By Status")); gnt_menu_add_item(GNT_MENU(subsub), item); - gnt_menuitem_set_callback(GNT_MENU_ITEM(item), sort_blist_change_cb, "log"); - - item = gnt_menuitem_new(_("Add")); - gnt_menu_add_item(GNT_MENU(sub), item); gnt_menuitem_set_callback(GNT_MENU_ITEM(item), sort_blist_change_cb, "status"); item = gnt_menuitem_new(_("Alphabetically")); gnt_menu_add_item(GNT_MENU(subsub), item); gnt_menuitem_set_callback(GNT_MENU_ITEM(item), sort_blist_change_cb, "text"); - item = gnt_menuitem_new(_("Sort by log size")); + item = gnt_menuitem_new(_("By Log Size")); + gnt_menu_add_item(GNT_MENU(subsub), item); + gnt_menuitem_set_callback(GNT_MENU_ITEM(item), sort_blist_change_cb, "log"); + + item = gnt_menuitem_new(_("Add")); gnt_menu_add_item(GNT_MENU(sub), item); + subsub = gnt_menu_new(GNT_MENU_POPUP); gnt_menuitem_set_submenu(item, GNT_MENU(subsub));