projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e4c46
)
Load icons from theme
author
Sergio Villar Senín
<svillar@igalia.com>
Tue, 1 Dec 2009 11:22:35 +0000
(12:22 +0100)
committer
Sergio Villar Senín
<svillar@igalia.com>
Tue, 1 Dec 2009 11:22:35 +0000
(12:22 +0100)
src/gtk/modest-platform.c
patch
|
blob
|
history
diff --git
a/src/gtk/modest-platform.c
b/src/gtk/modest-platform.c
index
89c974c
..
61b91cc
100644
(file)
--- a/
src/gtk/modest-platform.c
+++ b/
src/gtk/modest-platform.c
@@
-212,9
+212,11
@@
modest_platform_show_uri_popup (const gchar *uri)
GdkPixbuf*
modest_platform_get_icon (const gchar *name, guint icon_size)
{
- g_warning ("Not implemented %s", __FUNCTION__);
-
- return NULL;
+ return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
+ name,
+ icon_size,
+ 0,
+ NULL);
}
const gchar*