Commit graph

2170 commits

Author SHA1 Message Date
Giovanni Campagna
4d80e47776 system info: set related mime types when changing preferred apps
Setting the preferred music or video app only changed the handler
for ogg audio/video, leaving an inconsistent state where the previous
(system default) app would be used for other images, audio and video
formats.
Instead make it so that when the user changes his preferences,
the application becomes the default for all mime types in the same
group that it supports.
Nothing changes if configuration is modified externally (e.g.
by hand or through nautilus): expose as preferred app the one that
is configured to handle the primary content type.

https://bugzilla.gnome.org/show_bug.cgi?id=674084
2012-08-24 19:50:21 +02:00
Bastien Nocera
f4c3d190bc display: Avoid possible warning on exit
(gnome-control-center:8728): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-control-center:8728): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
2012-08-23 14:22:19 +01:00
Zan Dobersek
570bafaf6b user-accounts: Fix match icon not updating in some cases
Check the new password matching after focusing out either entries.

Validate the content of the verify password entry after
focusing out either the new password entry or the verify entry.

Previously the user could mistype his new password in the new
password entry, but when it was corrected, the verify entry
would still be indicating that the confirmation password did not
match when it did.

https://bugzilla.gnome.org/show_bug.cgi?id=668844
2012-08-23 11:08:38 +01:00
Bastien Nocera
af8a644075 user-accounts: Fix login keyring password not getting updated
By passing the environment down to passwed rather than an empty one.
This means that passwd's PAM modules will be able to access the session
D-Bus, for the gnome-keyring PAM module to change the keyring password
for example.

https://bugzilla.gnome.org/show_bug.cgi?id=616703
2012-08-22 16:31:59 +01:00
Javier Jardón
b682a3c6e9 common: Add Arabic as a common language
https://bugzilla.gnome.org/show_bug.cgi?id=671530
2012-08-22 16:17:20 +01:00
Bastien Nocera
0e2b4a9600 common: Add Russian as a common language
https://bugzilla.gnome.org/show_bug.cgi?id=671530
2012-08-22 16:16:14 +01:00
Dan Winship
8f1b6d6787 network: don't try to activate slave connections
https://bugzilla.gnome.org/show_bug.cgi?id=682469
2012-08-22 10:32:59 -04:00
Dan Winship
8df1069f7d network: fix wired/mobile activation
You have to pass the NMDevice to nm_client_activate_connection() for a
device-specific connection. This got broken at some point in the
rewrites since 3.4.

https://bugzilla.gnome.org/show_bug.cgi?id=682469
2012-08-22 10:32:59 -04:00
Dan Winship
ecdb1d8477 network: ignore unrecognized device types
rather than showing a blank line in the device-type list that doesn't
do anything.

https://bugzilla.gnome.org/show_bug.cgi?id=678210
2012-08-22 10:32:59 -04:00
Colin Walters
20a980d6ca Fix missing = 2012-08-22 09:42:18 -04:00
Matthias Clasen
4d62e05fb0 common: Add Policykit rules for hostname setting
Allow setting the computer's pretty hostname if the user is an admin.

https://bugzilla.gnome.org/show_bug.cgi?id=679281
2012-08-22 14:16:46 +01:00
Jasper St. Pierre
d2aa0ce5d8 common: Fix memory leaks in language sorting
https://bugzilla.gnome.org/show_bug.cgi?id=679836
2012-08-22 13:47:40 +01:00
Rico Tzschichholz
ddf8c56caf background: Add missing include
bg_pictures_source_get_*_path is defined in bg-pictures-source.h
2012-08-22 12:52:29 +02:00
Bastien Nocera
03a88bbba5 mouse: Remove unused variable 2012-08-22 10:38:34 +01:00
Bastien Nocera
905b7f999c mouse: Remove italics from test page
https://bugzilla.gnome.org/show_bug.cgi?id=682397
2012-08-22 10:38:04 +01:00
Jasper St. Pierre
eaef6e5d50 um-user: Use GdkCairo operations to draw on the pixbuf
Remove a bunch of bit twiddling code.

