Commit graph

1088 commits

Author SHA1 Message Date
Matthias Clasen
069c35d84e Network: fix an oversight in visibility handling
The last change made the VPN header invisible by accident.
2011-03-15 20:12:58 -04:00
Matthias Clasen
41af4a3e42 Network: Get the correct VPN state
The connection that gets passed to NetVPN is not a state-carrying
NMActiveConnection, but just a configuration-carrying NmRemoteConnection.
So asking it for the VPN connection state is never giving us anything
interesting. Instead, we need to fish out the active connection
corresponding to the VPN config (if any), and get the state from there.
Still todo: state change notification.
2011-03-15 20:12:58 -04:00
Bastien Nocera
211461007c region: Make drag'n'drop work
By making sure we only store the layouts in the list store, and keep
GSettings in sync with the list store, rather than constantly re-reading
from GSettings.

https://bugzilla.gnome.org/show_bug.cgi?id=644783
2011-03-15 22:41:07 +00:00
Bastien Nocera
ef11349667 region: Stop layout add dialogue from "jumping"
By making sure it's not shown before its parent is set.
2011-03-15 22:41:06 +00:00
Matthias Clasen
4081d83ca7 network: add a way to get the vpn connection object back
This will be needed to activate/deactivate vpn.
2011-03-15 17:20:54 -04:00
Matthias Clasen
3163675d85 network: fix a typo
Use an existing id for the proxy method model.
2011-03-15 16:34:30 -04:00
Matthias Clasen
6f916b00b9 network: Don't leak the remote settings
Instead, we keep it around; it will be useful later on.
2011-03-15 16:33:01 -04:00
Marek Kasik
c7179b6901 printers: Set longer timeout for installation of printer driver
Don't timeout when installing printer drivers.
2011-03-15 12:03:58 +01:00
Bastien Nocera
7ae3dffc8b datetime: Disable test-timezone for now 2011-03-15 02:02:29 +00:00
Bastien Nocera
56cd9069ee datetime: Don't crash when the timezone is unknown
Passing "posixrules" to cc_timezone_map_set_timezone() certainly
won't work that well.

https://bugzilla.redhat.com/show_bug.cgi?id=684593
2011-03-15 01:58:29 +00:00
Bastien Nocera
33fb810c84 datetime: Add test program for missing TZ support
We don't handle a number of timezones currently, including
things like "posixrules", or even "Etc/GMT".
2011-03-15 01:58:29 +00:00
Bastien Nocera
31be5be9c7 datetime: Add hacks to support more timezones
Such as posix/Europe/London, and the likes.
2011-03-15 01:58:29 +00:00
Bastien Nocera
cb3c0af71d datetime: Return FALSE when we fail to find a timezone 2011-03-15 01:58:29 +00:00
Bastien Nocera
9ab02da28b datetime: Rename test-timezone to test-timezone-gfx 2011-03-15 01:58:29 +00:00
Matthias Clasen
b160c1549b Network: Implement and show on/off switch for wireless/wimax
These map to nm_client_wireless/wimax_set/get_enabled.
2011-03-14 19:23:10 -04:00
Bastien Nocera
b7f42ae161 sound: Remove old support code for PA < 0.9.15 2011-03-14 22:23:22 +00:00
Matthias Clasen
a320dc9303 Network: Add a device off switch
As seen in the mockups. This is currently hidden, until
I figure out how to wire this up properly.
2011-03-14 17:05:05 -04:00
William Jon McCann
d892e1b6b8 printers: use dim-label to accentuate values 2011-03-14 14:56:03 -04:00
William Jon McCann
936175eddf user-accounts: use dim-label class instead of hardcoded color 2011-03-14 14:56:03 -04:00
William Jon McCann
242381cd85 info: use dim labels
Use a style class for labels that accentuates the value instead of
the label text.
2011-03-14 14:56:03 -04:00
Matthias Clasen
12591bbc2c Network: Fix label alignment
The DNS fields are wrapping, and need to be left-aligned to
look ok in that case.
2011-03-14 13:17:51 -04:00
Marek Kasik
080dabe3e4 printers: Call cupsGetDevices() asynchronously
This patch makes PpNewPrinterDialog to call DevicesGet method
asynchronously now.
It also adds spinner to the lower left corner with label showing
status of this operation (#644212).
2011-03-14 17:21:39 +01:00
Matthias Clasen
4109335861 Mouse: set up scroll method radios initially
The panel was always coming up with scrolling disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=644223
2011-03-13 00:40:24 -05:00
Matthias Clasen
451b7edf37 Mouse: don't reuse the same adjustments
The acceleration and sensitivity sliders on the mouse and touchpad
tabs were sharing the same adjustment, which doesn't really work.

https://bugzilla.gnome.org/show_bug.cgi?id=644223
2011-03-13 00:40:24 -05:00
Sergey V. Udaltsov
d120490013 Using separate window group to avoid modal shadowing
The idea by mclasen. Non-modal preview for modal "add layout" popup
2011-03-13 01:05:51 +00:00
Frédéric Péters
367f1ab790 Add missing timezone files
https://bugzilla.gnome.org/show_bug.cgi?id=630261
2011-03-13 07:16:24 +08:45
Matthias Clasen
243c11712b Network: fix some alignment and focus issues
Make the wireless network combo focusable, but not editable.
Make all the proxy labels right-aligned and equal size.
There is still an overall size problem with the proxy page.
2011-03-12 15:50:40 -05:00
Matthias Clasen
bc34b87775 Network: Reinstate the proxy method model
Glade was playing tricks on me there.
2011-03-12 15:12:53 -05:00
Matthias Clasen
9f07f2b9be Network: Add mnemonics
Make the panel keynav friendly by setting up mnemonics for active
controls.
2011-03-12 15:02:58 -05:00
Matthias Clasen
ed5f4f5fdf Network: Add Option buttons
Following the design. These are currently hidden, until we have
something to show there.
2011-03-12 14:27:22 -05:00
Florian Müllner
29b2b6cb05 sound: Add introspection info for new GIcon function 2011-03-11 16:29:39 +00:00
Colin Guthrie
a9555f52d0 sound: Use upstream value for amplified volume
In order to standardise various separate volume UIs,
upstream PulseAudio has made a new define available for the
recommended
maximum volume to show in UIs. This volume was chosen to be
similar to the value currently employed in gvc but also be
based on dB values rather than a multiple of PA_VOLUME_NORM.

The 150% value previously used mapped to +10.57dB with the
current cubic volume mapping. In the interests of sanity,
and with a tip of the hat to Spinal Tap, we decreed that the
value should be +11dB. This is approx 153% which is doesn't really
change the visual look of GVC.

I will also be recommending other volume controls use this new
value so everyone can use the mixer they want.

This one goes up to 11. :)

References:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
http://en.wikipedia.org/wiki/Up_to_eleven

https://bugzilla.gnome.org/show_bug.cgi?id=644292
2011-03-11 16:29:39 +00:00
Bastien Nocera
83c681ee9e sound: Fix ordering of typedefs
When building without PulseAudio includes.
2011-03-11 16:29:39 +00:00
Richard Hughes
ed04eaeb03 network: ensure we refresh the UI if coldplug devices are changed 2011-03-11 16:13:17 +00:00
Richard Hughes
3bee2844a7 network: use the new network-wired-disconnected icon
You need to build a gnome-icon-theme from git for this to work correctly.
2011-03-11 15:56:49 +00:00
Richard Hughes
96026dae34 network: do not show a speed of zero for any device 2011-03-11 15:53:54 +00:00
Richard Hughes
eeac17e226 network: display a different icon if the wired ethernet device is disconnected 2011-03-11 15:15:12 +00:00
Richard Hughes
4fc48a3fb3 network: a disconnected wired connection is 'Unplugged', not 'Disconnected' 2011-03-11 15:15:12 +00:00
Bastien Nocera
639e87724e datetime: Make 24h setting changeable without unlocking
https://bugzilla.gnome.org/show_bug.cgi?id=643891
2011-03-11 13:16:51 +00:00
Bastien Nocera
0d2903f1c4 datetime: Change combobox when map is clicked
https://bugzilla.redhat.com/show_bug.cgi?id=684072
2011-03-11 13:02:36 +00:00
Richard Hughes
7914025e1f network: show the VPN connection state in the panel header 2011-03-11 12:56:14 +00:00
Richard Hughes
bb70c1bd1a network: use an abstract device so we can get the VPN connection data 2011-03-11 12:29:40 +00:00
Richard Hughes
199774f087 network: never show the loop device if IP4 data isn't available 2011-03-11 10:28:08 +00:00
Frédéric Péters
d0704a6882 Fix linking of libshortcuts against X
https://bugzilla.gnome.org/show_bug.cgi?id=644410
2011-03-11 08:54:42 +01:00
Matthias Clasen
31c90f3ad5 Sound: Fix scroll event handling of channel bars
Scrolling in any direction always went down. Very frustrating
experience...
https://bugzilla.gnome.org/show_bug.cgi?id=644462
2011-03-10 21:44:45 -05:00
Matthias Clasen
5eaf72f654 Printers: Attach 'add printer' dialog to toplevel
It was already transient-for and modal, just missing the
right window type.
https://bugzilla.gnome.org/show_bug.cgi?id=644213
2011-03-10 19:39:08 -05:00
Matthias Clasen
22bd03db52 Screen: Fix the delay acrobatics
The special-casing of lock delay 0 was wrong, since the > 0 check
was happening after converting to absolute.
https://bugzilla.gnome.org/show_bug.cgi?id=644403
2011-03-10 19:03:51 -05:00
Richard Hughes
2ef2db18a0 network: add the work in progress VPN code
More to follow tomorrow...
2011-03-10 18:30:48 +00:00
Richard Hughes
282e084301 network: display the IPv6 address if one is provided for the device 2011-03-10 18:30:48 +00:00
Richard Hughes
8fd8cb5d51 network: Hide UI controls that are not connected up to anything yet 2011-03-10 14:54:23 +00:00