Mercurial > geeqie.yaz
changeset 1705:b8491d75ea22
use name as a tooltip of external editor if comment is missing
the hotkey dialog ignores entries with empty tooltip
author | nadvornik |
---|---|
date | Tue, 25 Aug 2009 22:21:46 +0000 |
parents | 566abe50976d |
children | 60f138e3ff81 |
files | src/layout_util.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_util.c Sun Aug 23 14:10:56 2009 +0000 +++ b/src/layout_util.c Tue Aug 25 22:21:46 2009 +0000 @@ -1644,7 +1644,12 @@ { GList *path; EditorDescription *editor = work->data; - GtkActionEntry entry = { editor->key, NULL, editor->name, editor->hotkey, editor->comment, G_CALLBACK(layout_menu_edit_cb) }; + GtkActionEntry entry = { editor->key, + NULL, + editor->name, + editor->hotkey, + editor->comment ? editor->comment : editor->name, + G_CALLBACK(layout_menu_edit_cb) }; if (editor->icon && register_theme_icon_as_stock(editor->key, editor->icon)) {