<div dir="ltr"><div>LOL, thanks. I was hoping the rabbit hole wasn't too deep. I did see Issue #7431, so my goal was just to shore up the Python3 and GTK stuff for now in order to use CHIRP in Ubuntu 20.04. All the features I use seem to be working after the 9 patches I sent.<br></div><div><br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 12:34 PM Tony Fuller <<a href="mailto:goldstar611@hotmail.com">goldstar611@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;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="gmail-m_4935635575065463644ms-outlook-android-cursor"></span> been deprecated.<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
Tony</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_4935635575065463644divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:chirp_devel-bounces@intrepid.danplanet.com" target="_blank">chirp_devel-bounces@intrepid.danplanet.com</a> <<a href="mailto:chirp_devel-bounces@intrepid.danplanet.com" target="_blank">chirp_devel-bounces@intrepid.danplanet.com</a>> on behalf of Alex Page via chirp_devel <<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a>><br>
<b>Sent:</b> Tuesday, June 2, 2020 7:04:20 AM<br>
<b>To:</b> <a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a> <<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a>><br>
<b>Subject:</b> [chirp_devel] [PATCH] Fix some GTK errors in mainapp #7923</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div># HG changeset patch<br>
# User Alex Page <<a href="mailto:a.t.page@gmail.com" target="_blank">a.t.page@gmail.com</a>><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>
<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">
http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</div>
</span></font></div>
</div>
</blockquote></div>