Commit 74397d3c authored by Zeeshan Ali's avatar Zeeshan Ali

web: Always refresh if explicitly asked to

Currently we were ignoring location refresh requests from subclasses if
he hadn't ignored the previous location refresh, i-e 1/2 times we were
ignoring refresh requests.

This patch fixes this unwanted behavior.
parent 24d3d112
......@@ -214,8 +214,10 @@ gclue_web_source_refresh (GClueWebSource *source)
return;
monitor = g_network_monitor_get_default ();
if (g_network_monitor_get_network_available (monitor))
if (g_network_monitor_get_network_available (monitor)) {
priv->network_available = FALSE;
on_network_changed (monitor, TRUE, source);
}
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment