[gnome-music/wip/jfelder/window-cleanups: 2/2] searchbar: Remove unused toggle method



commit 0ad501679cfdd002334cd919622812c28203bef3
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Nov 16 16:57:34 2018 +0100

    searchbar: Remove unused toggle method
    
    Follow up of the previous commit (4a72ff9d).

 gnomemusic/widgets/searchbar.py | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/gnomemusic/widgets/searchbar.py b/gnomemusic/widgets/searchbar.py
index c106fde9..7e14cf0c 100644
--- a/gnomemusic/widgets/searchbar.py
+++ b/gnomemusic/widgets/searchbar.py
@@ -422,8 +422,3 @@ class Searchbar(Gtk.SearchBar):
             style_context.add_class('error')
         else:
             style_context.remove_class('error')
-
-    @log
-    def toggle(self):
-        """Toggle the searchbar showing"""
-        self.reveal(not self.get_search_mode())


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