fix #206
This commit is contained in:
parent
e9b8a03acf
commit
f4bc55bf01
@ -46,6 +46,11 @@ namespace Pamac {
|
|||||||
msg.destroy ();
|
msg.destroy ();
|
||||||
} else {
|
} else {
|
||||||
manager_window = new ManagerWindow (this);
|
manager_window = new ManagerWindow (this);
|
||||||
|
var action = new SimpleAction ("quit", null);
|
||||||
|
action.activate.connect (() => {this.quit ();});
|
||||||
|
this.add_action (action);
|
||||||
|
string[] accels = {"<Control>Q", "<Control>W"};
|
||||||
|
this.set_accels_for_action ("app.quit", accels);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +46,11 @@ namespace Pamac {
|
|||||||
msg.destroy ();
|
msg.destroy ();
|
||||||
} else {
|
} else {
|
||||||
updater_window = new UpdaterWindow (this);
|
updater_window = new UpdaterWindow (this);
|
||||||
|
var action = new SimpleAction ("quit", null);
|
||||||
|
action.activate.connect (() => {this.quit ();});
|
||||||
|
this.add_action (action);
|
||||||
|
string[] accels = {"<Control>Q", "<Control>W"};
|
||||||
|
this.set_accels_for_action ("app.quit", accels);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user