Commit graph

1483 commits

Author SHA1 Message Date
Bastien Nocera
e763a4dded display: Clean up ifdef's 2011-08-25 18:53:23 +01:00
Matthias Clasen
64419bf3c9 users: prevent autologin for disabled users
gdm can't handle this currently, so prevent this situation
from happening. Forcibly turning off the autologin when an
account is disabled is a slightly odd side-effect, but
good enough in practice.

https://bugzilla.gnome.org/show_bug.cgi?id=649816
2011-08-25 12:43:22 -04:00
Bastien Nocera
222bd72be8 user-accounts: Add translator comments for split line
https://bugzilla.gnome.org/show_bug.cgi?id=657168
2011-08-25 17:34:58 +01:00
Friedel Wolff
d5d6cdcae0 universal-access: Add translator comments
https://bugzilla.gnome.org/show_bug.cgi?id=657167
2011-08-25 17:33:06 +01:00
Bastien Nocera
bbe58b586b user-accounts: Remove trailing space in string
https://bugzilla.gnome.org/show_bug.cgi?id=657169
2011-08-25 17:31:16 +01:00
Bastien Nocera
3406d2bd47 sound: Remove trailing spaces in strings
https://bugzilla.gnome.org/show_bug.cgi?id=657169
2011-08-25 17:30:08 +01:00
Richard Hughes
00fdb2501c color: Add a new 'Learn more' button to the color panel
You need to build gnome-user-docs to get the new content.
2011-08-25 11:52:51 +01:00
Rodrigo Moya
159b81dd67 keyboard: Fix some alignment 2011-08-24 17:02:35 +02:00
Rodrigo Moya
68fcfd6493 region: Don't show region panel in Unity, it uses its own language selector 2011-08-24 17:02:35 +02:00
Richard Hughes
118aa6d1f0 color: Add a small italic indication when there are no color managed devices
This happens on most virtual machines as we can't actually correct a virtual
screen an there's not going to be many interesting USB devices plugged in.

Thanks again to the guys in #gnome-design for all the help.
2011-08-24 13:11:20 +01:00
Richard Hughes
df30d9ea06 color: If there are no profiles or devices then hide the toolbar 2011-08-24 12:35:43 +01:00
Richard Hughes
76a21bdb54 color: Do not attempt to delete the device if it's already added
This was always a workaround for a bug in colord, and we dep on a high enough
version now.
2011-08-24 12:33:23 +01:00
Richard Hughes
37eef8abac color: Remove color managed devices if they are deleted by another process
We need to store the device 'Path' not the device 'Id' in the model as we can't
connect to a device that's already been removed which we need to do when using
the ID.
2011-08-24 12:30:48 +01:00
Matthias Clasen
b937a72c16 universal access: Add more keywords to the desktop file
Some of these were proposed by Federico Mena Quintero
in bug 657189, the others just make sense.
2011-08-23 21:53:06 -04:00
Rodrigo Moya
a0f6f9c603 region: Avoid crash when systemd is not available 2011-08-23 13:01:06 +02:00
Richard Hughes
08c71b017f color: Only allow the user to import custom profiles with colord >= 0.1.12
When I was adding the color panel, we ripped out the import code as it was all
pretty hacky and hardcoded, with the intention of doing it the right way in
colord rather than in each client.

At the moment if the user selects 'Import' then the panel does nothing as the
code that would actually make it work was missing.

I've now added the required client code in colord 0.1.12 which makes it possible
to actually import files not listed in the dropdown.

This makes it possible to install a display profile that's been downloaded into
the 'Downloads' directory by firefox.
2011-08-22 23:05:40 +01:00
Richard Hughes
e06ccd9c9e color: Fix a crash where out internal state gets screwed up
I'm just looking for the real bug now.
2011-08-22 23:05:39 +01:00
Matthias Clasen
749148cda6 region: Initial implementation of 'copy to system'
This implementation is using the systemd-localed mechanism.
It currently does not support keyboard layouts, unfortunately.
2011-08-22 14:29:59 -04:00
Matthias Clasen
796cede386 region: Add some spacing to the system tab 2011-08-22 14:29:58 -04:00
Matthias Clasen
1538ab4c79 region: Ensure the system tab is updated
When the region setting is unset, we need to update the
region on the system tab also when the language changes.
2011-08-22 14:29:57 -04:00
Matthias Clasen
68c7654dfb region: show fewer regions
Rework the region list to only show regions 'matching' the current
language, and add a region chooser dialog that offers the full set.
2011-08-22 14:29:56 -04:00
Matthias Clasen
d22307b699 region: Use region names on the region tab
Use the just introduced api to show region names in the list.
2011-08-22 14:29:56 -04:00
Matthias Clasen
9e02793982 common: Add a region mode to the language chooser
In this mode, locales are primarily represented by their
region component, instead of their language component.
2011-08-22 14:29:55 -04:00
Matthias Clasen
3f122250e1 common: Add api for region names
Similar to how we format language names, add a variant that
emphasizes the region part of a locale. We show the language
in parentheses as discriminator only where needed.
2011-08-22 14:29:54 -04:00
Matthias Clasen
7720b989ea region: Redo the formats tab
The big combo box is not very usable, so as a first improvement,
move things around so that we can use a list on the left, and
put the examples on the right.

