[empathy] Hide state image in contact widget until the presense state is notified. (#603545)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Hide state image in contact widget until the presense state is notified. (#603545)
- Date: Wed, 2 Dec 2009 11:14:03 +0000 (UTC)
commit 623c7ba6130a483a2581dadce6f674755cdf44d3
Author: Brian Pepple <bpepple fedoraproject org>
Date: Tue Dec 1 19:20:05 2009 -0500
Hide state image in contact widget until the presense state is notified. (#603545)
libempathy-gtk/empathy-contact-widget.c | 1 +
libempathy-gtk/empathy-contact-widget.ui | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 5852b8f..134f67f 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -903,6 +903,7 @@ contact_widget_presence_notify_cb (EmpathyContactWidget *information)
gtk_image_set_from_icon_name (GTK_IMAGE (information->image_state),
empathy_icon_name_for_contact (information->contact),
GTK_ICON_SIZE_BUTTON);
+ gtk_widget_show (information->image_state);
}
static void
diff --git a/libempathy-gtk/empathy-contact-widget.ui b/libempathy-gtk/empathy-contact-widget.ui
index d912430..b051e82 100644
--- a/libempathy-gtk/empathy-contact-widget.ui
+++ b/libempathy-gtk/empathy-contact-widget.ui
@@ -102,7 +102,6 @@
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="image_state">
- <property name="visible">True</property>
<property name="stock">gtk-missing-image</property>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]