Commit graph

2896 commits

Author SHA1 Message Date
Matthias Clasen
dffb46e6db network: Make it possible to delete virtual devices
Bridges, bonds and vlans should be deletable, like they are
in nm-connection-editor. The delete button was already sensitive
for these devices, but it didn't do anything. This commit hooks
up the necessary functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=697919
2013-04-15 08:16:26 -04:00
Matthias Clasen
51f5dec85f network: Add remote settings to virtual devices
This will be used in the next commit to delete the remote
connection.
https://bugzilla.gnome.org/show_bug.cgi?id=697919
2013-04-15 08:16:24 -04:00
Rui Matos
2822e04a89 region: Fix setting the system language
We need to actually change the variable holding the system language so
that it gets applied.

https://bugzilla.gnome.org/show_bug.cgi?id=694922
2013-04-15 11:53:27 +02:00
Rui Matos
6154170bb3 region: Apply user settings system-wide on single account systems
On single account systems we don't show the login button but the user
should still be able to set system-wide locale settings. We can simply
export the user's own settings to the system in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=694922
2013-04-15 11:53:27 +02:00
Rui Matos
7c341ed630 common: Keep language chooser labels centered
In order to prevent the labels from moving around when hiding and
showing the check mark we need to keep the check mark always visible
and instead tweak its opacity.

We also add an always transparent widget the same size as the check
mark on the other side of the label to make sure that the label is
globally centered.

https://bugzilla.gnome.org/show_bug.cgi?id=695536
2013-04-15 11:53:27 +02:00
Rui Matos
24bb46eb44 region: Keep format chooser labels centered
In order to prevent the labels from moving around when hiding and
showing the check mark we need to keep the check mark always visible
and instead tweak its opacity.

We also add an always transparent widget the same size as the check
mark on the other side of the label to make sure that the label is
globally centered.

https://bugzilla.gnome.org/show_bug.cgi?id=695536
2013-04-15 11:53:27 +02:00
Rui Matos
3af7efc5aa region: Fix format chooser check marks being cleared
https://bugzilla.gnome.org/show_bug.cgi?id=695536
2013-04-15 11:53:27 +02:00
Rui Matos
998b662d60 common: Fix language chooser check marks being cleared
https://bugzilla.gnome.org/show_bug.cgi?id=695536
2013-04-15 11:53:27 +02:00
Rui Matos
639a2e4ada region: Center labels and remove arrows on the input chooser dialog
https://bugzilla.gnome.org/show_bug.cgi?id=695520
2013-04-15 11:53:27 +02:00
Rui Matos
d7cecdca2f region: Use view-more-symbolic for the "More" list item
We've had some early reports that the ellipsis used to label the
"More" item in some of the lists isn't clear.

https://bugzilla.gnome.org/show_bug.cgi?id=694927
2013-04-15 11:53:27 +02:00
Rui Matos
ee9dc7a176 region: Add separators to the input chooser list
https://bugzilla.gnome.org/show_bug.cgi?id=695465
2013-04-15 11:53:27 +02:00
Rui Matos
1858a818c4 region: Add separators to the format chooser list
https://bugzilla.gnome.org/show_bug.cgi?id=695465
2013-04-15 11:53:27 +02:00
Rui Matos
e1c563d38b common: Add separators to the language chooser list
https://bugzilla.gnome.org/show_bug.cgi?id=695465
2013-04-15 11:53:27 +02:00
Tim Lunn
dfe066cdac info: Fix display of graphic driver name.
Use XCreateWindow to ensure we are using the same X VisualInfo on
both the config and window. This avoids a BadMatch error on nvidia
glx implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=697881
2013-04-15 18:32:41 +10:00
Tim Lunn
006e1d3367 plug leak of log_contents 2013-04-11 12:00:54 +10:00
Kalev Lember
7bef593d71 network: mark connection editor changed in a few more cases
This makes sure the "Apply" button becomes sensitive when clicking on
"Connect automatically" or "Make availabe to other users".

