basic app with no code for dbus callback
This commit is contained in:
parent
28296f114a
commit
818ce4a897
@ -1,4 +1,4 @@
|
|||||||
#!/opt/pywmdockapps/venv/bin/python3
|
#!./venv/bin/python3
|
||||||
|
|
||||||
"""pywmnop.py
|
"""pywmnop.py
|
||||||
WindowMaker dockapp pidgin messages
|
WindowMaker dockapp pidgin messages
|
||||||
@ -6,9 +6,6 @@ Copyright (C) 2006 Mario Frasca
|
|||||||
Licensed under the GNU General Public License.
|
Licensed under the GNU General Public License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# from dbus.mainloop import DBusGMainLoop
|
|
||||||
#DBusGMainLoop(set_as_default=True)
|
|
||||||
#import dbus.decorators
|
|
||||||
from wmdocklib import wmoo as wmoo
|
from wmdocklib import wmoo as wmoo
|
||||||
|
|
||||||
line_height = 9
|
line_height = 9
|
||||||
@ -19,7 +16,7 @@ class Application(wmoo.Application):
|
|||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
wmoo.Application.__init__(self, *args, **kwargs)
|
wmoo.Application.__init__(self, *args, **kwargs)
|
||||||
self._count = 0
|
self._count = 0
|
||||||
self._flasher = 8
|
self._flasher = 0
|
||||||
self.backlit = 0
|
self.backlit = 0
|
||||||
self.lines = [ # name, messages received
|
self.lines = [ # name, messages received
|
||||||
[" CATHY", 0],
|
[" CATHY", 0],
|
||||||
@ -283,8 +280,6 @@ patterns = [
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
global char_width, char_height, maxCharsPerLine, antialiased
|
|
||||||
app = Application(font_name='5x8',
|
app = Application(font_name='5x8',
|
||||||
margin = 3,
|
margin = 3,
|
||||||
bg=0,
|
bg=0,
|
||||||
|
Loading…
Reference in New Issue
Block a user