Commit graph

2721 commits

Author SHA1 Message Date
Marek Kasik
27aa41f5c1 printers: Visual improvements of driver selection dialog
Make the dialog bigger (600x400). Add padding between list of manufacturers
and the list of drivers. Add padding to manufacturers and drivers lists.
Change Manufacturers and Drivers to singular. Trigger resizing of treeview
when list has changed so it has optimal width.

https://bugzilla.gnome.org/show_bug.cgi?id=690448
2013-02-15 16:07:39 +01:00
Thomas Bechtold
07aaa06b1e network: Plug memory leaks 2013-02-15 15:19:19 +01:00
Ondrej Holy
67f83cdbe0 mouse: initialize click state
Fix bad state and critical error caused by reopening mouse test panel in clicked state.

https://bugzilla.gnome.org/show_bug.cgi?id=693803
2013-02-15 14:51:59 +01:00
Bastien Nocera
a55000a294 network: Fix compile-time warnings 2013-02-15 13:45:28 +01:00
Thomas Bechtold
b5335bf2e7 network: Plug memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=693879
2013-02-15 13:45:28 +01:00
Cosimo Cecchi
f0b3d1afaa sharing: fix a GCC warning 2013-02-14 20:21:43 -05:00
Dan Winship
dcb932bd9d network: fix initial sensitivity of editor "Add" button
The "only make Apply/Add sensitive if something changed" rule should
not apply to new connections; they are already "changed".

https://bugzilla.gnome.org/show_bug.cgi?id=693659
2013-02-14 14:43:25 -05:00
Dan Winship
510998041a network: mark connection editor changed when editing IPv4/IPv6 pages
When this got rewritten to be different from nm-connection-editor's,
some of the ce_page_changed() calls accidentally got dropped, so
certain changes on these pages would not cause the "Apply" button to
become sensitive.

https://bugzilla.gnome.org/show_bug.cgi?id=693659
2013-02-14 14:43:13 -05:00
Richard Hughes
c0ab4228c7 color: When calibrating inhibit logout, switching users and suspending 2013-02-14 15:49:40 +00:00
Thomas Wood
4d6d7253ed sharing: start or stop Rygel when Media Sharing is enabled or disabled
Ensure Rygel is started when the Media Sharing option is enabled and
stopped when it is disabled. This also adds and removes Rygel from the
autostart directory as appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=692702
2013-02-14 15:02:38 +00:00
Volker Sobek
f05d86d3c2 network: Fix typos that prevented building
This fixes commit 6b48994bdb.

https://bugzilla.gnome.org/show_bug.cgi?id=693787
2013-02-14 13:45:13 +01:00
Michael Catanzaro
973d1cac6b user-accounts: Don't reject passwords that pwquality says are ok
Fix for the OK button being insensitive for many "weak" passwords

Also fixes "not good enough" password being accepted

https://bugzilla.gnome.org/show_bug.cgi?id=691907
2013-02-14 10:10:27 +01:00
Dan Winship
6b48994bdb network: disable the Hotspot button if the device does not support it
If the wireless device doesn't support either of the two possible
hotspot modes, disable the button. Also, add a tooltip to the button
when it's disabled, explaining why ("device does not support" or
"system policy prohibits").

https://bugzilla.gnome.org/show_bug.cgi?id=675317
2013-02-14 10:02:11 +01:00
Cosimo Cecchi
f064b653df privacy: remove redundant option from the recent files combobox
Since we already have a switch to disable recent files entirely, don't
add another option in the combobox for that.

https://bugzilla.gnome.org/show_bug.cgi?id=693706
2013-02-13 11:15:32 -05:00
Richard Hughes
18ee39488e color: Put the device switch on a diet to match the mockups 2013-02-13 11:57:34 +00:00
Jeremy Bicha
5ed961f546 network: Add accessibile labels to buttons in the popup dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=693657
2013-02-12 18:07:17 -05:00
Jeremy Bicha
7061457da4 network: Set mnemonic labels for editable text fields for a11y
https://bugzilla.gnome.org/show_bug.cgi?id=693657
2013-02-12 18:07:15 -05:00
Jeremy Bicha
5cbc89d749 network: Add more mnemonic_widget relations for accessibility
https://bugzilla.gnome.org/show_bug.cgi?id=693657
2013-02-12 18:07:14 -05:00
Aleksander Morgado
d28b756e61 network: try to guess operator name from MCCMNC or SID
When the network doesn't provide a valid text string with the current operator
name, try to guess it using either the 3GPP MCCMNC pair or with the CDMA SID.

