aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/gossip-profile-chooser.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2007-05-08 03:48:22 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-05-08 03:48:22 +0800
commitc7010d43264dafca66ff65540c5d6666f1c66e2a (patch)
treeb9913e0042b112a9e97eeb7b00521459a568b58c /libempathy-gtk/gossip-profile-chooser.c
parent6e542b100fd2efcfb7b8a3b58bf173fed1e3e494 (diff)
downloadgsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar
gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.gz
gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.bz2
gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.lz
gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.xz
gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.tar.zst
gsoc2013-empathy-c7010d43264dafca66ff65540c5d6666f1c66e2a.zip
[darcs-to-svn @ Use icon-name API instead of stock icons and update tango icons]
svn path=/trunk/; revision=32
Diffstat (limited to 'libempathy-gtk/gossip-profile-chooser.c')
-rw-r--r--libempathy-gtk/gossip-profile-chooser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/gossip-profile-chooser.c b/libempathy-gtk/gossip-profile-chooser.c
index 7accbefe4..96c072c9e 100644
--- a/libempathy-gtk/gossip-profile-chooser.c
+++ b/libempathy-gtk/gossip-profile-chooser.c
@@ -64,16 +64,16 @@ gossip_profile_chooser_new (void)
/* set up combo box with new store */
store = gtk_list_store_new (COL_COUNT,
- GDK_TYPE_PIXBUF, /* Icon */
- G_TYPE_STRING, /* Label */
- MC_TYPE_PROFILE); /* Profile */
+ G_TYPE_STRING, /* Icon name */
+ G_TYPE_STRING, /* Label */
+ MC_TYPE_PROFILE); /* Profile */
combo_box = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store));
renderer = gtk_cell_renderer_pixbuf_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, FALSE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer,
- "pixbuf", COL_ICON,
+ "icon-name", COL_ICON,
NULL);
renderer = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, TRUE);
@@ -89,7 +89,7 @@ gossip_profile_chooser_new (void)
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
- COL_ICON, gossip_pixbuf_from_profile (profile, GTK_ICON_SIZE_BUTTON),
+ COL_ICON, mc_profile_get_icon_name (profile),
COL_LABEL, mc_profile_get_display_name (profile),
COL_PROFILE, profile,
-1);