Skip to content

Commit

Permalink
added about section
Browse files Browse the repository at this point in the history
  • Loading branch information
salihmarangoz committed May 29, 2023
1 parent 0661854 commit 3dfdbb9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
File renamed without changes.
30 changes: 30 additions & 0 deletions modules/About/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

import sys #check_import
import os #check_import
import time #check_import
import threading #check_import

from PyQt5.QtGui import * #check_import
from PyQt5.QtWidgets import * #check_import

import git #DISABLED_check_import
import logging #check_import
import webbrowser #check_import

class About:
def __init__(self, node):
self.node = node

# init qt gui
menu = node.get_tray_menu()
app = node.get_application()

#menu.addSeparator()
self.update_action = QAction("About")
self.update_action.setEnabled(True)
self.update_action.triggered.connect(self.on_update_triggered);
menu.addAction(self.update_action)


def on_update_triggered(self):
webbrowser.open("https://github.com/salihmarangoz/system_tray_extensions")
1 change: 1 addition & 0 deletions modules/loading_order.list
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ Core
Ite8291r3
#TuxedoKeyboard
UpdateManager
About
#DgpuPowerstateMonitor #deprecated
#BatteryPowerDrawMonitor #deprecated

0 comments on commit 3dfdbb9

Please sign in to comment.