[ekiga] Fixed the presence view widget so chats look better



commit 10527961b703a5e9a3fe62ae8d1f0c1a9e1855e4
Author: Julien Puydt <jpuydt free fr>
Date:   Fri Jan 3 19:57:35 2014 +0100

    Fixed the presence view widget so chats look better

 lib/engine/gui/gtk-frontend/presentity-view.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/presentity-view.cpp b/lib/engine/gui/gtk-frontend/presentity-view.cpp
index 3c7cb7d..921882a 100644
--- a/lib/engine/gui/gtk-frontend/presentity-view.cpp
+++ b/lib/engine/gui/gtk-frontend/presentity-view.cpp
@@ -74,9 +74,9 @@ on_presentity_updated (PresentityView* self)
 {
   gchar *txt = NULL;
 
-  gtk_image_set_from_stock (GTK_IMAGE (self->priv->presence_image),
-                           self->priv->presentity->get_presence ().c_str (),
-                           GTK_ICON_SIZE_MENU);
+  gtk_image_set_from_icon_name (GTK_IMAGE (self->priv->presence_image),
+                               ("user-" + self->priv->presentity->get_presence ()).c_str (),
+                               GTK_ICON_SIZE_MENU);
   if (!self->priv->presentity->get_status ().empty ())
     txt = g_markup_printf_escaped ("<span weight=\"bold\">%s</span>\n<span size=\"small\">%s</span>",
                                    self->priv->presentity->get_name ().c_str (),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]