summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 655bcdd)
raw | patch | inline | side by side (parent: 655bcdd)
author | rwst <rwst@users.sourceforge.net> | |
Thu, 26 Jan 2006 10:28:49 +0000 (10:28 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Thu, 26 Jan 2006 10:28:49 +0000 (10:28 +0000) |
src/ui/view/edit-widget.cpp | patch | blob | history |
index 5139f8ebf2c6a1ad307b20de6577c7f623c6aa72..b86a5d3f9f79261b6ca8bd6284ecff58f4f56c8c 100644 (file)
#endif
#include <gtk/gtkwindow.h>
+#include <gtk/gtkversion.h>
#include <gtkmm/radioaction.h>
#include <gtkmm/menubar.h>
#include <gtkmm/messagedialog.h>
_select_status.property_yalign() = 0.5;
_select_status.set_markup (_("<b>Welcome to Inkscape!</b> 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);