Guessing is based on the Mobile Providers Database for which there is an API in
libnm-gtk (>= 0.9.7.995).

The same logic to guess operator name is used in gnome-shell.
2013-02-12 17:43:04 +01:00
Aleksander Morgado
0225d1a9e7 network: include support for the 'ModemManager1' interface
The control-center will automatically detect whether the modems exposed by
NetworkManager are from the old or the new interface, and if they are from the
new one it will use the libmm-glib support to gather the required information
from them.

The new ModemManager1 interfaces are exposed by ModemManager >= 0.7; and provide
lots of new functionalities, like:
  * Improved connection bearer handling (e.g. multiple bearers at the same time)
  * Location support (GPS, LAC/CI, CDMA BS...)
  * Full SMS support through the new 'Messaging' interface.
  * ...
2013-02-12 17:43:02 +01:00
Aleksander Morgado
f094cc0e6e Revert "network: Allow compiling against NM 0.9.6"
This reverts commit ec704ab62f.

This will effectively bump again the NM requirement to 0.9.7.995.
2013-02-12 17:42:59 +01:00
Matthias Clasen
d5bcf412d0 users: Add accessible labels in history dialog
The previous/next week buttons were being read by orca
as just 'pushbutton', which is not very useful.

https://bugzilla.gnome.org/show_bug.cgi?id=693542
2013-02-12 10:07:02 -05:00
Bastien Nocera
1de4c2c4ad privacy: Clarify "Lock Screen After" string
To mention that it's the amount of time after we blanked.
2013-02-12 14:56:12 +01:00
Bastien Nocera
3cfb948f05 power: Simplify "Mark As Inactive After" string
"Blank Screen" as that's what we're going to do.
2013-02-12 14:54:50 +01:00
Bastien Nocera
4300935968 power: Split lines in auto-suspend dialogue 2013-02-12 14:51:29 +01:00
Bastien Nocera
89c3863a7c power: Make 15 mins < suspend idle time < 2h
So that the suspend idle time is always higher than the blank
idle time, from a minimum of 15 minutes up to 2 hours.
2013-02-12 14:38:08 +01:00
Bastien Nocera
a1848fb70a power: Make 0 < idle-time < 15 minutes 2013-02-12 14:34:11 +01:00
Matthias Clasen
98dbd0ec0c color: Make all controls keyboard-accessible
The buttons in the toolbar were not focusable, for no good reason.

https://bugzilla.gnome.org/show_bug.cgi?id=693544
2013-02-12 08:04:31 -05:00
Matthias Clasen
6ab31ef667 color: Add accessible labels to controls
The switch and arrow button were read by orca as just
'Switch pushbutton' and 'pushbutton', respectively, which
is not really helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=693543
2013-02-12 08:04:31 -05:00
Matthias Clasen
a0de63dfad network: Be more careful in ignoring shared connection
It was possible for us to accidentally use the shared
connection for naming all access points.
https://bugzilla.gnome.org/show_bug.cgi?id=692921
2013-02-12 07:57:02 +01:00
Matthias Clasen
3644a72e59 power: Improve accessibility
The battery levelbars should have a labelled-by relation to the
percentage labels, so orca knows that these two belong together.

https://bugzilla.gnome.org/show_bug.cgi?id=693564
2013-02-11 18:25:04 -05:00
Matthias Clasen
cea45f707c network: Improve accessibility
Add accessible names for a number of switches and buttons which
don't have meaningful representation in orca, otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=693552
2013-02-11 18:22:11 -05:00
Dan Winship
15baea4720 network: display "device state reason", and remove duplicate code
For disconnected/unavailable devices, show the localized
NMDeviceStateReason next to the localized NMDeviceState (and not in
the tooltip). Also, move the code to do this into panel-common rather
to save some duplication.

https://bugzilla.gnome.org/show_bug.cgi?id=676117
2013-02-11 12:46:49 -05:00
Dan Winship
e3c9f53a09 network: fix warnings when virtual connections exist
Fix the call to nma_utils_disambiguate_device_names() to filter out
any NULL NMDevices, to avoid warnings.
2013-02-11 12:46:49 -05:00
Cosimo Cecchi
0969b36a65 network: unfuzzy symbolic buttons and make them square
Use the 'image-button' style class to make symbolic buttons square
(as supported by latest Adwaita), and make sure to use the correct icon
size for all symbolics to avoid fuzzyness.

