aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorGediminas Paulauskas <menesis@src.gnome.org>2001-04-02 11:59:11 +0800
committerGediminas Paulauskas <menesis@src.gnome.org>2001-04-02 11:59:11 +0800
commit042704ddd3f26ef3becbe000547564127694c069 (patch)
treeda06292a7ffea58469c87ef330045163b2003d89 /shell/e-shell-view-menu.c
parent9fc545eb953a65888f3ae78703e1500d8ad9f1be (diff)
downloadgsoc2013-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/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c12
1 files changed, 12 insertions, 0 deletions
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);