1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

added support for disabling notifications in setup.py

This commit is contained in:
Adam Blackburn
2009-05-05 10:34:44 +08:00
parent ff3d627c55
commit 45b5c4718c
4 changed files with 18 additions and 3 deletions

View File

@@ -92,7 +92,8 @@ class configure(Command):
('no-install-acpi', None, 'do not install the suspend.d and resume.d acpi scripts'),
('no-install-pmutils', None, 'do not install the pm-utils hooks'),
('no-install-docs', None, 'do not install the auxiliary documentation'),
('no-install-ncurses', None, 'do not install the ncurses client')
('no-install-ncurses', None, 'do not install the ncurses client'),
('no-use-notifications', None, 'do not ever allow the use of libnotify notifications')
]
def initialize_options(self):
@@ -127,6 +128,7 @@ class configure(Command):
self.no_install_pmutils = False
self.no_install_docs = False
self.no_install_ncurses = False
self.no_use_notifications = False
# Determine the default init file location on several different distros