diff options
author | raveit65 <[email protected]> | 2015-09-26 11:51:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-09-26 11:51:00 +0200 |
commit | 860b5838a2d54011cd5a4b3678db9ddad65f67fc (patch) | |
tree | 4051054cac02d7ac78204cb9c1000b537822cc92 | |
parent | f8ed2af9510cb20f2ad8101aeaab5c6458ade0d7 (diff) | |
download | caja-860b5838a2d54011cd5a4b3678db9ddad65f67fc.tar.bz2 caja-860b5838a2d54011cd5a4b3678db9ddad65f67fc.tar.xz |
GTK3: reduce size of autorun-dialog
-rw-r--r-- | libcaja-private/caja-autorun.c | 6 |
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); |