[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix huge size of Set Title dialog under wayland

noreply at xfce.org noreply at xfce.org
Tue Aug 30 17:37:29 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 0c9ec25af0066962c102ad0915e538a24adbab63
Author: Igor <f2404 at yandex.ru>
Date:   Tue Aug 30 18:37:24 2016 +0300

    Fix huge size of Set Title dialog under wayland
---
 terminal/terminal-window.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 720fe9a..01912f8 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1823,6 +1823,9 @@ terminal_window_action_set_title (GtkAction      *action,
                                                           NULL,
                                                           NULL);
 
+      /* set window height to minimum to fix huge size under wayland */
+      gtk_window_set_default_size (GTK_WINDOW (window->title_dialog), -1, 1);
+
       button = xfce_gtk_button_new_mixed ("window-close", _("_Close"));
       gtk_widget_set_can_default (button, TRUE);
       gtk_dialog_add_action_widget (GTK_DIALOG (window->title_dialog), button, GTK_RESPONSE_CLOSE);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list