print status bar command in calendar windows
This commit is contained in:
13
qt.py
13
qt.py
@@ -107,8 +107,6 @@ class Plugin(BalPlugin):
|
||||
@hook
|
||||
def create_status_bar(self, sb):
|
||||
_logger.info("HOOK create status bar")
|
||||
print("STATUS_BAR")
|
||||
Util.print_var(sb)
|
||||
b = StatusBarButton(
|
||||
read_QIcon_from_bytes(self.read_file("icons/bal32x32.png")),
|
||||
"Bal " + _("Bitcoin After Life"),
|
||||
@@ -4036,14 +4034,9 @@ class BalCalendar:
|
||||
try:
|
||||
subprocess.check_call([calendar_app, path])
|
||||
return True
|
||||
except Exception as _e:
|
||||
_logger.error(f"starting calendar app linux failed:{_e}")
|
||||
try:
|
||||
import os
|
||||
os.startfile(path)
|
||||
except Exception as e:
|
||||
_logger.error(f"starting calendar app {e}")
|
||||
return False
|
||||
except Exception as e:
|
||||
_logger.error(f"starting calendar app {e}")
|
||||
return False
|
||||
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user