aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.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-component-registry.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-component-registry.c')
-rw-r--r--shell/e-component-registry.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index 40568485b1..855ec1c350 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -27,7 +27,7 @@
#include "e-component-registry.h"
#include "e-shell-utils.h"
-
+#include <e-util/e-icon-factory.h>
#include "e-util/e-lang-utils.h"
#include <libgnome/gnome-i18n.h>
@@ -173,8 +173,7 @@ query_components (EComponentRegistry *registry)
if (icon_name == NULL) {
icon = NULL;
} else {
- char *full_path = e_shell_get_icon_path (icon_name, TRUE);
- icon = gdk_pixbuf_new_from_file (full_path, NULL);
+ icon = e_icon_factory_get_icon (icon_name, 24);
}
sort_order_string = bonobo_server_info_prop_lookup (& info_list->_buffer[i],