[gnome-music/wip/mschraal/gtk4: 83/143] searchheaderbar: Remove Gd usage



commit 19cec28ea34995a2c98bbb778a8eb982ca0102b9
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 12:59:47 2019 +0100

    searchheaderbar: Remove Gd usage
    
    Disables search atm

 gnomemusic/widgets/searchheaderbar.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets/searchheaderbar.py b/gnomemusic/widgets/searchheaderbar.py
index 0e56443a..92c56afa 100644
--- a/gnomemusic/widgets/searchheaderbar.py
+++ b/gnomemusic/widgets/searchheaderbar.py
@@ -25,8 +25,7 @@
 from enum import IntEnum
 
 import gi
-gi.require_version("Gd", "1.0")
-from gi.repository import GLib, GObject, Gd, Gtk
+from gi.repository import GLib, GObject, Gtk
 
 from gnomemusic import log
 from gnomemusic.search import Search
@@ -67,13 +66,16 @@ class SearchHeaderBar(Gtk.HeaderBar):
         self._selection_mode = False
         self._timeout = None
 
-        self._entry = Gd.TaggedEntry()
+        self._entry = Gtk.Entry()
         self._entry.props.halign = Gtk.Align.CENTER
         self._entry.props.visible = True
         self._entry.props.width_request = 500
 
         self._selection_menu = SelectionBarMenuButton()
 
+        # FIXME: Fix entry.
+        return
+
         self.bind_property(
             "selection-mode", self, "show-close-button",
             GObject.BindingFlags.INVERT_BOOLEAN


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