diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-19 18:41:44 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-19 19:00:36 -0500 |
commit | 7dc1fcecc0018f68cb1362a44628792947ac74de (patch) | |
tree | c7cc954d3c89e08ec696fb61daed8bbe13f484c2 | |
parent | da4eb23ec64ad36b72bbc7d865d066a4fed3147b (diff) |
Fix index of snapshots in type chooser
-rw-r--r-- | src/systemadm.vala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/systemadm.vala b/src/systemadm.vala index e59770fa..dd75d724 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -163,7 +163,7 @@ public class MainWindow : Window { unit_type_combo_box.append_text("Sockets"); unit_type_combo_box.append_text("Paths"); unit_type_combo_box.append_text("Timers"); - unit_type_combo_box.append_text("Snapshots"); + unit_type_combo_box.append_text("Snapshots"); // adjust index in server_on_snapshot unit_type_combo_box.set_active(0); // Show All unit_type_combo_box.changed.connect(unit_type_changed); @@ -997,8 +997,7 @@ public class MainWindow : Window { manager.create_snapshot(); if (unit_type_combo_box.get_active() != 0) - unit_type_combo_box.set_active(8); - + unit_type_combo_box.set_active(12); } catch (Error e) { show_error(e.message); } |