https://bugzilla.gnome.org/show_bug.cgi?id=682391
2012-08-22 03:35:54 -03:00
Frédéric Péters
e87c564cdb printers: remove blank class_finalize function 2012-08-21 22:10:14 +02:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Ray Strode
3bf8bcf3f8 online-accounts: set up finalize handler at class init time
It was being set up at class finalization time, which is too late.

Fixes crash when switching from panel to shell and back
(and then try to interact with the switches).

https://bugzilla.gnome.org/show_bug.cgi?id=682379
2012-08-21 13:37:54 -04:00
Debarshi Ray
06ede122ab online-accounts: Don't show spurious "No online accounts configured"
Programmatically deleting or inserting a row into a GtkTreeModel
implementation does not change the selection on the GtkTreeView even
if it is in browse mode (see GTK+ documentation). So, we need to
connect to the model's row-deleted and row-inserted signals and adjust
the selection ourselves.

Fixes: https://bugzilla.gnome.org/682175
2012-08-21 19:17:30 +02:00
Bastien Nocera
44f742659e common: Add more debug to list-languages 2012-08-21 17:43:27 +01:00
Bastien Nocera
8c7632e66e sound: Avoid use-after-free of destroyed streams
When switching between 2 outputs that share the same device with
different connector types, the old stream is destroyed, and a new one
with the new connector type created.

We were generating warnings because the old stream was destroyed, and
we were trying to access it. Instead we should remove the reference
to that old stream from the GvcLevelBars used for output and input
levels.
2012-08-21 17:43:27 +01:00
Bastien Nocera
e34dd3bb83 sound: Fix incorrectly documented return type
gvc_mixer_control_get_stream_from_device returns a GvcMixerStream,
not a container that contains one of those.
2012-08-21 17:43:27 +01:00
David Henningsson
4513207bfb sound: Remove hardware tab
Since the output and input tabs now offer the possibility to select
profile, we can remove the hardware tab completely.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:27 +01:00
David Henningsson
ac2a8ced05 sound: Move "Test speakers" to the output tab
Test speakers will now test the speakers of the active output on
the output tab.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:27 +01:00
David Henningsson
db8ee1eabe sound: Make speaker test work for sinks without card
By speaker-test taking a stream/sink instead of card as
parameter, it can be used for outputs that don't have cards
(e g network sinks).

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:26 +01:00
David Henningsson
b3fe98e7c1 sound: Make the dialog UI use GvcMixerUIDevice
The input and output treeview now represent GvcMixerUIDevices,
not sinks and sources. Also turn the connector combobox into a
profile combobox.

https://bugzilla.gnome.org/show_bug.cgi?id=674831
2012-08-21 17:43:26 +01:00
Olivier Fourdan
a2e515ea39 wacom: add different action types to mapping dialog
https://bugzilla.gnome.org/show_bug.cgi?id=679067
2012-08-21 18:00:22 +02:00
Olivier Fourdan
8d8cf75352 wacom: Update from gnome-settings-daemon 2012-08-21 17:59:36 +02:00
Ondrej Holy
544a8ff889 mouse: Add mouse test toggle
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
7981d4423a mouse: Add mouse test window
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
278c89fdce mouse: Show mouse section only if mouse is present
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
7929e550f1 mouse: Add natural scroll toggle
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
9f76e89661 mouse: Sensitivity and acceleration sliders merge
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:20:59 +01:00
Ondrej Holy
a6262b0ad4 mouse: Reorganize widgets according to mockup
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:20:59 +01:00
Ray Strode
a416243050 user-accounts: fix crash for incompatible realmd version
The version property may not be available if realmd is
version 0.1 (which lacked the property) or if other
properties changed signatures (causing gdbus to fail to load
cache any property)

