diff options
author | Martin Wimpress <[email protected]> | 2015-09-26 11:12:30 +0100 |
---|---|---|
committer | Martin Wimpress <[email protected]> | 2015-09-26 11:12:30 +0100 |
commit | 8ba6cc318da153c98a60b0de7f2db14b08f52fcf (patch) | |
tree | 4051054cac02d7ac78204cb9c1000b537822cc92 /libcaja-private | |
parent | f8ed2af9510cb20f2ad8101aeaab5c6458ade0d7 (diff) | |
parent | 860b5838a2d54011cd5a4b3678db9ddad65f67fc (diff) | |
download | caja-8ba6cc318da153c98a60b0de7f2db14b08f52fcf.tar.bz2 caja-8ba6cc318da153c98a60b0de7f2db14b08f52fcf.tar.xz |
Merge pull request #463 from raveit65/master
GTK3: reduce size of autorun-dialog
Diffstat (limited to 'libcaja-private')
-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); |