summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_editor.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-10-27 21:56:04 +0000
committerCarl Hetherington <carl@carlh.net>2010-10-27 21:56:04 +0000
commit04585abae320f28f3f9f790efabaf4d255b651a4 (patch)
tree6883ab35129bc08fc3a7595423c9c8f26a3b7d17 /gtk2_ardour/region_editor.cc
parentd75239caea44ea47b06a74efdfe197d4e8fd1500 (diff)
Ellipsize source names in the region property dialogue box.
git-svn-id: svn://localhost/ardour2/branches/3.0@7930 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_editor.cc')
-rwxr-xr-xgtk2_ardour/region_editor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/region_editor.cc b/gtk2_ardour/region_editor.cc
index 38f497527e..0d3f89dfad 100755
--- a/gtk2_ardour/region_editor.cc
+++ b/gtk2_ardour/region_editor.cc
@@ -157,6 +157,9 @@ RegionEditor::RegionEditor (Session* s, boost::shared_ptr<Region> r)
}
_sources.set_headers_visible (false);
+ Gtk::CellRendererText* t = dynamic_cast<Gtk::CellRendererText*> (_sources.get_column_cell_renderer(0));
+ assert (t);
+ t->property_ellipsize() = Pango::ELLIPSIZE_END;
show_all();