Commit graph

2257 commits

Author SHA1 Message Date
Benjamin Berg
a61f0654b9 display: Fix coordinate calculations
https://bugzilla.gnome.org/show_bug.cgi?id=681475
2012-09-16 17:09:45 -04:00
Matthias Clasen
bfca71076d users: Fix a typo
One translatable string contained the typo 'enterpise logins',
where it should have said 'enterprise logins'. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=684122

This commit updates the msgid in all .po files, so translations
should not be negatively affected by this string change.
2012-09-16 16:15:22 -04:00
Matthias Clasen
f251788f9a region: Fix a layout problem on the system tab
The Format: row was being pushed to the bottom, and when the
input sources value was longer on the one side than the other,
the horizontal alignment was broken.
2012-09-16 15:52:49 -04:00
Bastien Nocera
914e8b2562 region: Handle input sources in the system tab
Unfortunately we don't have a way yet to make gsettings system wide
defaults so we are just using the localed API to export the XKB input
sources and ignore the IBus ones.

https://bugzilla.gnome.org/show_bug.cgi?id=683875
2012-09-16 13:33:05 -04:00
Debarshi Ray
b68b6d84cd online-accounts: Get rid of extra "Add Account" label
Back in the day when titles were not shown for modal dialogs we added
the big "Add Account" label. Now that modal dialogs have titles, we
don't need it anymore.

Fixes: https://bugzilla.gnome.org/684013
2012-09-14 13:38:06 +02:00
Rui Matos
1e0192555b region: Create a source from the X layout in use when setting is empty
We don't want to show an empty input sources list so we create a
source from the current X layout in case the setting is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=683879
2012-09-14 03:07:45 +02:00
Rui Matos
fb6881d53b region: Handle the case of an empty input sources list
We would end up in an endless loop on update.

https://bugzilla.gnome.org/show_bug.cgi?id=683879
2012-09-14 03:07:45 +02:00
Matthias Clasen
98040db22a network: No selection in the wifi list
Set the selection mode to none, to avoid a meaningless and
distracting blue selection in the wifi list.
2012-09-13 15:50:50 +01:00
Matthias Clasen
794b89d561 network: Handle activation in the wifi list better
Instead of manually handling button release events on the
treeview, use activatable cell renderers for the ssid text
and for the arrow, and connect to activate signals for them.

We use cell area focus-sibling technology to make the keynav
in the list just have focus locations for the ssid and the
arrow.

This makes the details pages reachable by keynav, which was
not the case before.
2012-09-13 15:50:50 +01:00
Matthias Clasen
24968aad71 network: Add cell renderers
These are activatable variants of text and pixbuf cell
renderers. They emit an 'activate' signal when clicked
or activated by keyboard.
2012-09-13 15:50:49 +01:00
Matthias Clasen
292c8b9fe6 network: Don't override cell renderer properties
The mode cell renderer had a property named 'mode', which
clashed with the GtkCellRenderer property of that name, which
confused the treeview keynav.

Rename the new property to ap-mode.
2012-09-13 15:50:49 +01:00
Matthias Clasen
701fb2846f network: Avoid critical warnings
Remove the reference to the new longer existing viewport_list
widget, and be more careful about getting a NMRemoteSettings
object when calculating the last used time.
2012-09-13 15:50:49 +01:00
Matthias Clasen
36958cbf84 network: Improve the wifi list appearance
Use non-symbolic icons for the arrow, and add padding around the
arrow and the check mark.

https://bugzilla.gnome.org/show_bug.cgi?id=682270
2012-09-13 15:50:49 +01:00
Matthias Clasen
a04445ebd7 network: Remove one more reference to the subnet widgets 2012-09-13 15:50:48 +01:00
Matthias Clasen
7882874a14 network: Remove a reference to a no-longer existing widget 2012-09-13 15:50:48 +01:00
Matthias Clasen
63fd710f83 network: Small tweak for vpn page
Make selectable labels on the vpn page focusable as well.
2012-09-13 15:50:48 +01:00
Matthias Clasen
aec8cdd7f1 network: Don't show subnet for wired either
We don't show it for wifi details, and it is causing ugly warnings
from the setting code.

At the same time, make all selectable labels on the wired page
focusable as well, to be consistent with wifi.
2012-09-13 15:50:47 +01:00
Matthias Clasen
17e3c23cd5 network: Remove references to no-longer existing widgets
And also make sure the initial focus on the details page is
always on the back button.
2012-09-13 15:50:47 +01:00
Matthias Clasen
75d815ded3 network: Remove the saved-ap tab
Saved connections without an access point are now shown
in the same tab as all the others.
2012-09-13 15:50:47 +01:00
Matthias Clasen
18248493d5 network: Remove an unused object from the ui file 2012-09-13 15:50:47 +01:00
Matthias Clasen
32c29a3f25 network: Only show 'Out of range' when appropriate
Showing it whenever we have a saved connection goes wrong for
all items where we have both an ap and a saved connection.

Also, use the same details page for out-of-range saved connections.
2012-09-13 15:50:46 +01:00
Matthias Clasen
3871d52947 network: Make 'Connect to hidden' work again 2012-09-13 15:50:46 +01:00
Matthias Clasen
f10a29b10f network: Make all values selectable and focusable
Also, sort them so that the focus chain makes sense.
2012-09-13 15:50:46 +01:00
Matthias Clasen
78e9ed9cea network: Say 'never' when the connection hasn't been used
Nicer to say 'Last used: never', then to show nothing.
2012-09-13 15:50:46 +01:00
Matthias Clasen
16011384ef network: Say 'today' instead of '0 days ago'
'Last used: 0 days ago' is odd. Also, say 'yesterday' instead
of '1 day ago'.
2012-09-13 15:50:45 +01:00
Matthias Clasen
f6aff65e64 network: Add a 'Last used' item
Copy the 'Last used' item for non-active, in-range access
points.

