Skip to content

Commit 4659f4a

Browse files
committed
Speed up TLE update when updating from network
This commit removes a redundant drawing hack from TLE update which seems to slow down the TLE download unnecessarily.
1 parent 1ff58e4 commit 4659f4a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/tle-update.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -564,12 +564,6 @@ void tle_update_from_network(gboolean silent,
564564
text = g_strdup_printf(_("Fetching %s"), files[i]);
565565
gtk_label_set_text(GTK_LABEL(label1), text);
566566
g_free(text);
567-
568-
/* Force the drawing queue to be processed otherwise there will
569-
not be any visual feedback, ie. frozen GUI
570-
- see Gtk+ FAQ http://www.gtk.org/faq/#AEN602
571-
*/
572-
while (g_main_context_iteration(NULL, FALSE));
573567
}
574568

575569
/* create local cache file ~/.config/Gpredict/satdata/cache/file-%d.tle */

0 commit comments

Comments
 (0)