25
25
from bzrlib.plugins.gtk.notify import has_avahi, has_dbus
27
27
class NotificationsPage(gtk.VBox):
28
def __init__(self, config, homogeneous=False, spacing=6):
32
33
self.gateway_to_lan = gtk.CheckButton("_Gateway to LAN")
34
35
self.gateway_to_lan.set_sensitive(has_dbus())
36
37
self.announce_on_lan = gtk.CheckButton("_Announce on LAN")
38
39
self.announce_on_lan.set_sensitive(has_avahi())