Disable Share button when activity is already shared
This commit is contained in:
parent
cf35d9f374
commit
4cf8e8de49
@ -104,7 +104,8 @@ 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()
|
||||||
name = model.get(aniter, self._MODEL_COL_NICK)
|
name = model.get(aniter, self._MODEL_COL_NICK)
|
||||||
|
Loading…
Reference in New Issue
Block a user