<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Before you get too far down the rabbit hole, Alex, you should know that Dan is working to get chirp on wxWigets since gtk2 has<span id="ms-outlook-android-cursor"></span> been deprecated.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Tony</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> chirp_devel-bounces@intrepid.danplanet.com <chirp_devel-bounces@intrepid.danplanet.com> on behalf of Alex Page via chirp_devel <chirp_devel@intrepid.danplanet.com><br>
<b>Sent:</b> Tuesday, June 2, 2020 7:04:20 AM<br>
<b>To:</b> chirp_devel@intrepid.danplanet.com <chirp_devel@intrepid.danplanet.com><br>
<b>Subject:</b> [chirp_devel] [PATCH] Fix some GTK errors in mainapp #7923</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"># HG changeset patch<br>
# User Alex Page <a.t.page@gmail.com><br>
# Date 1591099370 14400<br>
# Tue Jun 02 08:02:50 2020 -0400<br>
# Branch py3<br>
# Node ID 64ee0e070f2298571c9b2656396c653a59e01b67<br>
# Parent d4e064ee05113349c9cfd7006e4f8cf3d5afc52b<br>
Fix some GTK errors in mainapp #7923<br>
<br>
diff --git a/chirp/ui/mainapp.py b/chirp/ui/mainapp.py<br>
--- a/chirp/ui/mainapp.py<br>
+++ b/chirp/ui/mainapp.py<br>
@@ -898,9 +898,9 @@<br>
<br>
# Do this in case the import process is going to take a while<br>
# to make sure we process events leading up to this<br>
- gtk.gdk.window_process_all_updates()<br>
+ gtk.gdk.Window.process_all_updates()<br>
while gtk.events_pending():<br>
- gtk.main_iteration(False)<br>
+ gtk.main_iteration_do(False)<br>
<br>
if do_import:<br>
eset = self.get_current_editorset()<br>
@@ -1030,9 +1030,9 @@<br>
# Do this in case the import process is going to take a while<br>
# to make sure we process events leading up to this<br>
with compat.py3safe():<br>
- gtk.gdk.window_process_all_updates()<br>
+ gtk.gdk.Window.process_all_updates()<br>
while gtk.events_pending():<br>
- gtk.main_iteration(False)<br>
+ gtk.main_iteration_do(False)<br>
<br>
fn = tempfile.mktemp(".csv")<br>
try:<br>
@@ -1142,9 +1142,9 @@<br>
# Do this in case the import process is going to take a while<br>
# to make sure we process events leading up to this<br>
with compat.py3safe():<br>
- gtk.gdk.window_process_all_updates()<br>
+ gtk.gdk.Window.process_all_updates()<br>
while gtk.events_pending():<br>
- gtk.main_iteration(False)<br>
+ gtk.main_iteration_do(False)<br>
<br>
fn = tempfile.mktemp(".csv")<br>
try:<br>
@@ -1316,9 +1316,9 @@<br>
<br>
# Do this in case the import process is going to take a while<br>
# to make sure we process events leading up to this<br>
- gtk.gdk.window_process_all_updates()<br>
+ gtk.gdk.Window.process_all_updates()<br>
while gtk.events_pending():<br>
- gtk.main_iteration(False)<br>
+ gtk.main_iteration_do(False)<br>
<br>
if do_import:<br>
eset = self.get_current_editorset()<br>
@@ -1379,9 +1379,9 @@<br>
<br>
# Do this in case the import process is going to take a while<br>
# to make sure we process events leading up to this<br>
- gtk.gdk.window_process_all_updates()<br>
+ gtk.gdk.Window.process_all_updates()<br>
while gtk.events_pending():<br>
- gtk.main_iteration(False)<br>
+ gtk.main_iteration_do(False)<br>
<br>
if do_import:<br>
eset = self.get_current_editorset()<br>
_______________________________________________<br>
chirp_devel mailing list<br>
chirp_devel@intrepid.danplanet.com<br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers">
http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</div>
</span></font></div>
</body>
</html>