From: rwst Date: Thu, 26 Jan 2006 11:05:07 +0000 (+0000) Subject: conditionally (Gtk>=2.6) ellipsize status bar text X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cfd67b23e1f172e3ea834b42805d04bc7b0013e8;p=inkscape.git conditionally (Gtk>=2.6) ellipsize status bar text --- diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index b7832658f..311f93a1c 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -327,6 +327,9 @@ sp_desktop_widget_init (SPDesktopWidget *dtw) dtw->select_status_eventbox = gtk_event_box_new (); dtw->select_status = gtk_label_new (NULL); +#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 6 + gtk_label_set_ellipsize (GTK_LABEL(dtw->select_status), PANGO_ELLIPSIZE_END); +#endif gtk_misc_set_alignment (GTK_MISC (dtw->select_status), 0.0, 0.5); gtk_widget_set_size_request (dtw->select_status, 1, -1); // display the initial welcome message in the statusbar