This is another step towards using the same details page
for all aps and connections.
2012-09-13 15:50:45 +01:00
Matthias Clasen
ab045fcc0b network: Add a period to the disconnect warning 2012-09-13 15:50:45 +01:00
Matthias Clasen
1ba197468b network: Add a 'Connect' button
When showing details of a non-active access point, replace the
'Disconnect' button with a 'Connect' button.
2012-09-13 15:50:45 +01:00
Matthias Clasen
518efcda09 network: Start handling disconnected APs correctly
When showing the details for an in-range, but not active access
point, we were just always showing details for the currently
active connection. This commit starts to sort things apart.
2012-09-13 15:50:44 +01:00
Matthias Clasen
bcbc6d1aaf network: Remove unused object from ui file
The liststore for wifi connections is now defined in
network-wifi.ui, the object in network.ui is a leftover.
2012-09-13 15:50:44 +01:00
Matthias Clasen
69a823f9a9 network: Rename a function
'Connect to hidden' is not really an access point.
Update the function name to reflect that. Also, update
the translator comment to be more to the point.
2012-09-13 15:50:44 +01:00
Matthias Clasen
ac67290cb7 network: Make the 'Settings...' buttons work properly
The code was assuming that 'editing' always means editing the
currently active connection. With the new design of the wifi
details tabs, that is no longer the case, we want to be able
to edit non-active connections. This commit makes it so.
2012-09-13 15:50:43 +01:00
Matthias Clasen
56a0be0422 network: Add more buttons
Make the details pages for in-range and out-of-range aps more
similar, by adding 'Forget Network' and 'Settings...' buttons
to both.

This is a step towards using the same details page for all
aps and connections.
2012-09-13 15:50:43 +01:00
Matthias Clasen
31dade6279 network: Mark all rows representing saved connections as such
When we find a saved connection among the access points already
in the list, we forget to mark it as saved, so the arrow to go
to the details page is not shown.
2012-09-13 15:50:43 +01:00
Matthias Clasen
ec629b73ad network: Add a separator before the arrow when needed
The separator is giving a hint that there are two clickable
areas in the row.

https://bugzilla.gnome.org/show_bug.cgi?id=682270
2012-09-13 15:50:43 +01:00
Matthias Clasen
7ef84e87e9 mouse: Fix accessible labels for switches in mouse panel
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:42:38 -04:00
Matthias Clasen
828e896e12 bluetooth: Fix accessible labels for switches in bluetooth panel
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:42:03 -04:00
Matthias Clasen
1db660c410 screen: Make notification checkbox focusable
This was certainly just an oversight, but it makes the
checkbox essentially nonaccessible.
2012-09-13 06:41:07 -04:00
Matthias Clasen
539d78cb63 universal access: Fix labels for switches in zoom options
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:37:51 -04:00
Matthias Clasen
4e24e944eb Universal access: Fix up whitespace in zoom options dialog
https://bugzilla.gnome.org/show_bug.cgi?id=683544
2012-09-13 06:37:43 -04:00
Matthias Clasen
d5a186d26c universal access: Fix accessible labels for switches
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
2012-09-13 06:37:35 -04:00
Bastien Nocera
2a88736cf6 wacom: Add link to wacom docs
And not the generic control-center docs.

https://bugzilla.gnome.org/show_bug.cgi?id=675471#c40
2012-09-12 10:24:19 +01:00
Marek Kasik
1eb906515f printers: Use GPLv2+ for files created by Marek Kasik
This commit is related to the bug #683420.
2012-09-11 15:02:26 +02:00
Bastien Nocera
0a0bc59afa printers: Avoid redefinition of UserResponseCallback
It was declared to be the same value in all three headers, which
causes problems with old version of GCC.

https://bugzilla.gnome.org/show_bug.cgi?id=683696
2012-09-10 14:55:58 +01:00
William Jon McCann
312a5dfe87 Set pixbuf renderer stock size to 32 so emblems render at 16px
https://bugzilla.gnome.org/show_bug.cgi?id=682123
2012-09-10 09:47:48 -04:00
Daiki Ueno
8af69625d3 region: Use ibus_get_language_name() to get a language from its code
ibus_engine_desc_get_language() may return an empty string or language
codes that gdm_get_language_from_name() doesn't understand. Use
ibus_get_language_name() instead to handle such cases properly.

This also allows us to use the same method in gnome-shell to get
consistent display strings.

https://bugzilla.gnome.org/show_bug.cgi?id=682851
2012-09-09 23:16:07 +02:00
Michael Terry
5f353fa2b6 power: Use GCancellable better, to avoid a crash
https://bugzilla.gnome.org/show_bug.cgi?id=683533
2012-09-07 15:37:42 -04:00
Bastien Nocera
12a319875a bluetooth: Don't break the custom widgets on connect
We used to destroy and recreate the custom widgets whenever any of
the properties changed. Now we make sure that the custom widgets are
only destroyed and recreated when the device selected is a different one.

This fixes NetworkManager's Bluetooth plugins getting destroyed
because the Connected property changed, as it was trying to connect to
the device.

https://bugzilla.gnome.org/show_bug.cgi?id=681456
2012-09-07 13:32:06 +01:00
Matthias Clasen
ba7171a579 Set a window title on the add printer dialog
Otherwise, it shows up as gnome-control-center, which is ugly.
2012-09-06 19:17:21 -04:00
Matthias Clasen
299530a7a6 Set a window title on the add network dialog
Otherwise, it shows up as gnome-control-center, which is ugly.
2012-09-06 19:12:19 -04:00