Commit graph

2170 commits

Author SHA1 Message Date
Richard Hughes
1aa2ed9491 network: Show detailed information about saved wireless connections 2012-07-27 11:49:54 +01:00
Bastien Nocera
8776700a73 bluetooth: Update for killswitch API change 2012-07-26 17:56:08 +02:00
Richard Hughes
9a10722da2 network: Show the wireless speed as a seporate line in the details
...to match the mockup.
2012-07-26 15:42:00 +01:00
Richard Hughes
a0f69c0809 network: Don't crash when showing active APs that are not valid UTF8
There doesn't appear to be any standard saying you have to have ASCII/UTF-8
access point names...
2012-07-26 14:47:06 +01:00
Richard Hughes
f14b550144 network: Only show the disconnect button when a device is fully activated 2012-07-26 14:43:54 +01:00
Richard Hughes
9441a74e8a network: Add another panel for future hotspot information 2012-07-26 14:43:17 +01:00
Richard Hughes
38ea1cdefd network: Add network strength to the details panel 2012-07-26 14:29:57 +01:00
Richard Hughes
6b526f1213 network: Add network strength to the details panel 2012-07-26 14:29:38 +01:00
Richard Hughes
e7319edc9b network: Add saved connections to the wireless network list 2012-07-26 14:23:31 +01:00
Richard Hughes
5c11b6f94b network: Only show the details arrow for active connections 2012-07-26 13:47:09 +01:00
Richard Hughes
391815c2c1 network: split the wireless panel into a network list and details panel 2012-07-26 13:38:55 +01:00
Richard Hughes
22323ad6c6 network: Start to split up the network panel into different views to match the new mockup 2012-07-26 10:00:47 +01:00
Richard Hughes
125da07889 network: Remove some dead code from the conversion 2012-07-23 10:43:02 +01:00
Richard Hughes
08532a3a86 network: Prevent a crash when a device is removed and then re-added 2012-07-23 10:14:31 +01:00
Richard Hughes
b06bb9e5f3 network: Split the wifi device from the .c and .ui file 2012-07-23 10:14:05 +01:00
Matthias Clasen
5366d1188e info: Check PackageKit version at runtime
The previous patch made use use PackageKit 0.8 API. This patch
adds a version check that keeps the info panel from crashing
when it finds an older PackageKit at runtime.
2012-07-22 13:00:18 -04:00
Matthias Clasen
76add03e25 info: Adapt to PackageKit API breakage
PackageKit 0.8.x has broken several APIs that we are using here.
2012-07-22 12:59:15 -04:00
Richard Hughes
aee6325cf2 network: Add a missing file for the mobile broadband UI 2012-07-20 11:43:05 +01:00
Richard Hughes
de8993eddb network: Allow NetObjects to get the main panel object so they can show modal dialogs 2012-07-20 09:31:12 +01:00
Richard Hughes
26b5169bee network: Split the mobile broadband device from the .c and .ui file 2012-07-20 09:31:12 +01:00
Richard Hughes
62b8a4c8bb network: Add a NetObject->edit vfunc for the different devices to use 2012-07-20 09:31:12 +01:00
Richard Hughes
a808633484 network: Split the wired device from the .c and .ui file 2012-07-20 09:31:11 +01:00
Richard Hughes
5644bd6e62 network: Add panel_set_device_widgets() to the widget common code
We can use this from the different NetDevice types, and once all the devices are
converted to actual NetDeviceFoo-style objects we can remove the legacy code in
cc-network-panel.c
2012-07-20 09:31:11 +01:00
Matthias Clasen
1e4b0649f4 region: Handle being opened twice gracefully
When the going from the region panel to the overview and back,
the input methods in the list loose their display names. What
is happening is that we recreate the ibus object, but the second
time around it is already connected since ibus uses a shared
singleton connection internally. Thus, the ::connected signal
is never emitted, and we don't fetch the engines.

Work around this by checking if the newly created ibus object
is already connected, and directly calling fetch_ibus_engines
if it is. To make this work, we have to set up the treeview
with its model earlier.
2012-07-19 21:38:48 -04:00
Matthias Clasen
0af48c80a9 region: Make the code more robust
update_ibus_active_sources may very well be called with
an empty treeview. The code that iterates over the model
was assuming that there is at least one item. Fix that
by checking the return value of gtk_tree_model_get_iter_first().
2012-07-19 21:35:49 -04:00
Olivier Fourdan
06554439b7 wacom: Do calibration for the selected tool only
As different tools may have different resolutions (e.g.
touch vs. stylus on tablets which support both).

