[gnome-boxes] Remove dead code



commit 062e1500fc612957bad87938610cb698c3528416
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Wed Sep 5 11:29:15 2012 +0200

    Remove dead code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683391

 src/topbar.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/topbar.vala b/src/topbar.vala
index 05e86fb..13b0f69 100644
--- a/src/topbar.vala
+++ b/src/topbar.vala
@@ -60,9 +60,6 @@ private class Boxes.Topbar: Boxes.UI {
 
         search_btn = toolbar.add_toggle ("edit-find-symbolic", null, false) as Gtk.ToggleButton;
         search_btn.bind_property ("active", App.app.searchbar, "visible", BindingFlags.BIDIRECTIONAL);
-        App.app.notify["search-visible"].connect (() => {
-            search_btn.active = App.app.searchbar.visible;
-        });
         update_search_btn ();
         App.app.collection.item_added.connect (update_search_btn);
         App.app.collection.item_removed.connect (update_search_btn);



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