aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-user-creatable-items-handler.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2004-04-19 23:17:54 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-04-19 23:17:54 +0800
commit9b8a6860948ad7cd5d1c6a24360e4b59fc120fb2 (patch)
tree526569cf0da5f2d8ef68dc60cfc919e1c931bfea /shell/e-user-creatable-items-handler.c
parent1ace8a21329554efffa1d1185befee021cedd1a7 (diff)
downloadgsoc2013-evolution-9b8a6860948ad7cd5d1c6a24360e4b59fc120fb2.tar.gz
gsoc2013-evolution-9b8a6860948ad7cd5d1c6a24360e4b59fc120fb2.tar.zst
gsoc2013-evolution-9b8a6860948ad7cd5d1c6a24360e4b59fc120fb2.zip
Change component icons to use the icon theme names for icons Remove
2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Test.server.in.in: Change component icons to use the icon theme names for icons * Makefile.am: Remove e-icon-factory.[ch] * e-component-registry.c: Use the icon theme for component icons * e-icon-factory.[ch]: Removed these files * e-shell-importer.c: * e-shell-settings-dialog.c: * e-shell-startup-wizard.c: * e-shell-window-commands.c: * e-user-creatable-items-handler.c: * evolution-shell-component-utils.[ch]: * main.c: * glade/evolution-startup-wizard.glade: * importer/import.glade: Use the icon theme via EIconFactory for all of the icons in the shell, and the window icons svn path=/trunk/; revision=25512
Diffstat (limited to 'shell/e-user-creatable-items-handler.c')
-rw-r--r--shell/e-user-creatable-items-handler.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c
index 2de8832ecd..f1e08d36b3 100644
--- a/shell/e-user-creatable-items-handler.c
+++ b/shell/e-user-creatable-items-handler.c
@@ -25,7 +25,7 @@
#endif
#include "e-user-creatable-items-handler.h"
-
+#include <e-util/e-icon-factory.h>
#include "e-shell-utils.h"
#include "Evolution.h"
@@ -267,9 +267,7 @@ ensure_menu_items (EUserCreatableItemsHandler *handler)
if (corba_item->iconName == "") {
item->icon = NULL;
} else {
- char *icon_path = e_shell_get_icon_path (corba_item->iconName, TRUE);
- item->icon = gdk_pixbuf_new_from_file (icon_path, NULL);
- g_free (icon_path);
+ item->icon = e_icon_factory_get_icon (corba_item->iconName, 16);
}
if (corba_item->type == GNOME_Evolution_CREATABLE_OBJECT)