about dialog showing (ugly)
This commit is contained in:
parent
64ba90c802
commit
eb186056bd
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue