示例#1
0
    def on_disconnect(self, *args):
        api.disconnect()
        self.toggle_connection(False)
        self.connect_link.show()

        synchronize_menuitem = self.builder.get_object('synchronize_menuitem')
        synchronize_menuitem.set_sensitive(False)
示例#2
0
    def on_disconnect(self, *args):
        api.disconnect()
        self.toggle_connection(False)
        self.connect_link.show()

        synchronize_menuitem = self.builder.get_object('synchronize_menuitem')
        synchronize_menuitem.set_sensitive(False)
示例#3
0
 def on_disconnect(self, *_args):
     """Callback from user disconnect"""
     dlg = dialogs.QuestionDialog({
         "question":
         _("Do you want to log out from Lutris?"),
         "title":
         _("Log out?"),
     })
     if dlg.result != Gtk.ResponseType.YES:
         return
     api.disconnect()
示例#4
0
 def on_disconnect(self, *_args):
     """Callback from user disconnect"""
     dlg = dialogs.QuestionDialog({
         "question": "Do you want to log out from Lutris?",
         "title": "Log out?",
     })
     if dlg.result != Gtk.ResponseType.YES:
         return
     api.disconnect()
     self.toggle_connection(False)
     self.actions["synchronize"].props.enabled = False
示例#5
0
 def on_disconnect(self, *_args):
     """Callback from user disconnect"""
     dlg = dialogs.QuestionDialog(
         {
             "question": "Do you want to log out from Lutris?",
             "title": "Log out?",
         }
     )
     if dlg.result != Gtk.ResponseType.YES:
         return
     api.disconnect()
     self.toggle_connection(False)
     self.actions["synchronize"].props.enabled = False
示例#6
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
示例#7
0
 def on_disconnect(self, *_args):
     """Callback from user disconnect"""
     api.disconnect()
     self.toggle_connection(False)
     self.connect_link.show()
     self.actions['synchronize'].props.enabled = False
示例#8
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
示例#9
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
     self.connect_link.show()
     self.actions['synchronize'].props.enabled = False
示例#10
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
     self.connect_link.show()
     self.actions['synchronize'].props.enabled = False