diff options
| author | Jay Lanagan <j@lngn.net> | 2025-09-29 09:51:28 -0400 |
|---|---|---|
| committer | Jay Lanagan <j@lngn.net> | 2025-09-29 09:51:28 -0400 |
| commit | 9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch) | |
| tree | 883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch | |
| parent | ab119e4809a15d37522b7aea45d55911f8d43ac9 (diff) | |
| download | crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip | |
xfce4: initial migration
Diffstat (limited to 'polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch')
| -rw-r--r-- | polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch b/polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch new file mode 100644 index 0000000..76b96f4 --- /dev/null +++ b/polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch @@ -0,0 +1,32 @@ +From: Lars Uebernickel <lars@uebernic.de> +Date: Fri, 17 Oct 2014 15:35:25 +0200 +Subject: Auth dialog: Make the label wrap at 70 chars + +Because GtkWindow doesn't have a default width anymore. + +Bug: https://bugzilla.gnome.org/show_bug.cgi?id=738688 +Bug-Ubuntu: https://launchpad.net/bugs/1382566 +--- + src/polkitgnomeauthenticationdialog.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/polkitgnomeauthenticationdialog.c b/src/polkitgnomeauthenticationdialog.c +index d307516..efd4185 100644 +--- a/src/polkitgnomeauthenticationdialog.c ++++ b/src/polkitgnomeauthenticationdialog.c +@@ -574,6 +574,7 @@ polkit_gnome_authentication_dialog_constructed (GObject *object) + g_free (s); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); + gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); ++ gtk_label_set_max_width_chars (GTK_LABEL (label), 70); + gtk_box_pack_start (GTK_BOX (main_vbox), label, FALSE, FALSE, 0); + + /* secondary message */ +@@ -601,6 +602,7 @@ polkit_gnome_authentication_dialog_constructed (GObject *object) + } + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); + gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); ++ gtk_label_set_max_width_chars (GTK_LABEL (label), 70); + gtk_box_pack_start (GTK_BOX (main_vbox), label, FALSE, FALSE, 0); + + /* user combobox */ |
