From: rwst Date: Thu, 26 Jan 2006 10:28:49 +0000 (+0000) Subject: conditionally (Gtk>=2.6) ellipsize status bar text X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4bcf15615dc60408780f0102f4f9fdff2ff264d6;p=inkscape.git conditionally (Gtk>=2.6) ellipsize status bar text --- diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp index 5139f8ebf..b86a5d3f9 100644 --- a/src/ui/view/edit-widget.cpp +++ b/src/ui/view/edit-widget.cpp @@ -28,6 +28,7 @@ #endif #include +#include #include #include #include @@ -1156,7 +1157,9 @@ EditWidget::initStatusbar() _select_status.property_yalign() = 0.5; _select_status.set_markup (_("Welcome to Inkscape! Use shape or freehand tools to create objects; use selector (arrow) to move or transform them.")); // include this again with Gtk+-2.6 - //_select_status.property_ellipsize() = Pango::ELLIPSIZE_END; +#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 6 + _select_status.property_ellipsize() = Pango::ELLIPSIZE_END; +#endif _select_status.set_size_request (1, -1); _statusbar.pack_start (_select_status, true, true, 0);