Update about dialog text and change my mail address.
Adds new shortcut for monitor switching to about dialog.
This commit is contained in:
parent
02188f4d4c
commit
6d347d1729
2
AUTHORS
2
AUTHORS
@ -1,4 +1,4 @@
|
||||
Olaf Schulz <yggtrash@googlemail.com>
|
||||
Olaf Schulz <olaf_schulz@posteo.de>
|
||||
rixx <rike.kunze@gmail.com>
|
||||
Marco Herrn <marco@mherrn.de>
|
||||
|
||||
|
@ -56,6 +56,20 @@ namespace NeoLayoutViewer{
|
||||
private static void about_dialog() {
|
||||
/* This function create the about dialog in
|
||||
tray menu or indicator menu */
|
||||
|
||||
var show_shortcut = configm.getConfig().get("show_shortcut").strip();
|
||||
var move_shortcut = configm.getConfig().get("move_shortcut").strip();
|
||||
var monitor_shortcut = configm.getConfig().get("monitor_shortcut").strip();
|
||||
|
||||
string tmp = "";
|
||||
if (show_shortcut == monitor_shortcut && false){
|
||||
tmp = "Monitor wechseln/Ausblenden - %s".printf(show_shortcut);
|
||||
}else{
|
||||
tmp = """Ein-/Ausblenden - %s
|
||||
Monitor wechseln - %s""".printf(show_shortcut,
|
||||
monitor_shortcut);
|
||||
}
|
||||
|
||||
var about = new Gtk.AboutDialog();
|
||||
about.set_logo(app.neo_win.getIcon());
|
||||
about.set_destroy_with_parent (true);
|
||||
@ -65,18 +79,17 @@ namespace NeoLayoutViewer{
|
||||
about.set_comments("""Erleichtert das Nachschlagen von Tastenkombinationen im Neo 2.0-Layout.
|
||||
|
||||
Olaf Schulz
|
||||
funwithkinect@googlemail.com
|
||||
|
||||
olaf_schulz+neo@posteo.de
|
||||
|
||||
Tastenkombinationen:
|
||||
Ein-/Ausblenden - %s
|
||||
%s
|
||||
Bewegen - %s
|
||||
Beenden (sofern Fenster selektiert) - q
|
||||
|
||||
Verwendete Konfigurationsdatei:
|
||||
%s""".printf(
|
||||
app.neo_win.config.get("show_shortcut"),
|
||||
app.neo_win.config.get("move_shortcut"),
|
||||
tmp,
|
||||
move_shortcut,
|
||||
configm.used_config_path)
|
||||
);
|
||||
about.set_copyright("LGPLv3");
|
||||
|
Loading…
Reference in New Issue
Block a user