summaryrefslogtreecommitdiff
path: root/src/actionGroups/menuGroup.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionGroups/menuGroup.vala')
-rw-r--r--src/actionGroups/menuGroup.vala11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/actionGroups/menuGroup.vala b/src/actionGroups/menuGroup.vala
index 07a4bd1..247376d 100644
--- a/src/actionGroups/menuGroup.vala
+++ b/src/actionGroups/menuGroup.vala
@@ -30,10 +30,13 @@ public class MenuGroup : ActionGroup {
/// the pies.conf file for this kind of ActionGroups.
/////////////////////////////////////////////////////////////////////
- public static void register(out string name, out string icon, out string settings_name) {
- name = _("Main menu");
- icon = "gnome-main-menu";
- settings_name = "menu";
+ public static GroupRegistry.TypeDescription register() {
+ var description = new GroupRegistry.TypeDescription();
+ description.name = _("Group: Main menu");
+ description.icon = "gnome-main-menu";
+ description.description = _("Displays your main menu structure.");
+ description.id = "menu";
+ return description;
}
/////////////////////////////////////////////////////////////////////