]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-account-chooser.c
Center the 'smiley images' inside the menu items
[empathy.git] / libempathy-gtk / empathy-account-chooser.c
index e6f4367c9eda828ccc8a37eecfd1fb50de3ef6ae..1d6a491c075efe0b9140015b06d138ac1b74f4f1 100644 (file)
@@ -25,8 +25,7 @@
 #include "empathy-account-chooser.h"
 
 #include <glib/gi18n-lib.h>
-
-#include "empathy-ui-utils.h"
+#include <tp-account-widgets/tpaw-pixbuf-utils.h>
 
 #define DEBUG_FLAG EMPATHY_DEBUG_OTHER
 #include "empathy-debug.h"
@@ -314,6 +313,10 @@ account_chooser_constructed (GObject *object)
   GtkCellRenderer *renderer;
   GtkComboBox *combobox;
 
+  if (G_OBJECT_CLASS (empathy_account_chooser_parent_class)->constructed)
+    G_OBJECT_CLASS
+      (empathy_account_chooser_parent_class)->constructed (object);
+
   /* Set up combo box with new store */
   combobox = GTK_COMBO_BOX (self);
 
@@ -840,7 +843,7 @@ account_chooser_filter_ready_cb (gboolean is_enabled,
   store = GTK_LIST_STORE (gtk_combo_box_get_model (combobox));
 
   icon_name = tp_account_get_icon_name (account);
-  pixbuf = empathy_pixbuf_from_icon_name (icon_name,
+  pixbuf = tpaw_pixbuf_from_icon_name (icon_name,
     GTK_ICON_SIZE_BUTTON);
 
   gtk_list_store_set (store, iter,