[geary] Don't set composer title when inline new



commit 72b2648248616951822c1734400b0b397ff3da88
Author: Robert Schroll <rschroll gmail com>
Date:   Fri Mar 20 18:35:33 2015 -0400

    Don't set composer title when inline new
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746134

 src/client/composer/composer-box.vala |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/client/composer/composer-box.vala b/src/client/composer/composer-box.vala
index 9f38e29..2aaf2b5 100644
--- a/src/client/composer/composer-box.vala
+++ b/src/client/composer/composer-box.vala
@@ -9,7 +9,6 @@ public class ComposerBox : Gtk.Frame, ComposerContainer {
     private ComposerWidget composer;
     private Gee.Set<Geary.App.Conversation>? prev_selection = null;
     private bool has_accel_group = false;
-    private Binding? title_binding = null;
     
     public Gtk.Window top_window {
         get { return (Gtk.Window) get_toplevel(); }
@@ -29,8 +28,6 @@ public class ComposerBox : Gtk.Frame, ComposerContainer {
             prev_selection = conversation_list_view.get_selected_conversations();
             conversation_list_view.get_selection().unselect_all();
             
-            title_binding = composer.bind_property("window-title", composer.header, "title",
-                BindingFlags.SYNC_CREATE);
             composer.free_header();
             GearyApplication.instance.controller.main_window.main_toolbar.set_conversation_header(
                 composer.header);
@@ -77,9 +74,6 @@ 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);
         
         composer.state = ComposerWidget.ComposerState.DETACHED;
         composer.editor.focus_in_event.disconnect(on_focus_in);


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