[Xfce4-commits] [apps/xfce4-terminal] 01/01: Manjaro's gtk-classic doesn't like the opacity set before show_all()

noreply at xfce.org noreply at xfce.org
Thu Feb 28 18:12:33 CET 2019


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

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit ba1306dbdf5a43ab65f3f0bb2fdb11bd41a26e22
Author: Igor <f2404 at yandex.ru>
Date:   Thu Feb 28 12:11:44 2019 -0500

    Manjaro's gtk-classic doesn't like the opacity set before show_all()
---
 terminal/terminal-search-dialog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-search-dialog.c b/terminal/terminal-search-dialog.c
index 5d790a0..b7a9432 100644
--- a/terminal/terminal-search-dialog.c
+++ b/terminal/terminal-search-dialog.c
@@ -356,9 +356,11 @@ terminal_search_dialog_present (TerminalSearchDialog *dialog)
   gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (header_bar), TRUE);
   gtk_window_set_titlebar (GTK_WINDOW (dialog), header_bar);
 
+  gtk_widget_show_all (GTK_WIDGET (dialog));
+
+  /* Manjaro's version of GTK doesn't like this placed before show_all() */
   terminal_search_dialog_opacity_changed (dialog);
 
-  gtk_widget_show_all (GTK_WIDGET (dialog));
   gtk_window_present (GTK_WINDOW (dialog));
   gtk_widget_grab_focus (dialog->entry);
 }

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


More information about the Xfce4-commits mailing list