summaryrefslogtreecommitdiff
path: root/data/ui
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2016-12-03 19:22:22 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2017-06-19 17:29:49 +0200
commit9910fe5d8322f3cf70e27eef77d7bbc605fe3b1d (patch)
treeb029ca6ad959f2e3f0be6c5a7d5f53b255b90c3c /data/ui
parent93302b4a4489b6b1aa150d64049730499734e1b0 (diff)
downloadgnome-contacts-9910fe5d8322f3cf70e27eef77d7bbc605fe3b1d.tar.gz
Clean up the application's GActions. Bug 775573.
* Use valid names for GActions: replace underscores with dashes in 'new_contact' and 'change_book'. See GAction.parse_detailed_name () for more info. Removes some Gtk-Warnings on startup. * Use Gtk.Application.set_accels_for_action() instead of the deprecated Gtk.Application.add_accelerator_for_action(). * Use GLib.ActionEntries for clarity.
Diffstat (limited to 'data/ui')
-rw-r--r--data/ui/app-menu.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ui/app-menu.ui b/data/ui/app-menu.ui
index 9711cb9..852515a 100644
--- a/data/ui/app-menu.ui
+++ b/data/ui/app-menu.ui
@@ -2,7 +2,7 @@
<menu id="app-menu">
<section>
<item>
- <attribute name="action">app.change_book</attribute>
+ <attribute name="action">app.change-book</attribute>
<attribute name="label" translatable="yes">_Change Address Book…</attribute>
</item>
</section>