https://bugzilla.gnome.org/show_bug.cgi?id=680114
2012-07-19 16:39:36 +01:00
Olivier Fourdan
f004ecb17d wacom: Fix critical warning after calibration
g_variant_new_array() creates a floating reference and
g_settings_set_value() consumes it, so don't unref the GVariant
ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=680171
2012-07-19 16:37:02 +01:00
Richard Hughes
00c51443ae network: Add some more widget setting common code 2012-07-17 16:56:59 +01:00
Richard Hughes
f4c13e835b network: Move setting the device header pairs to common panel code
This is yet another step to splitting out the other devices types.
2012-07-17 16:56:59 +01:00
Giovanni Campagna
95d0a2e537 screen: add "Show Notifications" setting
Add a checkbox to control the visibility of notifications when
the screen is locked.

https://bugzilla.gnome.org/show_bug.cgi?id=658660
2012-07-17 15:50:40 +01:00
Richard Hughes
7e5654bf48 network: Fix a trivial GTK warning at startup about a missing widget 2012-07-17 14:17:11 +01:00
Richard Hughes
6de161617a network: Fix the VPN information my setting the connection at object construction time 2012-07-17 14:17:11 +01:00
Richard Hughes
96f7cbae90 network: Return success from panel_set_notebook_page_for_object()
This is so we can run the panel with both old-style and new-style NetDevices
whilst we are migrating the device kinds.
2012-07-17 10:21:26 +01:00
Richard Hughes
e72194482e network: Remove some unused code 2012-07-17 10:21:26 +01:00
Richard Hughes
3c2a09294c network: Set the device properties at construct time
We need this for more complicated devices that need to contact other daemons,
for instance ModemManager.
2012-07-17 10:21:26 +01:00
Richard Hughes
cd765a1267 network: Export net_device_get_find_connection() so it can be used by future network devices 2012-07-17 10:21:26 +01:00
Richard Hughes
5d17320817 network: Add a GObject nm-device property for NetDevice 2012-07-17 10:21:26 +01:00
Richard Hughes
f9e2828f77 network: Add a NMRemoteSettings property to NetObject for future use 2012-07-17 10:21:26 +01:00
Richard Hughes
b48fc1b65c network: Add a GCancellable property to NetObject for future use 2012-07-17 10:21:26 +01:00
Richard Hughes
7fcc4666ac network: Set the correct page when using mobile broadband devices 2012-07-17 10:21:13 +01:00
Matthias Clasen
64150f1458 Avoid losing the selection
When the active input sources list is changed in any way (add or
remove or reorder a source), we write the list to the setting,
and then we get a changed signal for the setting, and rebuild
the list from the setting. Doing so loses the selection, unless
we take extra precaution to keep it.

https://bugzilla.gnome.org/show_bug.cgi?id=680027
2012-07-17 00:01:54 -04:00
Matthias Clasen
54835c8f44 Remove one more leftover reference to a filter model
The active input sources are no longer stored in a filter model.
Also, use gtk_list_store_insert_with_values for atomic insertion.
2012-07-16 23:59:03 -04:00
Olivier Fourdan
1fdfa6bc32 wacom: show calibration success
by drawing an "emblem-ok-symbolic" icon when calibration is
successful

https://bugzilla.gnome.org/show_bug.cgi?id=668610
2012-07-16 17:25:13 +01:00
Matthias Clasen
953cc81b0f Region: Remove references to a no-longer-existing filter model
There was some code left around for dealing with a filter model,
but we don't have the active input sources in a filtered list
anymore. This was leading to crashes when removing or rearranging
input sources.
2012-07-16 12:13:18 -04:00
Bastien Nocera
ab0594239c region: Fix compilation failure
A use of the removed tree_view_get_actual_model() crept in.
2012-07-16 17:05:48 +01:00
Bastien Nocera
661019dadc region: Remove unneeded signal blockers
The value isn't going to change from under us, as the settings
object is in delayed mode.
2012-07-16 15:24:23 +01:00
Rui Matos
3579d7bb97 region: Try to keep the current input source when modifying the list
When modifying the input sources list the currently active source's
index might change. We must change the current setting accordingly to
keep it active.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:23:37 +01:00
Rui Matos
49f7d379bc region: Fix a couple of memory leaks
Unref the GSettings object and build the GnomeXkbInfo only
once. There's no need to free and keep rebuilding the latter since it
doesn't keep any state and is a bit expensive to build.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:18:33 +01:00
Bastien Nocera
03f08fd36c region: Never hide items from view
If IBus is unavailable to get the input source's display name,
just show the ID instead, and populate the display name when we get
a change (eg. when fetching the input sources from IBus is done).
2012-07-16 15:17:24 +01:00
Rui Matos
5e737900b0 region: Wire up the input source settings button
For XKB input sources the settings button remains unsensitive. For
IBus sources we make it sensitive and launch the engine's setup tool
on clicked if there is one.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-07-16 15:17:24 +01:00