~optimisme/+junk/switchboard-drives

« back to all changes in this revision

Viewing changes to src/drives.vala

  • Committer: Albert Palacios
  • Date: 2013-09-13 11:15:29 UTC
  • Revision ID: optimisme@gmail.com-20130913111529-ox95aol6bcio58kq
Format notebook margins

Show diffs side-by-side

added added

removed removed

Lines of Context:
1066
1066
 
1067
1067
            var light_window = new Granite.Widgets.LightWindow (_("Format")+": "+item.show_label);
1068
1068
            light_window.width_request = 350;
 
1069
            light_window.window_position = Gtk.WindowPosition.CENTER;
 
1070
/*
 
1071
            var grid = new Gtk.Box ();
 
1072
            
 
1073
 
 
1074
            var bottom_buttons_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
 
1075
            bottom_buttons_box.halign = Gtk.Align.CENTER;
 
1076
            bottom_buttons_box.valign = Gtk.Align.CENTER;
 
1077
            partition_files_button = new Gtk.Button.with_label (" "+_("View Files")+" ");
 
1078
            bottom_buttons_box.pack_start (partition_files_button, false, true, 5);
 
1079
            partition_mount_button = new Gtk.Button.with_label (" "+_("Mount")+" ");
 
1080
            bottom_buttons_box.pack_start (partition_mount_button, false, true, 5);
 
1081
            content.pack_end (bottom_buttons_box, false, false, 10);
 
1082
*/
 
1083
            var format = new Gtk.Grid ();
1069
1084
 
1070
1085
            var notebook = new Granite.Widgets.StaticNotebook ();
 
1086
            notebook.margin = 12;
1071
1087
            notebook.append_page (new Gtk.Label (_("TODO: One click formatting")), new Gtk.Label (_("Format")));
1072
1088
            notebook.append_page (new Gtk.Label (_("TODO: Allow basic partitioning")), new Gtk.Label (_("Partitions")));
1073
1089
            notebook.append_page (new Gtk.Label (_("TODO: dd images to drive")), new Gtk.Label (_("Restore")));
1074
1090
 
 
1091
 
1075
1092
            light_window.add (notebook);
1076
1093
            light_window.show_all ();
1077
1094
/*