From 818ce4a897e9f96d6c4d3a30bdc92a30caf33e13 Mon Sep 17 00:00:00 2001 From: "Fredrick W. Warren" Date: Sun, 12 Jan 2025 18:26:15 -0700 Subject: [PATCH] basic app with no code for dbus callback --- pywmreceived.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pywmreceived.py b/pywmreceived.py index 9b31606..e3d4d2e 100755 --- a/pywmreceived.py +++ b/pywmreceived.py @@ -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,