https://bugzilla.gnome.org/show_bug.cgi?id=697098
2013-04-10 01:26:34 +02:00
Cosimo Cecchi
f79c23a91b search: make locations box align with Close button
https://bugzilla.gnome.org/show_bug.cgi?id=691917
2013-04-04 15:53:36 -04:00
Ondrej Holy
81e210d0dc mouse: Enable horizontal scrolling when changing scroll method
https://bugzilla.gnome.org/show_bug.cgi?id=687509
2013-04-04 14:55:55 +02:00
Emanuele Aina
31a8a99440 shell: Let panels have their own commandline flags
Add a class method to CcPanel to get a GOptionGroup which will be added
to the main commandline parser. This gives panels the chance to have
commandline "--flags" in addition to the already available parameters.

This changes changes the way parameters are passed to panels: the first
entry in the GVariant array is always the a{sv} dictionary of
commandline flags, followed by the remaining free-form arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:09:11 +02:00
Emanuele Aina
9977bb200e shell: Use GVariant to convey panel arguments instead of a string array
By using a GVariant of type "av" we can potentially pass more structured
data to panels, which will become relevant with the ability to invoke
them by GAction-based DBus-activation introduced in the following patch.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:02:10 +02:00
Emanuele Aina
397181e5d2 online-accounts: Small cleanup about resource releasing
Use g_clear_object() as a NULL-safe g_object_unref() and
g_list_free_full() instead of explicitly iterating the list contents.

https://bugzilla.gnome.org/show_bug.cgi?id=695877
2013-04-03 16:05:17 +02:00
Giovanni Campagna
1627fddb18 search: fix moving unsorted applications
Search providers can either have an explicitly configured sort order,
or be in the default alphabetical order based on their name.
Previously, when moving we would always assume that all providers had
a sort order, so moving an unsorted provider would put at the top.
The right thing to do, instead, is to walk the list in visual order
and assign an appropriate sort order, that is then flushed to gsettings.

https://bugzilla.gnome.org/show_bug.cgi?id=694975
2013-04-02 21:45:47 +02:00
Giovanni Campagna
3969c81c24 search: don't keep the last panel last in the sort order
Previously, we kept the last panel in the configured order last,
after non configured ones.This would assign a sort order to the last
panle that would place it in the middle, but visually sort it last,
and that caused problems when moving it (it would jump into an apparently
random position in the middle, according to the sort ID, and would
move the nearby provider too).

https://bugzilla.gnome.org/show_bug.cgi?id=694975
2013-04-02 21:45:47 +02:00
Piotr Drąg
1c60b5ede8 Mark some strings as translatable
Also unmark some others that probably shouldn't
be translatable in the first place.
2013-04-01 00:13:50 +02:00
Piotr Drąg
a94cfed4b6 mouse: Better contexts for speed labels
As it turns out, some languages need different translations for
double click, mouse and touchpad speed labels.
2013-03-31 21:11:23 +02:00
Giovanni Campagna
e6e35a2cc9 notifications: don't fail if a referenced application does not exist
If we have settings for an app, but we don't have a desktop file, it
is likely the app was uninstalled, so just ignore it and avoid the
criticals.

https://bugzilla.gnome.org/show_bug.cgi?id=696665
2013-03-27 14:53:32 +01:00
Bastien Nocera
c57faf5da5 network: Fix possible crash in connection editor
Disable the type-ahead search in the connection editor, the
number of items, and their positional stability means that
a search feature isn't warranted.

As a precaution, also check the success of
gtk_tree_selection_get_selected() to avoid crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=693685
2013-03-27 11:25:51 +01:00
Bastien Nocera
d4723d396c network: Fix display of some characters in WiFi AP names
The old interface used to use markup to display Wi-Fi AP names,
but the new one didn't, but we were still escaping the AP name.