Also add a 'need logout' hint in the same style as on the
language tab.
2011-08-22 14:29:54 -04:00
Matthias Clasen
be235bd9ae region: Redo the language tab
Prepopulate the list with a small set of 'common' languages,
as we already did in the user panel, and use a language chooser
to add to that list.
2011-08-22 14:29:53 -04:00
Matthias Clasen
60c8f11a12 user: Move the language chooser to common
It will soon be used in the region panel as well.
2011-08-22 14:29:52 -04:00
Matthias Clasen
daf2dae1ff user: Prepopulate the language combo
Add a small set of major languages to the combobox. This covers
the 80% case and makes the list look less empty.
2011-08-22 14:29:52 -04:00
Matthias Clasen
eaec9ce362 user: Add a filter entry to the language dialog
This makes the dialog more similar to the layout add dialog
in the region panel, where we want to use it eventually as
well.
2011-08-22 14:29:51 -04:00
Matthias Clasen
ce0ab7e2f4 common: Simplify language display
When there is only one locale for this language, omit the territory
and codeset from the descriptive name. This makes the parenthesized
part appear a bit more like a discriminator instead of a wierd
formatting convention.
2011-08-22 14:29:50 -04:00
Matthias Clasen
97d759271d user: Remove some dead code
There were some unused declarations leftover in the language dialog.
2011-08-22 14:29:50 -04:00
Matthias Clasen
2b64b963be region: Fix locale-changing code
setlocale() returns a string representing the _new_ locale, so
we have to get the current locale with setlocale (..., NULL) first,
and we have to copy it since it returns a static string that will
otherwise get overwritten.
2011-08-22 14:29:49 -04:00
Kjartan Maraas
959ea42160 Remove old and obsolete Norwegian bokmål translation. 2011-08-22 13:21:55 +02:00
Matthias Clasen
732ba22aec region: avoid a crash in the absence of configured layouts
This code was creating a GString conditionally, but using
it unconditionally afterwards. Instead of special-casing
the str == NULL case, just always create it.
2011-08-19 21:28:17 -04:00
Bastien Nocera
c95e8b22f6 common: Add list-languages test application
Would just list the supported languages, and makes it easier
to debug the absence of a language.

See https://bugzilla.gnome.org/show_bug.cgi?id=656338
2011-08-16 18:08:05 +01:00
Bastien Nocera
ea686a2355 common: Add some more debug when listing languages 2011-08-16 18:08:05 +01:00
Rodrigo Moya
b0e96418f2 region: Display user's input source in System tab 2011-08-09 13:24:11 +02:00
Rodrigo Moya
d62267186a region: Sort locales for format selection 2011-08-09 12:46:15 +02:00
Mathieu Trudel-Lapierre
9c6613700f Default to g_get_host_name if pretty hostname call failed 2011-08-08 18:19:23 +02:00
Sergey V. Udaltsov
9c4821bf87 region: keep selection when moving layout up/down
https://bugzilla.gnome.org/show_bug.cgi?id=654880
2011-08-06 03:19:27 +01:00
Marek Kasik
df913a7cf7 Printers: Use system-config-printer's MissingExecutables method
If available, use DBus method MissingExecutables which finds executables
needed by new printer. This method is available in system-config-printer
since version 1.3.5 (#654742). User is offered installation of packages
containing those missing executables then.
2011-08-03 16:27:11 +02:00
Marek Kasik
eb18692613 Printers: Use system-config-printer's GroupPhysicalDevices method
If available, use DBus method GroupPhysicalDevices which removes duplicates
from list of found devices. This method is available in system-config-printer
since version 1.3.5 (#654742).
2011-08-02 17:11:25 +02:00
Marek Kasik
8951bc41a7 Printers: Use system-config-printer's GetBestDrivers method
If available, use DBus method GetBestDriver which determines the best PPD file
for the given printer. This method is available in system-config-printer
since version 1.3.5 (#654742).
2011-08-02 14:20:29 +02:00
David Henningsson
8c0a2279c1 sound: Update the sound theme for speaker testing
https://bugzilla.gnome.org/show_bug.cgi?id=647254
2011-08-01 16:22:41 +01:00
Marek Kasik
7962a25ecf Printers: Open firewall for required connections when searching for printers
This commit enables services mdns, ipp, ipp-client and samba-client on
firewall for 5 minutes for detection of network printers (#648784).
It enables required services permanently for printers selected by user
for addition then. It shows a notification for the permanent enable.
It uses firewalld, so if it is not installed or running it shows a warning
message to the user in the place where discovered printers will be shown
(both local and network). The warning disappears after the finish of
printers discovery (but not from network part if no printer was found).
2011-07-27 13:33:48 +02:00
Javier Jardón
36cdc969b3 power: Make insensitive any sleep actions the hardware cannot do (and 2) 2011-07-25 16:10:42 +02:00
Javier Jardón
48b111bd5e cc-info-panel: Use the new g_format_size() glib function
To format the memory and disks sizes
2011-07-22 17:13:55 +02:00
Matthias Clasen
88b47dc25b Add translation context in some places
"Local" and "Network" are not sufficiently unique, otherwise.
See bug 654725
2011-07-20 07:41:36 -04:00
Richard Hughes
4f08a32570 power: Make insensitive any sleep actions the hardware cannot do 2011-07-19 14:32:09 +01:00
Marek Kasik
337d7535b3 Printers: Make model label and ip address label selectable
This patch add selectable property into CcEditableEntry
and uses it in Printers panel (#651545).
2011-07-15 16:08:31 +02:00