projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6822c2a
)
Start new sessions with the playhead at 0 and the editor scrolled fully left (#3670).
author
Carl Hetherington
<carl@carlh.net>
Sun, 30 Jan 2011 12:48:00 +0000
(12:48 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Sun, 30 Jan 2011 12:48:00 +0000
(12:48 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8619
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/ardour_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_ui.cc
b/gtk2_ardour/ardour_ui.cc
index 09a6562fb4240a055f304c5dcd02ce83a7cdefc4..1e0b75d3cb2510e76e779d8331c4f6a0358b75f8 100644
(file)
--- a/
gtk2_ardour/ardour_ui.cc
+++ b/
gtk2_ardour/ardour_ui.cc
@@
-2836,6
+2836,10
@@
ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name,
new_session->add_instant_xml (*n, false);
}
+ /* Put the playhead at 0 and scroll fully left */
+ new_session->instant_xml(X_("Editor"))->add_property (X_("playhead"), X_("0"));
+ new_session->instant_xml(X_("Editor"))->add_property (X_("left-frame"), X_("0"));
+
set_session (new_session);
session_loaded = true;