diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:10:33 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:10:33 +0100 |
commit | 4a3f1fdfe1eb3743564adcee35d5513224339260 (patch) | |
tree | 1bcc97c9bd5abcf181b9f19294a0f187ff8af103 /src/util/ui.vala | |
parent | 7152401783578b56343f578b4ec920998660de33 (diff) |
New upstream version 0.25.1upstream/0.25.1
Diffstat (limited to 'src/util/ui.vala')
-rw-r--r-- | src/util/ui.vala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/util/ui.vala b/src/util/ui.vala index a161ebd..e1c22f1 100644 --- a/src/util/ui.vala +++ b/src/util/ui.vala @@ -86,13 +86,3 @@ public bool has_only_key_modifier(Gdk.ModifierType field, Gdk.ModifierType mask) | Gdk.ModifierType.META_MASK)) == mask; } -public string build_dummy_ui_string(Gtk.ActionGroup[] groups) { - string ui_string = "<ui>"; - foreach (Gtk.ActionGroup group in groups) { - foreach (Gtk.Action action in group.list_actions()) - ui_string += "<accelerator name=\"%s\" action=\"%s\" />".printf(action.name, action.name); - } - ui_string += "</ui>"; - - return ui_string; -} |