g_free(editor->exec);
g_free(editor->menu_path);
g_free(editor->hotkey);
+ g_free(editor->comment);
string_list_free(editor->ext_list);
g_free(editor->file);
g_free(editor);
editor->hotkey = g_key_file_get_string(key_file, DESKTOP_GROUP, "X-Geeqie-Hotkey", NULL);
+ editor->comment = g_key_file_get_string(key_file, DESKTOP_GROUP, "Comment", NULL);
+
extensions = g_key_file_get_string(key_file, DESKTOP_GROUP, "X-Geeqie-File-Extensions", NULL);
if (extensions)
editor->ext_list = filter_to_list(extensions);
{
GList *path;
EditorDescription *editor = work->data;
- GtkActionEntry entry = { editor->key, NULL, editor->name, editor->hotkey, NULL, G_CALLBACK(layout_menu_edit_cb) };
+ GtkActionEntry entry = { editor->key, NULL, editor->name, editor->hotkey, editor->comment, G_CALLBACK(layout_menu_edit_cb) };
if (editor->icon && register_theme_icon_as_stock(editor->key, editor->icon))
{