Commit graph

1305 commits

Author SHA1 Message Date
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
Bastien Nocera
ec0c15e7e1 sound: Make hadware page tree a little taller
By default.
2011-07-14 23:28:17 +01:00
Bastien Nocera
dd1b9d8336 background: Add "swap" button for gradients
https://bugzilla.gnome.org/show_bug.cgi?id=34498
2011-07-14 16:38:22 +01:00
Rui Matos
11d94b271b datetime: Restore TZ envvar as it was
tz_info_from_location() was changing the value of TZ, but not
restoring it when it was done checking data for it, and setting
the GMT timezone instead.

This meant that UTC time was displayed when the minute changed on
the wall clock.

https://bugzilla.gnome.org/show_bug.cgi?id=649568
2011-07-14 11:59:17 +01:00
Bastien Nocera
5b4d433f77 universal-access: Remove unused column in model
And the markup in the contents as well.
2011-07-11 13:59:29 +01:00
Bastien Nocera
0f5e7554ff region: Don't use markup in bold labels 2011-07-11 13:40:31 +01:00
Bastien Nocera
a24c6a7f66 user-accounts: Remove unneeded markup in label 2011-07-11 13:37:47 +01:00
Robert Roth
2714908bf7 Improved new username format message (bug #647851)
Added 'only' to the new username sentence ("The username must consist of")
to have "The username must only consist of", based on the suggestion in
bug #647851 (https://bugzilla.gnome.org/show_bug.cgi?id=647851).
2011-07-11 10:01:01 +02:00
Bastien Nocera
0c6ddedf91 region: Show measurement 2011-07-07 17:53:47 +01:00
Rodrigo Moya
ec843a03bb region: If no regional settings, use the configured language 2011-07-07 18:24:17 +02:00
Rodrigo Moya
46c1dfe664 region: Set LC_ specific variables, not LC_ALL 2011-07-07 18:24:17 +02:00
Bastien Nocera
8ca85762de common: Add safeguards for empty language
NULL or empty languages aren't useful.
2011-07-07 16:34:08 +01:00
Rodrigo Moya
34abd47d91 region: Some Glade file fixes 2011-07-06 17:28:48 +02:00
Rodrigo Moya
4abb6f8a1f region: Add weak ref for locale settings 2011-07-06 17:11:40 +02:00
Rodrigo Moya
9132f8f2f8 Avoid making lots of DBus calls to set the brightness when the slider changes
too quickly

https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/805473
2011-07-05 16:39:17 +02:00
Rodrigo Moya
b2be7a7b4c network: Kill compilation warnings 2011-07-05 13:13:04 +02:00
Richard Hughes
b5aa23b5ca Use the new gnome-settings-daemon DBus names now the power plugin has moved there 2011-07-04 17:56:02 +01:00
Rodrigo Moya
41007a8964 region: Display user settings in new System tab 2011-07-04 13:59:45 +02:00
Rodrigo Moya
81945e7a54 region: Add System tab 2011-07-04 13:59:45 +02:00
Florian Müllner
b72c71a970 keyboard: Support string array keybindings
Metacity/Mutter stores keybindings as string array to support multiple
bindings per action. Even though multiple bindings are not exposed in
the UI, support keybindings stored as string array by getting/setting
the first element of the array.

https://bugzilla.gnome.org/show_bug.cgi?id=653613
2011-06-30 13:57:40 +02:00
Florian Müllner
a6d3ad6af3 keyboard: Fix a small memory leak
Unless g_conf_client_get_string(), g_settings_get_string() always
returns a newly allocated string.

https://bugzilla.gnome.org/show_bug.cgi?id=653613
2011-06-30 13:57:40 +02:00
Florian Müllner
8a858345a8 keyboard: Change precedence for schema in KeyList parser
Right now, if both KeyList and KeyListEntry contain a schema element,
the (global) one of the list wins. This makes it rather cumbersome
to mix keys of different schemas in a single list, as rather than
using a default schema and specifying a different one where necessary,
every key needs its own schema element.
A brief IRC discussion suggests that the current precedence didn't
trigger any particular issues before, and neither should changing
it - so do this to support above case.

https://bugzilla.gnome.org/show_bug.cgi?id=653685
2011-06-30 13:57:40 +02:00
Michael Terry
30302acefa Remove extraneous line from the sound applet .desktop file. 2011-06-30 12:50:42 +01:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Florian Müllner
38252af6cf universal-access: Re-add cc-marshal.[ch]
Sorry for the noise, that's the correct fix.
2011-06-29 22:56:19 +02:00
Florian Müllner
827459fef1 Revert "universal-access: Fix build"
This reverts commit 85e20b040f.
2011-06-29 22:56:19 +02:00
Florian Müllner
85e20b040f universal-access: Fix build
Commit 4a8c7afbe0 broke build of the ua panel, fix this.
2011-06-29 21:15:25 +02:00
Bastien Nocera
4a8c7afbe0 universal-access: Keep your own gconf horrors 2011-06-29 17:34:22 +01:00
Richard Hughes
90b3fb1c2a color: Mark a user visible string as translatable 2011-06-25 09:36:15 +01:00