aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-20 23:10:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-20 23:10:20 +0800
commitda99affb434f4bd1b61287ad812c3a5cfb297772 (patch)
tree14b3e17923ea5c6a972a7e905ec365c13b65e17b /src
parentbb43456be55d117ea23c65f3488c49a128dbcb62 (diff)
downloadgsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.gz
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.bz2
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.lz
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.xz
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.tar.zst
gsoc2013-empathy-da99affb434f4bd1b61287ad812c3a5cfb297772.zip
use avatar-default instead of the deprecated stock_person icon
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c5
-rw-r--r--src/empathy-call-window.ui2
-rw-r--r--src/empathy-event-manager.c4
3 files changed, 6 insertions, 5 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 1f23be3b9..598f483ab 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -46,6 +46,7 @@
#include <libempathy-gtk/empathy-ui-utils.h>
#include <libempathy-gtk/empathy-sound.h>
#include <libempathy-gtk/empathy-geometry.h>
+#include <libempathy-gtk/empathy-images.h>
#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
#include <libempathy/empathy-debug.h>
@@ -1206,8 +1207,8 @@ init_contact_avatar_with_size (EmpathyContact *contact,
if (pixbuf_avatar == NULL)
{
- pixbuf_avatar = empathy_pixbuf_from_icon_name_sized ("stock_person",
- size);
+ pixbuf_avatar = empathy_pixbuf_from_icon_name_sized (
+ EMPATHY_IMAGE_AVATAR_DEFAULT, size);
}
gtk_image_set_from_pixbuf (GTK_IMAGE (image_widget), pixbuf_avatar);
diff --git a/src/empathy-call-window.ui b/src/empathy-call-window.ui
index 8837b7896..0c0156d46 100644
--- a/src/empathy-call-window.ui
+++ b/src/empathy-call-window.ui
@@ -177,7 +177,7 @@
<object class="GtkToggleToolButton" id="camera_preview">
<property name="visible">True</property>
<property name="label" translatable="yes">Preview</property>
- <property name="icon_name">stock_person</property>
+ <property name="icon_name">avatar-default</property>
<property name="sensitive">True</property>
<property name="tooltip_text" translatable="yes">Enable camera but don't send video</property>
</object>
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 841883d06..a7283594f 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -882,7 +882,7 @@ event_manager_presence_changed_cb (EmpathyContactMonitor *monitor,
empathy_contact_get_name (contact));
event_manager_add (manager, contact, EMPATHY_EVENT_TYPE_PRESENCE,
- "stock_person", header, NULL, NULL, NULL, NULL);
+ EMPATHY_IMAGE_AVATAR_DEFAULT, header, NULL, NULL, NULL, NULL);
}
}
else
@@ -898,7 +898,7 @@ event_manager_presence_changed_cb (EmpathyContactMonitor *monitor,
empathy_contact_get_name (contact));
event_manager_add (manager, contact, EMPATHY_EVENT_TYPE_PRESENCE,
- "stock_person", header, NULL, NULL, NULL, NULL);
+ EMPATHY_IMAGE_AVATAR_DEFAULT, header, NULL, NULL, NULL, NULL);
}
}
g_free (header);