1.1 --- a/OpenSecurity/bin/opensecurity_tray.pyw Wed Dec 11 15:03:51 2013 +0100
1.2 +++ b/OpenSecurity/bin/opensecurity_tray.pyw Wed Dec 11 15:11:50 2013 +0100
1.3 @@ -129,14 +129,8 @@
1.4 process_command = [sys.executable, dlg_launch_image]
1.5 print(process_command)
1.6 process = subprocess.Popen(process_command, shell = False)
1.7 - process.communicate()
1.8
1.9
1.10 - def clicked_refresh(self):
1.11 - """clicked refresh"""
1.12 - self.setup_ui()
1.13 -
1.14 -
1.15 def setup_ui(self):
1.16 """create the user interface
1.17 As for the system tray this is 'just' the context menu.
1.18 @@ -153,13 +147,11 @@
1.19 # add standard menu items
1.20 cAcLaunch = menu.addAction(QtGui.QIcon(QtGui.QPixmapCache.find('opensecurity_icon_64')), 'Lauch Application')
1.21 menu.addSeparator()
1.22 - cAcRefresh = menu.addAction('Refresh')
1.23 cAcAbout = menu.addAction("About")
1.24 cAcExit = menu.addAction("Exit")
1.25
1.26 cAcBrowser.triggered.connect(self.clicked_browser)
1.27 cAcLaunch.triggered.connect(self.clicked_launch_application)
1.28 - cAcRefresh.triggered.connect(self.clicked_refresh)
1.29 cAcAbout.triggered.connect(self.clicked_about)
1.30 cAcExit.triggered.connect(self.clicked_exit)
1.31