Lars Täuber a écrit :
Sorry you misunderstood me. I meant the menu entry of the menu appearing when 
right mouse button is pressed inside the keywords window. The last entry is 
»Add keyword«. I liked this to be on top of the menu.
Or I'd like to add a shortcut for this action.

Oh :)

Yes, it would make more sense to have this option at top, try attached patch.

--
Zas

Index: bar_keywords.c
===================================================================
--- bar_keywords.c	(révision 1877)
+++ bar_keywords.c	(copie de travail)
@@ -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);
 }
 
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to