[geary] Don't show close/detach buttons twice under GTK+ 3.14: Bug #737860



commit f08dbc1c6fa2a99c647e40ed2ca7db61a029084d
Author: Jim Nelson <jim yorba org>
Date:   Fri Oct 3 15:32:35 2014 -0700

    Don't show close/detach buttons twice under GTK+ 3.14: Bug #737860
    
    Two sets of close/detach buttons are added to the inline composer to
    place them according to theme layout.  For whatever reason, under
    3.14 this call needs to be made when the widget is realized, whereas
    before it was being called earlier.

 src/client/composer/composer-headerbar.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/client/composer/composer-headerbar.vala b/src/client/composer/composer-headerbar.vala
index 948b425..d9336d8 100644
--- a/src/client/composer/composer-headerbar.vala
+++ b/src/client/composer/composer-headerbar.vala
@@ -95,6 +95,7 @@ public class ComposerHeaderbar : PillHeaderbar {
         add_end(send_button);
 #endif
         get_style_context().changed.connect(set_win_buttons_side);
+        realize.connect(set_win_buttons_side);
     }
     
     public void set_recipients(string label, string tooltip) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]