diff options
author | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-02 11:59:11 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-02 11:59:11 +0800 |
commit | 042704ddd3f26ef3becbe000547564127694c069 (patch) | |
tree | da06292a7ffea58469c87ef330045163b2003d89 /shell | |
parent | 9fc545eb953a65888f3ae78703e1500d8ad9f1be (diff) | |
download | gsoc2013-evolution-042704ddd3f26ef3becbe000547564127694c069.tar.gz gsoc2013-evolution-042704ddd3f26ef3becbe000547564127694c069.tar.zst gsoc2013-evolution-042704ddd3f26ef3becbe000547564127694c069.zip |
Blessed by Ettore.
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.
Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.
Accidentally got a couple of includes fix in, but they won't break anything.
svn path=/trunk/; revision=9092
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-view-menu.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 1927a6b4d7..0b5c3836e1 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -2,6 +2,11 @@ * evolution-storage-set-view.c: Include <gal/util/e-util.h> here. +2001-04-01 Gediminas Paulauskas <menesis@delfi.lt> + + * e-shell-view-menu.c: set up menu icons for new folder, import and work + offline. + 2001-03-30 Iain Holmes <iain@ximian.com> * importer/importer.c (start_import): If the importer can't be started, then diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index f3fd95f6be..a84a913051 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -47,6 +47,8 @@ #include "e-shell-view-menu.h" #include "importer/importer.h" +#include "e-util/e-gui-utils.h" + const char *authors[] = { "Seth Alves", @@ -479,6 +481,14 @@ BonoboUIVerb help_verbs [] = { BONOBO_UI_VERB_END }; +static EPixmap pixmaps [] = { + E_PIXMAP ("/menu/File/New/Folder", "folder.xpm"), + E_PIXMAP ("/menu/File/Folder/Folder", "folder.xpm"), + E_PIXMAP ("/menu/File/FileImporter", "import.xpm"), + E_PIXMAP ("/menu/File/WorkOffLine", "work_offline.xpm"), + E_PIXMAP_END +}; + static void menu_do_misc (BonoboUIComponent *component, EShellView *shell_view) @@ -525,6 +535,8 @@ e_shell_view_menu_setup (EShellView *shell_view) menu_do_misc (uic, shell_view); + e_pixmaps_update (uic, pixmaps); + gtk_signal_connect (GTK_OBJECT (shell_view), "shortcut_bar_mode_changed", GTK_SIGNAL_FUNC (shortcut_bar_mode_changed_cb), SHORTCUT_BAR_TOGGLE_PATH); |