aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-shell-component-utils.c')
-rw-r--r--shell/evolution-shell-component-utils.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/shell/evolution-shell-component-utils.c b/shell/evolution-shell-component-utils.c
index 5e3504352f..e056fc54b3 100644
--- a/shell/evolution-shell-component-utils.c
+++ b/shell/evolution-shell-component-utils.c
@@ -60,13 +60,18 @@ void e_pixmaps_update (BonoboUIComponent *uic, EPixmap *pixcache)
} else {
pixcache [i].pixbuf = bonobo_ui_util_pixbuf_to_xml (pixbuf);
gdk_pixbuf_unref (pixbuf);
+ bonobo_ui_component_set_prop (uic,
+ pixcache [i].path, "pixname",
+ pixcache [i].pixbuf, NULL);
}
g_free (path);
+ } else {
+ bonobo_ui_component_set_prop (uic, pixcache [i].path,
+ "pixname",
+ pixcache [i].pixbuf,
+ NULL);
}
- bonobo_ui_component_set_prop (uic, pixcache [i].path,
- "pixname", pixcache [i].pixbuf,
- NULL);
}
}