Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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()
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 6
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
Exemplo n.º 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
Exemplo n.º 8
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
Exemplo n.º 9
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
     self.connect_link.show()
     self.actions['synchronize'].props.enabled = False
Exemplo n.º 10
0
 def on_disconnect(self, *args):
     api.disconnect()
     self.toggle_connection(False)
     self.connect_link.show()
     self.actions['synchronize'].props.enabled = False