[gnome-music/wip/mschraal/gtk4: 10/58] searchheaderbar: Remove Gd usage
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 10/58] searchheaderbar: Remove Gd usage
- Date: Wed, 6 Nov 2019 20:07:46 +0000 (UTC)
commit 94c0bf657b3dcb917f4f3190b9ed72d55f16c07a
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]