From 4cf8e8de498f01519fc020131c5b327171d9e205 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 26 Jul 2006 00:19:05 -0500 Subject: [PATCH] Disable Share button when activity is already shared --- shell/PresenceView.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/PresenceView.py b/shell/PresenceView.py index 8f5b3381..7a094f25 100644 --- a/shell/PresenceView.py +++ b/shell/PresenceView.py @@ -104,7 +104,8 @@ class PresenceView(gtk.VBox): def _share_button_clicked_cb(self, button): self._activity.share() - + self._share_button.set_sensitive(False) + def _on_buddyList_buddy_selected(self, view, *args): (model, aniter) = view.get_selection().get_selected() name = model.get(aniter, self._MODEL_COL_NICK)