aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-19 11:50:52 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-19 11:50:52 +0800
commite4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6 (patch)
tree232bd7b2597f15959d8a2f0afcbf527e8d9f4107 /shell/e-component-registry.h
parentc0a0310607f8e6de8422e53fbcd6c28a85f2e27f (diff)
downloadgsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.tar
gsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.tar.gz
gsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.tar.bz2
gsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.tar.lz
gsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.tar.xz
gsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.tar.zst
gsoc2013-evolution-e4b42c5e6cfdc6fd2f9245fa61fd4e1f7b2038f6.zip
use the menu icon not the button icon for the menus. (setup_widgets):
2004-05-19 Not Zed <NotZed@Ximian.com> * e-shell-window.c (setup_widgets): use the menu icon not the button icon for the menus. (setup_widgets): fixed some i18n stuff with the menu xml. no use putting _x stuff here, it also needs a source. And a memleak. Yucko. * e-component-registry.c (component_info_new): take menu icon. (query_components): setup the menu icon, not a large toolbar sized icon. * e-shell-window.c (menu_component_selected): just use '-' as ascii, its always going to be hte same in utf8. simplifies the code somewhat. 2004-05-05 William Jon McCann <mccann@jhu.edu> * e-shell-window.c (menu_component_selected, setup_widgets): Add components to View menu. * e-component-registry.[ch] (component_info_new) (component_info_free, query_components): Add menu_label and menu_accelerator fields. svn path=/trunk/; revision=25972
Diffstat (limited to 'shell/e-component-registry.h')
-rw-r--r--shell/e-component-registry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h
index 76fbc778de..470fee289d 100644
--- a/shell/e-component-registry.h
+++ b/shell/e-component-registry.h
@@ -68,6 +68,9 @@ struct _EComponentInfo {
char *button_label;
GdkPixbuf *button_icon;
+ char *menu_label;
+ char *menu_accelerator;
+ GdkPixbuf *menu_icon;
int sort_order;