This commit fixes a crash where property is NULL in those cases.
2012-08-20 14:04:30 -04:00
Bastien Nocera
daa8b098a4 mouse: Update from gnome-settings-daemon 2012-08-20 18:33:28 +01:00
Rui Matos
978ab40f3e keyboard: Add common XKB options to the Typing shortcuts section
Both the compose key and the 3rd level chooser are common and useful
enough to expose in the control center.

Since these shortcuts are a small pre-defined set of only modifier
keys we present them in combo cell renderers.

https://bugzilla.gnome.org/show_bug.cgi?id=682069
2012-08-20 18:51:39 +02:00
Rui Matos
4e0bc86e5b keyboard: Rename the Input Sources shortcuts section to Typing
This way we can add more typing related keybindings here.

https://bugzilla.gnome.org/show_bug.cgi?id=682069
2012-08-20 18:51:39 +02:00
Rui Matos
a24f221eeb keyboard: Introduce a BINDING_GROUP_SEPARATOR type for the separator
This way we can control the shortcut section separator position in
case we introduce other types.

https://bugzilla.gnome.org/show_bug.cgi?id=682069
2012-08-20 18:51:39 +02:00
Stef Walter
3aab3eb358 user-accounts: Update for realmd DBus interface changes
* DBus interface was reviewed and there were several things added
   to make it more generic and useful for other realm types.
 * Use ObjectManager to track objects in realmd. This facilitates
   using realmd with the way it now uses multiple interfaces
   on objects.

https://bugzilla.gnome.org/show_bug.cgi?id=682185
2012-08-20 12:11:22 +02:00
Sebastian Keller
6b2557f1b3 network: Improve wifi layout
- Increase size of the window
- Remove killswitch and hotspot buttons from scrollview

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-08-20 10:50:08 +01:00
Matthew Barnes
7dd80f829f online-accounts: Open specific account through command-line
Bump required GOA version to 3.5.90 for goa_client_lookup_by_id.

Fixes: https://bugzilla.gnome.org/680458
2012-08-18 20:19:15 +01:00
Bastien Nocera
db2ff0fe52 keyboard: Clarify screenshot actions
And explain that it saves directly to the Pictures directory.

https://bugzilla.gnome.org/show_bug.cgi?id=681849
2012-08-18 19:35:47 +01:00
Stef Walter
f217fa286a user-accounts: Change behavior/display of panel for remote accounts
* Hide the automatic-login and fingerprint widgets
 * Insensitive account type and real name widgets

https://bugzilla.gnome.org/show_bug.cgi?id=681770
2012-08-18 19:14:03 +01:00
Stef Walter
251a189cfc user-accounts: Add um_user_is_local_account() method
* Use new LocalAccount property in accountsservice to
   add the um_user_is_local_account() method.

https://bugzilla.gnome.org/show_bug.cgi?id=681770
2012-08-18 19:14:02 +01:00
Stef Walter
a2149736cd user-accounts: Display the username in list
* By displaying the username we get the unix user name for
   local accounts, and the full login name for remote accounts.
 * Can now differentiate between accounts with the same display
   'real' name.
 * Can see the full login identity of remote accounts.

https://bugzilla.gnome.org/show_bug.cgi?id=681767
2012-08-18 19:11:01 +01:00
Rui Matos
f5502645ff keyboard: Remove unused shortcut treeview sorting code
Since the shortcut treeview doesn't have visible headers the sorting
code isn't needed.

https://bugzilla.gnome.org/show_bug.cgi?id=681794
2012-08-18 18:37:25 +01:00
Rui Matos
7bce5758c8 keyboard: Fix adding the section separator after the first time
The separator would only get added the first time the keyboard panel
was opened.

https://bugzilla.gnome.org/show_bug.cgi?id=681788
2012-08-18 18:36:45 +01:00
Bastien Nocera
923f27950a user-accounts: Fix crash on startup
Due to badly installed PolicyKit files.

https://bugzilla.gnome.org/show_bug.cgi?id=681763
2012-08-18 18:32:34 +01:00