# HG changeset patch # User nadvornik # Date 1251238906 0 # Node ID b8491d75ea22f79c0edace2b5bffa410bb06f430 # Parent 566abe50976dab079b7b52d56918b057f208b65e use name as a tooltip of external editor if comment is missing the hotkey dialog ignores entries with empty tooltip diff -r 566abe50976d -r b8491d75ea22 src/layout_util.c --- 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)) {