Make share button insensitive for the everyone tab
This commit is contained in:
parent
db0aad8333
commit
1eaa5eca65
@ -50,6 +50,8 @@ class PresenceWindow(gtk.Window):
|
||||
else:
|
||||
self._share_button.set_sensitive(True)
|
||||
self._activity.connect('shared', lambda w: self._share_button.set_sensitive(False))
|
||||
else:
|
||||
self._share_button.set_sensitive(False)
|
||||
|
||||
def _setup_ui(self):
|
||||
vbox = gtk.VBox(False, 6)
|
||||
|
Loading…
Reference in New Issue
Block a user