~mims-michael/pantheon-terminal/fix-1432727

« back to all changes in this revision

Viewing changes to src/PantheonTerminalWindow.vala

  • Committer: Michael Mims
  • Date: 2015-03-19 14:55:49 UTC
  • Revision ID: mims.michael@gmail.com-20150319145549-f9glo3dupuqijb65
Remove whitespace and unneeded varibles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
659
659
        }
660
660
 
661
661
        private void on_settings_changed () {
662
 
            var prefer_dark_theme = Gtk.Settings.get_default ().gtk_application_prefer_dark_theme;
663
 
            var tab_bar_behavior = notebook.tab_bar_behavior;
664
 
            var allow_restoring = notebook.allow_restoring;
665
 
 
666
 
            if (prefer_dark_theme != settings.prefer_dark_theme)
 
662
            if (Gtk.Settings.get_default ().gtk_application_prefer_dark_theme != settings.prefer_dark_theme)
667
663
                Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = settings.prefer_dark_theme;
668
664
 
669
 
            if (tab_bar_behavior != settings.tab_bar_behavior)
 
665
            if (notebook.tab_bar_behavior != settings.tab_bar_behavior)
670
666
                notebook.tab_bar_behavior = settings.tab_bar_behavior;
671
667
 
672
 
            if (allow_restoring != settings.save_exited_tabs)
 
668
            if (notebook.allow_restoring != settings.save_exited_tabs)
673
669
                notebook.allow_restoring = settings.save_exited_tabs;
674
670
        }
675
671