summaryrefslogtreecommitdiff
path: root/src/pies/save.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-01-21 19:07:09 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-01-21 19:07:09 +0100
commit60560a030fda3c539ff9dc1563b9926414a193da (patch)
tree77590b395685a8d48d3615e45629a1610d08c071 /src/pies/save.vala
parentd6b2677825cbb423e2099563c16321c3e23d7899 (diff)
Imported Upstream version 0.4.0upstream/0.4.0
Diffstat (limited to 'src/pies/save.vala')
-rw-r--r--src/pies/save.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pies/save.vala b/src/pies/save.vala
index d691a95..c940e5a 100644
--- a/src/pies/save.vala
+++ b/src/pies/save.vala
@@ -55,18 +55,18 @@ namespace Pies {
if (group.get_type().depth() == 2) {
foreach (var action in group.actions) {
writer.start_element("slice");
- writer.write_attribute("type", ActionRegistry.settings_names[action.get_type()]);
- if (ActionRegistry.icon_name_editables[action.get_type()]) {
+ writer.write_attribute("type", ActionRegistry.descriptions[action.get_type().name()].id);
+ if (ActionRegistry.descriptions[action.get_type().name()].icon_name_editable) {
writer.write_attribute("name", action.name);
writer.write_attribute("icon", action.icon);
}
writer.write_attribute("command", action.real_command);
- writer.write_attribute("quickAction", action.is_quick_action ? "true" : "false");
+ writer.write_attribute("quickAction", action.is_quickaction ? "true" : "false");
writer.end_element();
}
} else {
writer.start_element("group");
- writer.write_attribute("type", GroupRegistry.settings_names[group.get_type()]);
+ writer.write_attribute("type", GroupRegistry.descriptions[group.get_type().name()].id);
writer.end_element();
}
}