https://bugzilla.gnome.org/show_bug.cgi?id=695515
2013-03-26 18:42:17 +01:00
Bastien Nocera
c676657766 sound: Update to libgnome-volume-control master 2013-03-26 18:20:07 +01:00
Frédéric Péters
86cd774d92 power: Mark some strings as translatable
Those strings should have been marked as translatable, but were not.
2013-03-26 17:04:17 +01:00
Bastien Nocera
f9c0732a6c background: Fix handling of cancellation in async calls
A few of the async calls were still handling the user_data before
checking that it was still valid (eg. the operation was not cancelled),
and also printing warnings when the error was a cancellation.
2013-03-26 15:43:39 +01:00
Jiro Matsuzawa
ee138320a9 universal-access: Fix typo in ui file
https://bugzilla.gnome.org/show_bug.cgi?id=696394
2013-03-23 01:10:01 +09:00
Cosimo Cecchi
bd3e9fa4f6 online-accounts: transition add account dialog pages
This got lost in the previous commit.
2013-03-19 12:50:33 -04:00
Debarshi Ray
48a9df92c3 online-accounts: Scroll the tree view when showing an account
https://bugzilla.gnome.org/show_bug.cgi?id=695171
2013-03-19 14:24:31 +01:00
Colin Walters
b5ecbb7aef build: Fix up submodule references, broken from previous commit 2013-03-14 18:03:16 -04:00
Ondrej Holy
254116f0c5 user-accounts: Don't unref users
libaccountsservice doesn't ref them before giving them to us,
so we shouldn't unref them when we're done with them.

https://bugzilla.gnome.org/show_bug.cgi?id=691891
2013-03-14 17:57:27 -04:00
Rui Matos
b405db0068 region: Normalize and casefold the untranslated language name
So that it actually matches with the normalized and casefolded filter
words.

https://bugzilla.gnome.org/show_bug.cgi?id=695357
2013-03-14 17:17:47 +01:00
Rui Matos
d515aabbf1 region: Remove useless parameter
locald settings are system settings by definition so we can just use
priv->system_language directly.

https://bugzilla.gnome.org/show_bug.cgi?id=695535
2013-03-14 17:14:20 +01:00
Rui Matos
9c64f316b1 region: Show restart notification only if strictly needed
If the user is changing the setting back to the current locale we
shouldn't show the restart notification.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
50ea2c11ce region: Use a GDBusProxy to access org.gnome.SessionManager
We'll use this interface beyond just calling Logout() so lets keep a
proxy around.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
3efb71bab7 region: Cancel any async operations with callbacks on finalize
Otherwise we may end up using a finalized "object" in the callbacks.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
e2163ea9ed region: Translate restart notification into the target language
We used to do this before the panel re-design.

https://bugzilla.gnome.org/show_bug.cgi?id=695534
2013-03-14 16:52:51 +01:00
Rui Matos
bbc28af85d region: Display current locale country in formats if setting is empty
https://bugzilla.gnome.org/show_bug.cgi?id=694888
2013-03-14 16:52:51 +01:00
Marek Kasik
8cd8d8bdd2 printers: Show all printer devices
Get devices also from backends which are not hard-coded
in pp-utils.c. This is achieved by searching on all
backends with excluding hard-coded ones in the last search.

https://bugzilla.gnome.org/show_bug.cgi?id=693182
2013-03-14 15:15:36 +01:00
Bastien Nocera
ae108c45f3 user-accounts: Stop crash when changing the password
Pass the correct user data to the passwd_change_password() callback,
so we don't try to manipulate NULL pointers in place of the password
dialogue.

https://bugzilla.redhat.com/show_bug.cgi?id=874725
2013-03-13 09:25:31 +01:00
Richard Hughes
c7f6c24cd9 color: Add translatable strings for newer display types
Newer versions of colord support sensor capabilities for modern types of
displays which allow colorimeter-type sensors to return accurate readings.

This is needed for the inexpensive ColorMunki Smile colorimeter which does not
return the usual LCD and CRT display types. These types are not required for
photospectrometer-class hardware which use spectral readings and a color match
function to get an accurate XYZ value.
2013-03-12 17:11:13 +00:00
Rui Matos
3a51c94281 region: Remove the "None" input source row when adding a real one
https://bugzilla.gnome.org/show_bug.cgi?id=694887
2013-03-12 15:21:15 +01:00
Rui Matos
4eb0a72d86 region: Improve explanation when there are no input sources
https://bugzilla.gnome.org/show_bug.cgi?id=694887
2013-03-12 15:21:14 +01:00
Rui Matos
4b09dd843f region: Prevent window from getting too tall with many input sources
https://bugzilla.gnome.org/show_bug.cgi?id=695443
2013-03-12 15:21:12 +01:00
Rui Matos
765b6b52a7 region: Always add ibus engine widgets regardless of locale info
This makes sure any engine we don't have locale info for ends up under
the Other row.

https://bugzilla.gnome.org/show_bug.cgi?id=695049
2013-03-11 13:46:23 +01:00