~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to src/Gtk/MainWindow.vala

  • Committer: Tony George
  • Date: 2016-09-18 13:58:57 UTC
  • Revision ID: tony.george.kol@gmail.com-20160918135857-qztjh2kw8mxqfmsf
fstab and crypttab files will be updated correctly on target system when system is restored or cloned

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
 
225
225
                // hbox_shield
226
226
                var box = new Box (Orientation.HORIZONTAL, 6);
227
 
                box.margin_top = 0;
228
 
        box.margin_bottom = 12;
 
227
                //box.margin_top = 0;
 
228
        //box.margin_bottom = 12;
229
229
        box.margin_left = 6;
230
230
        box.margin_right = 12;
231
231
        vbox_main.add (box);
238
238
        statusbar.add(img_shield);
239
239
 
240
240
                var vbox = new Box (Orientation.VERTICAL, 6);
241
 
                box.margin_top = 0;
242
 
        box.margin_bottom = 0;
243
241
        statusbar.add (vbox);
244
242
        
245
243
                //lbl_shield
246
244
                lbl_shield = add_label(vbox, "");
247
245
        lbl_shield.yalign = (float) 0.5;
248
 
 
 
246
                lbl_shield.hexpand = true;
 
247
                
249
248
        //lbl_shield_subnote
250
249
                lbl_shield_subnote = add_label(vbox, "");
251
250
                lbl_shield_subnote.yalign = (float) 0.5;
252
 
 
 
251
                lbl_shield_subnote.wrap = true;
 
252
                lbl_shield_subnote.wrap_mode = Pango.WrapMode.WORD_CHAR;
 
253
                lbl_shield_subnote.max_width_chars = 50;
253
254
                //vbox.set_child_packing(lbl_shield, true, true, 0, PackType.START);
254
255
                //vbox.set_child_packing(lbl_shield_subnote, true, false, 0, PackType.START);
255
256
 
910
911
                                
911
912
                                lbl_free_space.label = format_text_large(
912
913
                                        "%s".printf(format_file_size(App.repo.device.free_bytes)))
913
 
                                        + "\n%s\n%s".printf(_("Free"), App.repo.device.device);
 
914
                                        + "\n%s".printf(_("Free"));
914
915
                                        
915
916
                                break;
916
917
                        }