Browse files

Make default for uselibnotify true - it's more efficient if it's avai…

  • Loading branch information...
tipichris committed Oct 13, 2011
1 parent fa0b7ca commit 834667f61269bad62f52edabcc4bb737cbf6b85c
Showing with 13 additions and 11 deletions.
  1. +3 −3 README
  2. +1 −1 README-WINDOWS.txt
  3. +2 −2 callpoppy
  4. +7 −5 config.sample
@@ -25,9 +25,9 @@ callPopPy is a Python script. It requires Python
callPopPy uses the starPy library to interact with Asterisk. Grab that
-Other requirements will probably be present on a Linux system with a
-modernish python installed. Windows users should refer to
-README-WINDOWS.txt. They include:
+Other requirements will probably be present on a modernish Linux system.
+Windows users should refer to README-WINDOWS.txt. Other requirements
@@ -51,7 +51,7 @@ Drag and drop the '.egg' file on to this and zope should be installed.
-Grap the source from
+Grab the source from
@@ -146,7 +146,7 @@ class Popup:
# Notes on how to find stuff on MAC, by an expert (Bob Ippolito):
approot = os.environ['RESOURCEPATH']
imagepath=os.path.join(approot, 'call-start.png')
log.debug("Notifying with gtkPopupNotify (image at %s)", imagepath)
self.notifier.new_popup(title=escape(title), message=escape(message), image=imagepath)
@@ -258,7 +258,7 @@ if __name__ == '__main__':
config = ConfigParser.ConfigParser({
'port': '5038',
- 'uselibnotify': 'False',
+ 'uselibnotify': 'True',
'background': '#171717',
'foreground': '#bbbbbb',
'top': "0",
@@ -56,12 +56,14 @@ secret: topsecret
# earlier by the user. Default 6. eg
;timeout: 10
-# On Gnome based Linux distros, such as Ubuntu, you can optionally use
+# On Gnome based Linux distros, such as Ubuntu, callPopPy will use
# libnotify to provide the popups. This has tighter integration with
-# operating system, but is less flexible. If you set uselibnotify to
-# yes, the rest of the options in the Popup section (except for
-# timeout) have no effect. eg
-;uselibnotify: yes
+# operating system and uses less memory, but is less flexible.
+# To force callPopPy to use gtkPopupNotify even if libnotify is
+# available, set this to 'no'
+# Note that if libnotify is used, the rest of the settings in this section
+# have no effect.
+;uselibnotify: no
# If set to 1 the popup is aligned to the top of the screen. If set
# to 0, it is aligned to the bottom. eg

0 comments on commit 834667f

Please sign in to comment.