[gnome-contacts] Make not yet working remove buttons insensitive
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make not yet working remove buttons insensitive
- Date: Fri, 1 Jul 2011 12:43:47 +0000 (UTC)
commit 5f595bf89b26de98e8c93b251819e6b1de423325
Author: Alexander Larsson <alexl redhat com>
Date: Fri Jul 1 08:58:22 2011 +0200
Make not yet working remove buttons insensitive
src/contacts-contact-pane.vala | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index f6c152d..c9ab15d 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -405,7 +405,8 @@ public class Contacts.ContactPane : EventBox {
foreach (var protocol in im_keys) {
foreach (var id in ims[protocol]) {
layout.add_label_detail (_("Chat"), protocol + "/" + id);
- layout.add_remove ();
+ var button = layout.add_remove ();
+ button.set_sensitive (false);
}
}
}
@@ -441,7 +442,8 @@ public class Contacts.ContactPane : EventBox {
foreach (var s in strs) {
layout.add_detail (s);
}
- layout.add_remove ();
+ var button = layout.add_remove ();
+ button.set_sensitive (false);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]