Mercurial > geeqie
changeset 1779:f64e346a3d9c
Move "Add Keyword" menu item at top of Keywords bar contextual menu.
Suggested by Lars T¸«£uber.
author | zas_ |
---|---|
date | Thu, 10 Dec 2009 17:48:43 +0000 |
parents | e82401bf20c8 |
children | 763c254bc57a |
files | src/bar_keywords.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_keywords.c Thu Dec 10 17:44:31 2009 +0000 +++ b/src/bar_keywords.c Thu Dec 10 17:48:43 2009 +0000 @@ -1098,6 +1098,10 @@ menu = popup_menu_short_lived(); + menu_item_add_stock(menu, _("Add keyword"), GTK_STOCK_EDIT, G_CALLBACK(bar_pane_keywords_add_dialog_cb), pkd); + + menu_item_add_divider(menu); + if (pkd->click_tpath) { /* for the entry */ @@ -1168,10 +1172,6 @@ menu_item_add_check(submenu, _("Collapse unchecked"), pkd->collapse_unchecked, G_CALLBACK(bar_pane_keywords_collapse_unchecked_toggle_cb), pkd); menu_item_add_check(submenu, _("Hide unchecked"), pkd->hide_unchecked, G_CALLBACK(bar_pane_keywords_hide_unchecked_toggle_cb), pkd); - menu_item_add_divider(menu); - - menu_item_add_stock(menu, _("Add keyword"), GTK_STOCK_EDIT, G_CALLBACK(bar_pane_keywords_add_dialog_cb), pkd); - gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 0, GDK_CURRENT_TIME); }