Hello folks, maybe someone can clear me up here. I need some help with an investigation. We have the file "qt/qtsystrayicon.py" in the repo containing "class QtSysTrayIcon" and also a "if __name__ == '__main__':" section. I tried to find out how this class is used but couldn't find something about it. I was using grep and also checked the Makefiles. But I also can say that on my productive system BIT does have an icon in the systray while a backup job is running. But I don't know how it gets there. Thanks for helping out. Kind Christian
We have the file "qt/qtsystrayicon.py" in the repo containing "class QtSysTrayIcon" and also a "if __name__ == '__main__':" section. I tried to find out how this class is used but couldn't find something about it.
The systray icon is shown via the qt/plugins/qt4plugin.py "plugin" that spawns a new process by execuring qt/qtsystrayicon.py (that is the reason why qtsystrayicon.py also has __main__ section): https://github.com/bit-team/backintime/blob/e44e9d64b972be2dab3aa0f94af34d44... There are some deficiencies in the implementation (e. g. the "--debug" and other arguments are not passed along but only the profile ID: https://github.com/bit-team/backintime/blob/e44e9d64b972be2dab3aa0f94af34d44... See also this issue: https://github.com/bit-team/backintime/issues/1405 This plugin is my current wip but is "idle" since half a year (I must finish this soon :-) HIH
participants (2)
-
BiT dev
-
c.buhtz@posteo.jp