[geary] Clear composer header title when detaching window



commit cbed345d2d5f54a012ae866e4f4709a900e324ce
Author: Robert Schroll <rschroll gmail com>
Date:   Fri Mar 20 00:17:09 2015 -0400

    Clear composer header title when detaching window
    
    Under Unity, we don't want this set when detached.  Under others, this
    will be reset when we set the headerbar to be the titlebar.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746502

 src/client/composer/composer-box.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/client/composer/composer-box.vala b/src/client/composer/composer-box.vala
index b72a476..9f38e29 100644
--- a/src/client/composer/composer-box.vala
+++ b/src/client/composer/composer-box.vala
@@ -77,6 +77,7 @@ public class ComposerBox : Gtk.Frame, ComposerContainer {
         if (get_style_context().has_class("full-pane"))
             GearyApplication.instance.controller.main_window.main_toolbar.remove_conversation_header(
                 composer.header);
+        composer.header.title = "";
         if (title_binding != null)
             GtkUtil.unbind(title_binding);
         


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