示例#1
0
 def updateinfo(self):
     if self.ifruning is False:
         self.ifruning = True
         defaultdev = defaultcard()
         self.cardinfo = networkdictionary()
         sleep(1)
         GLib.idle_add(self.updatetray, defaultdev)
示例#2
0
 def updateinfo(self):
     if self.ifruning is False:
         self.ifruning = True
         defaultdev = defaultcard()
         self.cardinfo = networkdictionary()
         sleep(1)
         GLib.idle_add(self.updatetray, defaultdev)
示例#3
0
 def updateinfo(self):
     if self.ifruning is False:
         self.ifruning = True
         self.cardinfo = networkdictionary()
         defaultcard = self.cardinfo['default']
         default_type = self.network_type(defaultcard)
         GLib.idle_add(self.updatetray, defaultcard, default_type)
         self.ifruning = False