[nemiver] 664385 - Source code tab label completely ellipsized



commit 27bb5741c1ffe25c4408e2762dcc3693b645743f
Author: Dodji Seketeli <dodji seketeli org>
Date:   Sat Nov 19 20:06:40 2011 +0100

    664385 - Source code tab label completely ellipsized

 src/persp/dbgperspective/nmv-dbg-perspective.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 89e4fea..73d3dab 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -3827,6 +3827,7 @@ DBGPerspective::append_source_editor (SourceEditor &a_sv,
     SafePtr<Gtk::Label> label (Gtk::manage
                             (new Gtk::Label (basename)));
     label->set_ellipsize (Pango::ELLIPSIZE_MIDDLE);
+    label->set_width_chars (basename.length ());
     label->set_max_width_chars (25);
     label->set_justify (Gtk::JUSTIFY_LEFT);
     SafePtr<Gtk::Image> cicon (manage



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]