~teejee2008/timeshift/trunk

« back to all changes in this revision

Viewing changes to src/Gtk/RestoreWindow.vala

  • Committer: Tony George
  • Date: 2016-12-26 15:50:17 UTC
  • Revision ID: tony.george.kol@gmail.com-20161226155017-ae30px7sg6znki6u
Console: Added --btrfs and --rsync; BTRFS: Added support for @home on separate disk;

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
                
232
232
                // set initial tab
233
233
 
234
 
                notebook.page = Tabs.TARGET_DEVICE;
235
 
                
236
 
                /*if (Main.first_snapshot_size == 0){
237
 
                        notebook.page = Tabs.ESTIMATE;
238
 
                }
239
 
                else if (!App.repo.available() || !App.repo.has_space()){
240
 
                        notebook.page = Tabs.BACKUP_DEVICE;
 
234
                if (App.btrfs_mode){
 
235
                        notebook.page = Tabs.SUMMARY;
241
236
                }
242
237
                else{
243
 
                        notebook.page = Tabs.BACKUP;
244
 
                }*/
245
 
 
 
238
                        notebook.page = Tabs.TARGET_DEVICE;
 
239
                }
 
240
                        
246
241
                initialize_tab();
247
242
        }
248
243
        
276
271
                
277
272
                switch(notebook.page){
278
273
                case Tabs.TARGET_DEVICE:
279
 
                        notebook.page = Tabs.RESTORE_EXCLUDE;
280
 
                        //notebook.page = Tabs.EXCLUDE_APPS;
 
274
                        if (App.btrfs_mode){
 
275
                                notebook.page = Tabs.SUMMARY;
 
276
                        }
 
277
                        else{
 
278
                                notebook.page = Tabs.RESTORE_EXCLUDE;
 
279
                        }
281
280
                        break;
282
281
                case Tabs.RESTORE_EXCLUDE:
283
282
                        if (restore_exclude_box.show_all_apps()){