Commit c0ead3f6 authored by intrigeri's avatar intrigeri
Browse files

Merge remote-tracking branch 'origin/feature/14594-asp-gui' into feature/14594-asp-gui

parents d880ccbe 916420b8
......@@ -64,8 +64,17 @@ class ASPConfigApplicationWindow(Gtk.ApplicationWindow):
return True
def cb_listboxrow_remove_button_clicked(self, button, package_name):
# XXX
pass
dialog = Gtk.MessageDialog(
self,
Gtk.DialogFlags.DESTROY_WITH_PARENT,
Gtk.MessageType.QUESTION,
Gtk.ButtonsType.NONE,
_("Remove {package} from your additional "
"software").format(package=package_name))
dialog.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.REJECT)
dialog.add_button(Gtk.STOCK_REMOVE, Gtk.ResponseType.ACCEPT)
if dialog.run() == Gtk.ResponseType.ACCEPT:
self.remove_asp_func(package_name)
def cb_window_show(self, window):
packages = self.get_config_func()
......
pythonlib @ 47d949d8
Subproject commit 4815640a8157be786437586693f24aeab04fd147
Subproject commit 47d949d8add8cfe4f3425f4c1a6bedeaf53e6f78
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment