Changes
1 changed files (+6/-2)
-
-
@@ -153,10 +153,14 @@ var row = new Adw.ActionRow();row.title = entry.name; row.subtitle = entry.version; var main_window = new MainWindow(this.application, core); row.activatable_widget = main_window; // AdwActionRow needs static widget to be activatable. However, if we link // an instance of `MainWindow` here, the application won't close due to there // are still unclosed windows. This workarounds that design limitation. var box = new Gtk.Box(HORIZONTAL, 0); row.activatable_widget = box; row.activated.connect(() => { var main_window = new MainWindow(this.application, core); main_window.start(); core.connect(entry.id, entry.id.length, null, 0); this.close();
-