[gnome-music/wip/mschraal/gtk4: 8/69] searchheaderbar: Remove Gd usage
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 8/69] searchheaderbar: Remove Gd usage
- Date: Sat, 2 May 2020 14:01:05 +0000 (UTC)
commit 9cfefaf71ba44a4b4261bfbb5d223cfd461869a2
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 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/widgets/searchheaderbar.py b/gnomemusic/widgets/searchheaderbar.py
index d67e8f93..86093c0b 100644
--- a/gnomemusic/widgets/searchheaderbar.py
+++ b/gnomemusic/widgets/searchheaderbar.py
@@ -24,9 +24,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.search import Search
from gnomemusic.widgets.headerbar import HeaderBar, SelectionBarMenuButton
@@ -62,13 +60,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]