Disable Share button when activity is already shared

This commit is contained in:
Dan Williams 2006-07-26 00:19:05 -05:00
parent cf35d9f374
commit 4cf8e8de49

View File

@ -104,6 +104,7 @@ class PresenceView(gtk.VBox):
def _share_button_clicked_cb(self, button): def _share_button_clicked_cb(self, button):
self._activity.share() self._activity.share()
self._share_button.set_sensitive(False)
def _on_buddyList_buddy_selected(self, view, *args): def _on_buddyList_buddy_selected(self, view, *args):
(model, aniter) = view.get_selection().get_selected() (model, aniter) = view.get_selection().get_selected()