예제 #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