empathy r1117 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1117 - trunk/libempathy-gtk
- Date: Thu, 22 May 2008 10:05:12 +0000 (UTC)
Author: xclaesse
Date: Thu May 22 10:05:12 2008
New Revision: 1117
URL: http://svn.gnome.org/viewvc/empathy?rev=1117&view=rev
Log:
Do not add a separator on the contact menu if there is no remove feature.
Modified:
trunk/libempathy-gtk/empathy-contact-list-view.c
Modified: trunk/libempathy-gtk/empathy-contact-list-view.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-list-view.c (original)
+++ trunk/libempathy-gtk/empathy-contact-list-view.c Thu May 22 10:05:12 2008
@@ -1293,10 +1293,9 @@
menu = empathy_contact_menu_new (contact, priv->contact_features);
- if (!menu &&
- !(priv->list_features & EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE)) {
+ if (!(priv->list_features & EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE)) {
g_object_unref (contact);
- return NULL;
+ return menu;
}
if (menu) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]