Hello, When built against gtk+ 3.2.1 (e.g in Fedora 16 onward), labels containing filenames in the source view wigdet tabs are completely ellipsized. That is, I see a "..." instead of seeing the name of the tab. I don't have the problem on gtk+ 3.0.12 or lower (e.g in Fedora 15).
I guess we now need to explicitly set the width of the relevant label. Fixed thus, tested and applied to master. commit 27bb5741c1ffe25c4408e2762dcc3693b645743f Author: Dodji Seketeli <[email protected]> Date: Sat Nov 19 20:06:40 2011 +0100 664385 - Source code tab label completely ellipsized 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 -- Dodji _______________________________________________ nemiver-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nemiver-list
