[Xfce4-commits] [xfce/libxfce4ui] 02/02: Set a reasonable default window width to make sure labels wrap
noreply at xfce.org
noreply at xfce.org
Fri Nov 25 23:44:21 CET 2016
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository xfce/libxfce4ui.
commit ad31b9da01482e05af50c1e909c1304b3a64a316
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Fri Nov 25 22:55:55 2016 +0100
Set a reasonable default window width to make sure labels wrap
Otherwise secondary text makes the dialogs incredibly wide, as could
be seen in the test dialog for the xfce_dialog_confirm.
---
libxfce4ui/xfce-dialogs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libxfce4ui/xfce-dialogs.c b/libxfce4ui/xfce-dialogs.c
index f3ee130..c070fb6 100644
--- a/libxfce4ui/xfce-dialogs.c
+++ b/libxfce4ui/xfce-dialogs.c
@@ -572,6 +572,7 @@ xfce_message_dialog_new_valist (GtkWindow *parent,
dialog = GTK_WIDGET(gtk_builder_get_object(gxml, "xfce4ui-dialog"));
label_box = GTK_WIDGET(gtk_builder_get_object(gxml, "label-box"));
dialog_image = GTK_WIDGET(gtk_builder_get_object(gxml, "icon_stock_id"));
+ gtk_window_set_default_size (GTK_WINDOW (dialog), 400, -1);
if (parent)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list