]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
* fixed crash that occurs if there is not enough space for the status toolbar (thanks...
authormattn <mattn@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Wed, 18 Jun 2008 09:41:02 +0000 (09:41 +0000)
committermattn <mattn@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Wed, 18 Jun 2008 09:41:02 +0000 (09:41 +0000)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@255 8a3a26a2-13c4-0310-b231-cf6edde360e5

radiant/mainframe.cpp

index 785d86ac0acd381ad4d4a697d58f3e235dd7cc23..33797301c6908d6a38ac80478c2c1dfddfb55232 100644 (file)
@@ -2574,6 +2574,7 @@ GtkWidget* create_main_statusbar(GtkWidget *pStatusLabel[c_count_status])
     gtk_frame_set_shadow_type(frame, GTK_SHADOW_IN);
 
     GtkLabel* label = GTK_LABEL(gtk_label_new ("Label"));
+       gtk_label_set_ellipsize( label, PANGO_ELLIPSIZE_END);
     gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
     gtk_misc_set_padding(GTK_MISC(label), 4, 2);
     gtk_widget_show(GTK_WIDGET(label));