~elementary-apps/pantheon-terminal/master

« back to all changes in this revision

Viewing changes to src/PantheonTerminalWindow.vala

  • Committer: Jeremy Wootten
  • Author(s): Alexander T Hale
  • Date: 2018-01-10 11:16:40 UTC
  • Revision ID: git-v1:ce8e3d02a3335ade5d9056f32886e9d03c2de5c1
Don't restore tabs in a new window (#189)

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                app: app,
93
93
                recreate_tabs: recreate_tabs
94
94
            );
 
95
 
 
96
            if (!recreate_tabs) {
 
97
                new_tab ("");
 
98
            }
95
99
        }
96
100
 
97
101
        public PantheonTerminalWindow.with_coords (PantheonTerminalApp app, int x, int y, bool recreate_tabs = true) {
102
106
            );
103
107
 
104
108
            move (x, y);
 
109
 
 
110
            if (!recreate_tabs) {
 
111
                new_tab ("");
 
112
            }
105
113
        }
106
114
 
107
115
        public PantheonTerminalWindow.with_working_directory (PantheonTerminalApp app, string location,