2025.02.17 02:41:58 (desktop)

This commit is contained in:
Christian Moser 2025-02-17 02:41:58 +01:00
parent d781d63a14
commit ec78c97dc6
Failed to extract signature

View File

@ -465,9 +465,17 @@ class GameView(Gtk.Box):
child.backup_button.set_sensitive(False)
def _on_columnview_backup_button_clicked(self,button,item):
def on_dialog_response(self,dialog,parent):
if hasattr(parent,'statusbar'):
parent.statusbar.pop(1)
game = item.get_item()
dialog = BackupSingleDialog(self.get_root(),game)
dialog.connect('response',on_dialog_response)
parent = self.get_root()
dialog = BackupSingleDialog(parent,game)
if hasattr(parent,'statusbar'):
parent.statusbar.push(1,"Backing up \"{game}\" ...".format(game=game.name))
dialog.connect('response',on_dialog_response,parent)
dialog.run()
def _on_columnview_edit_button_clicked(self,button,item):