aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Poletiek <matthew.poletiek@gmail.com>2020-12-28 14:59:12 -0600
committerGitHub <noreply@github.com>2020-12-28 14:59:12 -0600
commitf0590eb476f4c2808d28619627bd0ae2fe174f00 (patch)
treeae6b39c74978862a3d2974af1f51083b5400624b
parentbfea1f0f186ed9f8484968e8e04b10174f10999c (diff)
parent7019504be2d831482915aea298fc4d0b4b1ccad6 (diff)
downloadchirp-f0590eb476f4c2808d28619627bd0ae2fe174f00.tar.gz
chirp-f0590eb476f4c2808d28619627bd0ae2fe174f00.tar.xz
Merge pull request #11 from markleigh/main
Gtk/gdk fix for RadioReference import/query. Fixes #10
-rw-r--r--chirp/ui/mainapp.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/chirp/ui/mainapp.py b/chirp/ui/mainapp.py
index a2cd9e4..eabdc14 100644
--- a/chirp/ui/mainapp.py
+++ b/chirp/ui/mainapp.py
@@ -1377,7 +1377,7 @@ of file.
return False
def do_radioreference(self, do_import):
- self.window.set_cursor(Gtk.Gdk.Cursor(Gtk.Gdk.WATCH))
+ self.window.set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
if not self.do_radioreference_prompt():
self.window.set_cursor(None)
return
@@ -1388,9 +1388,9 @@ of file.
# Do this in case the import process is going to take a while
# to make sure we process events leading up to this
- Gtk.Gdk.window_process_all_updates()
- while Gtk.events_pending():
- Gtk.main_iteration(False)
+ #Gtk.Gdk.window_process_all_updates()
+ #while Gtk.events_pending():
+ # Gtk.main_iteration(False)
if do_import:
eset = self.get_current_editorset()
@@ -1776,8 +1776,8 @@ of file.
<menuitem action="irfinder"/> -->
</menu>
<menu action="querysrc" name="querysrc">
- <!-- <menuitem action="qdmrmarc"/>
- <menuitem action="qradioreference"/> -->
+ <!-- <menuitem action="qdmrmarc"/> -->
+ <menuitem action="qradioreference"/>
<menu action="qrbook" name="qrbook">
<menuitem action="qrbookpolitical"/>
<menuitem action="qrbookproximity"/>