[iagno] Use set_accels_for_action()



commit 888c8af0a7555961e586a67c638addeb5ff134de
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Sat Sep 13 22:49:34 2014 +0300

    Use set_accels_for_action()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736631

 src/iagno.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 6f49f61..073ce95 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -69,7 +69,7 @@ public class Iagno : Gtk.Application
     {
         base.startup ();
         add_action_entries (app_actions, this);
-        add_accelerator ("<Primary>z", "app.undo-move", null);
+        set_accels_for_action ("app.undo-move", {"<Primary>z"});
     }
 
     public Iagno ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]