comparison src/layout_util.c @ 1468:e9f9d3da3f43

added tooltips to external editors on toolbar - patch by Colin Clark
author nadvornik
date Fri, 20 Mar 2009 17:02:00 +0000
parents 1b3751ac4743
children 607c60506863
comparison
equal deleted inserted replaced
1467:2b95dbb20a87 1468:e9f9d3da3f43
1682 work = editors_list; 1682 work = editors_list;
1683 while (work) 1683 while (work)
1684 { 1684 {
1685 GList *path; 1685 GList *path;
1686 EditorDescription *editor = work->data; 1686 EditorDescription *editor = work->data;
1687 GtkActionEntry entry = { editor->key, NULL, editor->name, editor->hotkey, NULL, G_CALLBACK(layout_menu_edit_cb) }; 1687 GtkActionEntry entry = { editor->key, NULL, editor->name, editor->hotkey, editor->comment, G_CALLBACK(layout_menu_edit_cb) };
1688 1688
1689 if (editor->icon && register_theme_icon_as_stock(editor->key, editor->icon)) 1689 if (editor->icon && register_theme_icon_as_stock(editor->key, editor->icon))
1690 { 1690 {
1691 entry.stock_id = editor->key; 1691 entry.stock_id = editor->key;
1692 } 1692 }