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
|
||||
WindowMaker dockapp pidgin messages
|
||||
@ -6,9 +6,6 @@ Copyright (C) 2006 Mario Frasca
|
||||
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
|
||||
|
||||
line_height = 9
|
||||
@ -19,7 +16,7 @@ class Application(wmoo.Application):
|
||||
def __init__(self, *args, **kwargs):
|
||||
wmoo.Application.__init__(self, *args, **kwargs)
|
||||
self._count = 0
|
||||
self._flasher = 8
|
||||
self._flasher = 0
|
||||
self.backlit = 0
|
||||
self.lines = [ # name, messages received
|
||||
[" CATHY", 0],
|
||||
@ -283,8 +280,6 @@ patterns = [
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
global char_width, char_height, maxCharsPerLine, antialiased
|
||||
app = Application(font_name='5x8',
|
||||
margin = 3,
|
||||
bg=0,
|
||||
|
Loading…
Reference in New Issue
Block a user