summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-09-26 11:12:30 +0100
committerMartin Wimpress <[email protected]>2015-09-26 11:12:30 +0100
commit8ba6cc318da153c98a60b0de7f2db14b08f52fcf (patch)
tree4051054cac02d7ac78204cb9c1000b537822cc92
parentf8ed2af9510cb20f2ad8101aeaab5c6458ade0d7 (diff)
parent860b5838a2d54011cd5a4b3678db9ddad65f67fc (diff)
downloadcaja-8ba6cc318da153c98a60b0de7f2db14b08f52fcf.tar.bz2
caja-8ba6cc318da153c98a60b0de7f2db14b08f52fcf.tar.xz
Merge pull request #463 from raveit65/master
GTK3: reduce size of autorun-dialog
-rw-r--r--libcaja-private/caja-autorun.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcaja-private/caja-autorun.c b/libcaja-private/caja-autorun.c
index eaaea4c6..1c0de2a0 100644
--- a/libcaja-private/caja-autorun.c
+++ b/libcaja-private/caja-autorun.c
@@ -1087,6 +1087,9 @@ show_dialog:
gtk_label_set_markup (GTK_LABEL (label), markup);
g_free (markup);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_label_set_max_width_chars (GTK_LABEL (label), 50);
+#endif
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0);
@@ -1097,6 +1100,9 @@ show_dialog:
gtk_label_set_markup (GTK_LABEL (label), markup);
g_free (markup);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_label_set_max_width_chars (GTK_LABEL (label), 50);
+#endif
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0);