https://bugzilla.gnome.org/show_bug.cgi?id=693357
2013-02-11 11:43:43 -05:00
Cosimo Cecchi
2acd6a5303 network: add some spacing between rows
In the IPv4/IPv6 pages the grid packing address controls has no spacing
at all.

https://bugzilla.gnome.org/show_bug.cgi?id=693357
2013-02-11 11:43:43 -05:00
Cosimo Cecchi
c0242f2fb3 network: fix some alignment issues
If you click the sections in the left side treeview, some of the
elements in the right page headers will move a couple of pixels.
Also, since the WPAD warning label was always visible, the alignment of
the controls section in the Proxy page was suboptimal.

https://bugzilla.gnome.org/show_bug.cgi?id=693357
2013-02-11 11:43:43 -05:00
Jeremy Bicha
b7b8cd056a power: Add missing mnemonic_widget relations
Works better in Orca

https://bugzilla.gnome.org/show_bug.cgi?id=693436
2013-02-08 12:36:53 -05:00
Debarshi Ray
d58d426d34 online-accounts: Use g_warning instead of goa_warning
goa_warning is meant for goa-daemon, and it does not really add any
value in this case. Switching to g_warning lets us cut down on the
number of symbols that are exported from libgoabackend.

https://bugzilla.gnome.org/show_bug.cgi?id=693261
2013-02-07 12:59:00 +01:00
Matthias Clasen
2de037d882 network: More consistent page headings
The vlan page (and other virtual devices) use network-simple.ui,
and the off switch in that pages heading was not centered relative
to the rest of the heading, as it is in other pages. This shows
up as the switch jumping up and down as you switch pages.

https://bugzilla.gnome.org/show_bug.cgi?id=693004
2013-02-06 20:19:13 -05:00
Matthias Clasen
28ea402af2 network: more consistent page headings
The new design has left-aligned page headings. Make it so for all
pages. The ones still centered were mobile, proxy and vpn.

https://bugzilla.gnome.org/show_bug.cgi?id=693003
2013-02-06 20:13:06 -05:00
Matthias Clasen
7f13d109d7 network: Sort out symbolic icons
In bug 689638, the designers only asked for the list icons
to be symbolic, not the big icons in the page headings. The
current code was failing on both ends: virtual devices like
vlan still had non-symbolic icons in the list, and several
pages (e.g mobile and proxy) had symbolic icons in the headings.

https://bugzilla.gnome.org/show_bug.cgi?id=693001
2013-02-06 17:54:39 -05:00
Dan Winship
f85aed9516 network: disable "Apply" in editor if connection hasn't changed
https://bugzilla.gnome.org/show_bug.cgi?id=692925
2013-02-06 16:20:27 -05:00
Dan Winship
ec704ab62f network: Allow compiling against NM 0.9.6
NM 0.9.7 has still not been released, even as a tarball, so allow
compiling against 0.9.6 (without certain bits of new functionality).

https://bugzilla.gnome.org/show_bug.cgi?id=691721
2013-02-06 16:06:01 -05:00
Richard Hughes
3ac77e5d47 color: Do not unselect the first GtkTreeView item on realize as it makes the UI flicker 2013-02-06 15:22:48 +00:00
Richard Hughes
edc9286a0a color: Do not show the user display types the selected sensor does not support
Additionally, hide the display types page if the sensor only supports one
display technology.
2013-02-06 15:07:06 +00:00
Richard Hughes
dc77c05e91 color: Set the default calibration quality to medium 2013-02-06 12:39:45 +00:00
Richard Hughes
fe3a7df31e color: Show sRGB and AdobeRGB profiles when selecting a profile for a display
The logic here is that you can make expensive hardware emulate a known color
space, for which you shouldn't need to generate a custom profile for.
2013-02-04 11:48:47 +00:00
Richard Hughes
e759f28020 color: Remove some conditional code, the colord dep is new enough 2013-02-04 11:47:05 +00:00
Richard Hughes
4e33954d94 color: Do not show the profile warning label if there are no profiles
This can happen if gnome-settings-daemon is not running or the device type is a
camera.
2013-02-03 23:29:06 +00:00