[gnome-software/jrocha/open-wifi-panel-when-offline-instead: 29/29] updates: Open the WiFi panel when clicking the Network Settings button
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/jrocha/open-wifi-panel-when-offline-instead: 29/29] updates: Open the WiFi panel when clicking the Network Settings button
- Date: Tue, 26 Jun 2018 23:10:57 +0000 (UTC)
commit 9f76ba245fc22fb1e92b4fc836f45ef5a2ab9bd3
Author: Joaquim Rocha <jrocha endlessm com>
Date: Thu May 3 14:36:05 2018 +0200
updates: Open the WiFi panel when clicking the Network Settings button
When the updates page is offline, a "Network Settings" button is shown
and it opens the Network panel in GNOME Control Center. While this is
fine for users that have wired connections, it's not very useful for
WiFi users. Thus, taking into account that most users connect to WiFi
networks, we're changing the button to open the WiFi settings panel
instead.
src/gs-updates-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-updates-page.c b/src/gs-updates-page.c
index fa77dbd9..fb6f8606 100644
--- a/src/gs-updates-page.c
+++ b/src/gs-updates-page.c
@@ -1325,7 +1325,7 @@ static void
gs_updates_page_show_network_settings (GsUpdatesPage *self)
{
g_autoptr(GError) error = NULL;
- if (!g_spawn_command_line_async ("gnome-control-center network", &error))
+ if (!g_spawn_command_line_async ("gnome-control-center wifi", &error))
g_warning ("Failed to open the control center: %s", error->message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]