summaryrefslogtreecommitdiff
path: root/src/util/ui.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:10:33 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:10:33 +0100
commit4a3f1fdfe1eb3743564adcee35d5513224339260 (patch)
tree1bcc97c9bd5abcf181b9f19294a0f187ff8af103 /src/util/ui.vala
parent7152401783578b56343f578b4ec920998660de33 (diff)
New upstream version 0.25.1upstream/0.25.1
Diffstat (limited to 'src/util/ui.vala')
-rw-r--r--src/util/ui.vala10
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;
-}