about dialog showing (ugly)

This commit is contained in:
Vivianne 2022-03-23 00:03:38 -07:00
parent 64ba90c802
commit eb186056bd

View file

@ -39,10 +39,12 @@ namespace Deskcandy {
private void set_up_actions() {
var a_about = new SimpleAction("about", null);
a_about.activate.connect((widget) => {
message("about...");
var about_dialog = new Gtk.AboutDialog();
about_dialog.destroy_with_parent = true;
about_dialog.transient_for = this.window;
about_dialog.modal = true;
about_dialog.present();
});
this.add_action(a_about);