Make share button insensitive for the everyone tab

This commit is contained in:
Marco Pesenti Gritti 2006-06-23 12:23:44 -04:00
parent db0aad8333
commit 1eaa5eca65

View File

@ -50,6 +50,8 @@ class PresenceWindow(gtk.Window):
else: else:
self._share_button.set_sensitive(True) self._share_button.set_sensitive(True)
self._activity.connect('shared', lambda w: self._share_button.set_sensitive(False)) self._activity.connect('shared', lambda w: self._share_button.set_sensitive(False))
else:
self._share_button.set_sensitive(False)
def _setup_ui(self): def _setup_ui(self):
vbox = gtk.VBox(False, 6) vbox = gtk.VBox(False, 6)