Exemplo n.º 1
0
    def on_quit(self, widget, data=None):
        if self.get_proxy_state() != "unknown":
            win32_proxy_manager.disable_proxy()

        module_init.stop_all()
        nid = win32_adapter.NotifyData(self.systray._hwnd, 0)
        win32_adapter.Shell_NotifyIcon(2, ctypes.byref(nid))
        os._exit(0)
Exemplo n.º 2
0
 def on_quit(self, widget, data=None):
     proxy_setting = config.get(["modules", "launcher", "proxy"], "disable")
     if proxy_setting != "disable":
         win32_proxy_manager.disable_proxy()
     module_init.stop_all()
     nid = win32_adapter.NotifyData(self.systray._hwnd, 0)
     win32_adapter.Shell_NotifyIcon(2, ctypes.byref(nid))
     os._exit(0)
Exemplo n.º 3
0
 def on_quit(self, widget, data=None):
     proxy_setting = config.get(["modules", "launcher", "proxy"], "disable")
     if proxy_setting != "disable":
         win32_proxy_manager.disable_proxy()
     module_init.stop_all()
     nid = win32_adapter.NotifyData(self.systray._hwnd, 0)
     win32_adapter.Shell_NotifyIcon(2, ctypes.byref(nid))
     os._exit(0)
Exemplo n.º 4
0
 def on_disable_proxy(self, widget=None, data=None):
     win32_proxy_manager.disable_proxy()
     config.set(["modules", "launcher", "proxy"], "disable")
     config.save()
Exemplo n.º 5
0
 def on_quit(self, widget, data=None):
     win32_proxy_manager.disable_proxy()
Exemplo n.º 6
0
 def on_disable_proxy(self, widget=None, data=None):
     win32_proxy_manager.disable_proxy()
Exemplo n.º 7
0
 def on_quit(self, widget, data=None):
      win32_proxy_manager.disable_proxy()
Exemplo n.º 8
0
 def on_disable_proxy(self, widget=None, data=None):
     win32_proxy_manager.disable_proxy()
     config.os_proxy_mode = "disable"
     config.save()
Exemplo n.º 9
0
 def on_disable_proxy(self, widget=None, data=None):
     win32_proxy_manager.disable_proxy()
Exemplo n.º 10
0
 def on_quit(self, widget, data=None):
     win32_proxy_manager.disable_proxy()
     module_init.stop_all()
     os._exit(0)
Exemplo n.º 11
0
 def on_disable_proxy(self, widget=None, data=None):
     win32_proxy_manager.disable_proxy()
     config.set(["modules", "launcher", "proxy"], "disable")
     config.save()
Exemplo n.º 12
0
 def on_quit(self, widget, data=None):
     proxy_setting = config.get(["modules", "launcher", "proxy"], "disable")
     if proxy_setting != "disable":
         win32_proxy_manager.disable_proxy()
     module_init.stop_all()
     os._exit(0)
Exemplo n.º 13
0
 def on_quit(self, widget, data=None):
     proxy_setting = config.get(["modules", "launcher", "proxy"], "disable")
     if proxy_setting != "disable":
         win32_proxy_manager.disable_proxy()
     module_init.stop_all()
     os._exit(0)