Commit graph

2170 commits

Author SHA1 Message Date
Stef Walter
973adfa43b user-accounts: Update the realmd dbus interface to latest
The changes in the realmd dbus interface are futureproofing to
support cancellation.

In addition during this time of interface flux, check the
daemon version number to make sure we can talk to it.

https://bugzilla.gnome.org/show_bug.cgi?id=678105
2012-06-22 16:29:51 +02:00
Debarshi Ray
c920ba6d4f online-accounts: The treeview should be in BROWSE mode and not SINGLE
This ensures that if there are configured accounts, then atleast one
of them will stay selected.

Fixes: https://bugzilla.gnome.org/672421
2012-06-21 14:48:51 +02:00
Debarshi Ray
651431dd83 online-accounts: We might have an object even when the error is set
Fixes: https://bugzilla.gnome.org/674165
2012-06-20 15:05:26 +02:00
Luca Ferretti
4f935ad4bd backgrounds: add translation context for background sytles 2012-06-20 11:40:50 +02:00
Luca Ferretti
9d002d98fd universal-access: add translator context for Zoom label 2012-06-20 11:40:15 +02:00
Olivier Fourdan
22ea414271 wacom: Update from gnome-settings-daemon 2012-06-19 15:42:45 +02:00
Thomas Bechtold
806b3e0e13 network: Find connections specific MAC address set
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=677899

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-18 11:21:17 +01:00
Bastien Nocera
e9288acf1c sound: Add audio keyword
https://bugzilla.gnome.org/show_bug.cgi?id=678303
2012-06-18 11:05:19 +01:00
Stef Walter
43cf067cf2 user-accounts: Use the symbolic error icon in entries
Use the symbolic error icon when entries as indication when
entries don't validate.

https://bugzilla.gnome.org/show_bug.cgi?id=678178
2012-06-15 23:05:25 +02:00
Matthias Clasen
a9ebbaa4a8 users: Set the right toolbar-style on the inline toolbar
While running in a bare X server, I noticed the inline toolbar here
showing its labels, while all the other inline toolbars in other panels
stayed nice and icon-only. The reason is that they explicitly set the
toolbar-style to 'icons'. Do the same here.

https://bugzilla.gnome.org/show_bug.cgi?id=678157
2012-06-15 16:25:01 -04:00
Matthias Clasen
dd9493821c screen: Fix the build
Move the on_signal callback below the functions that it is using.
2012-06-15 11:41:39 -04:00
Cosimo Cecchi
a1abae0375 online-accounts: make "Add Account" label bigger and centered
So it's consistent with the User Accounts panel.

https://bugzilla.gnome.org/show_bug.cgi?id=678174
2012-06-15 11:36:21 -04:00
Cosimo Cecchi
b40c1fb2cf online-accounts: fix alignment with closing button
https://bugzilla.gnome.org/show_bug.cgi?id=678174
2012-06-15 11:36:21 -04:00
Cosimo Cecchi
99047ec0f5 user-accounts: fix right alignment of controls with actions
The controls are not perfectly right-aligned with the action buttons at
the bottom; this is because the action area has a border of 6px and the
control box of 10px.
Fix it, and at the same time add another 6px of spacing at the bottom
between the control box and the action box.

https://bugzilla.gnome.org/show_bug.cgi?id=678173
2012-06-15 11:36:21 -04:00
Cosimo Cecchi
2e2ad76e59 region: Input Sources tab has a different spacing
The first two tabs have 12px, make this 12px too.

https://bugzilla.gnome.org/show_bug.cgi?id=678168
2012-06-15 11:36:21 -04:00
Giovanni Campagna
7ab09177e1 screen: Fix for gnome-settings-daemon changes
g-s-d changed its DBus interface, and that made all
external changes to brightness invisible to the panel. Update
accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=662117
2012-06-15 16:04:28 +01:00
Stef Walter
a70e50f268 user-accounts: Combine realmd permissions into panel unlock
Create a new policy file for the admin actions of the user
accounts panel, combining the relevant actions of
accountsservice and realmd.

https://bugzilla.gnome.org/show_bug.cgi?id=678098
2012-06-15 12:00:26 +02:00
Cosimo Cecchi
ea048cce8a user-accounts: avoid horizontal resizing when switching local/enterprise
Pack labels and controls in horizontal size groups, so we don't resize
the dialog horizontally when switching between the local and enterprise
pages.

https://bugzilla.gnome.org/show_bug.cgi?id=678104
2012-06-14 14:17:17 -04:00
Sebastien Bacher
6e8ddbaeea info: Add software media to "other media" dialogue
https://bugzilla.gnome.org/show_bug.cgi?id=671358
2012-06-14 18:44:38 +01:00
Sebastien Bacher
cb35970192 info: Add title for the "other media" dialog
https://bugzilla.gnome.org/show_bug.cgi?id=671374
2012-06-14 18:44:19 +01:00
Olivier Fourdan
978aa81a2c wacom: Cancel calibration if window loses focus
Make the calibrator window stay above other windows and cancel
calibration if/when the calibrator loses input focus.

https://bugzilla.gnome.org/show_bug.cgi?id=675354
2012-06-14 18:09:52 +01:00
Jon McCann
46186a5f02 background: Escape wallpaper filename before display
https://bugzilla.gnome.org/show_bug.cgi?id=673015
2012-06-14 18:07:56 +01:00
Stef Walter
4a76728978 user-accounts: Set high DBus timeouts for managing realms
Enrolling the machine, or discovering realms can take a long
time. We don't want DBus timeouts.

https://bugzilla.gnome.org/show_bug.cgi?id=677953
2012-06-14 11:46:16 +02:00
Matthias Clasen
f6838df0c5 network: Make buttons stay put
When switching between devices, the Options buttons were jumping
up and down. This patch makes them stay put in the lower right corner.

The patch also removes a bunch of glade placeholder gunk from the
ui file.

https://bugzilla.gnome.org/show_bug.cgi?id=677054

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:42:06 +01:00
Matthias Clasen
9efba451dc network: Make ap list more similar to the shell menu
Sort the strength and security indicators in the combo box
popup to be in the same order as the shell menu.

https://bugzilla.gnome.org/show_bug.cgi?id=677788

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:39:33 +01:00
Matthias Clasen
398ca18a71 network: Sort Wireless first
This is the most common case, and is the page we want to end up
on when we're coming from the shell menu.

https://bugzilla.gnome.org/show_bug.cgi?id=677791

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:38:05 +01:00
Matthias Clasen
df77ca0883 network: Add mnemonic for Airplane mode
This was lost when the airplane mode switch moved up to the top.

https://bugzilla.gnome.org/show_bug.cgi?id=671879

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:36:06 +01:00
Matthias Clasen
22fd0dedda network: Add mnemonics
The Create dialog was missing mnemonics for several controls.

https://bugzilla.gnome.org/show_bug.cgi?id=671879

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:36:02 +01:00
Matthias Clasen
fd8ca81f8b network: Add a mnemonic for 'Forget Network'
https://bugzilla.gnome.org/show_bug.cgi?id=671879

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-14 09:35:56 +01:00
Stef Walter
2589fcfb19 user-accounts: Properly fill the join prompt dialog
When prompting users for administrative domain credentials,
correctly fill the dialog the first time the prompt is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=677954
2012-06-13 13:06:55 +02:00
Bastien Nocera
b9e356412f power: Fix reference to "Screen" settings
This also fixes the use of a split string, as mentioned in
bug #675929.

https://bugzilla.gnome.org/show_bug.cgi?id=670567
2012-06-12 14:12:44 +01:00
Stef Walter
4bb0739670 user-accounts: Implement enterprise logins in add dialog
* Use realmd for domain joining and lookup, runtime dependency
 * Validate join domain correctly
 * Add UmRealmManager for handling some stuff above the autogenerated
   realmd dbus code
 * Show a dialog if the user's credentials cannot be used to join
   the domain. Prompt for admin creds.
 * Register the user's login with the AccountsService
 * This depends on the CacheUser() method of AccountsService

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:31:48 +02:00
Stef Walter
06233ebba8 user-accounts: Add um_user_manager_cache_user()
This calls the AccountsService.CacheUser() method to register
a user that's not in /etc/passwd

Depends on: https://bugs.freedesktop.org/show_bug.cgi?id=50770

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:27:40 +02:00
Stef Walter
228347e713 user-accounts: Add way to change modes
Add the buttons to switch between the local account and
enterprise modes.

The enterprise area just has a place holder widget for now.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:27:21 +02:00
Stef Walter
3a7ee1bff9 user-accounts: Cleaner validation and validate on open
Clean up the validation so we can plug in the enterprise
login stuff.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
67066255ba user-accounts: Separate local account stuff in accounts dialog
Separate the local account stuff a bit so when the enterprise
stuff comes in it's still readable.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
fd4f3cc9ce user-accounts: Port account dialog to GtkGrid
Some spacing issues will be sorted in a later commit.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
2e0623e7d5 user-accounts: Title of accounts dialog becomes "Add Account"
This title makes sense for both remote and local users. In the
case of remote users we're not creating accounts, we're just
adding them to the system.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
b09cd23d85 user-accounts: Add test tool frob-account-dialog
A simple tool to show the add account dialog for quick
iterations testing of the 'enterprise login' functionality.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
2a545187da user-accounts: Show a spinner during account dialog actions
During actions which can run a long time show a spinner
indicating that something is going on.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:29 +02:00
Stef Walter
2e228b9992 user-accounts: Cleaner interaction with UmAccountDialog actions
More clear scoping and interaction with running actions in
UmAccountDialog. In later 'enterprise login' patches we have long
running actions that's why this needs cleaning up.

In particular:

 * Show errors as children of the dialog.
 * Errors don't make the account dialog go away, user can correct
   problems.
 * Use more standard GAsyncResult style callbacks:
   um_account_dialog_perform() um_account_dialog_finish()
 * Disable controls while the operation is happening.
 * Allow the user to cancel long actions in UmAccountDialog by
   pressing the cancel button.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 12:03:27 +02:00
Stef Walter
61eadc3fe3 user-accounts: Fix memory leak in create_user_done()
g_dbus_error_get_remote_error() returns an allocated string

https://bugzilla.gnome.org/show_bug.cgi?id=677930
2012-06-12 10:57:09 +02:00
Stef Walter
5fbce5f8da user-accounts: UmAccountDialog shouldn't be valid when shown
The user needs to enter some data before the dialog's 'Create'
button can be clicked.

https://bugzilla.gnome.org/show_bug.cgi?id=677928
2012-06-12 10:35:45 +02:00
Stef Walter
5b022773b3 user-accounts: Fix memory leak of GtkBuilder in accounts dialog
https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 09:48:32 +02:00
Stef Walter
195e0137b2 user-accounts: Don't refer to UmAccountDialog as um
It's confusing to read; it reads as 'user manager'. Since this
is a GObject, just use self as customary.

Most of these lines change in later commits anyway, so this won't
really pollute the 'git blame'

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 09:30:04 +02:00
Stef Walter
6aff0f9a86 user-accounts: Make UmAccountDialog a GtkDialog
The dialog will get much more complex due to 'enterprise login'
work and we want a proper object here.

https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 09:18:17 +02:00
Stef Walter
a5dc2b80cc user-accounts: Remove unused MAXNAMELEN definition
https://bugzilla.gnome.org/show_bug.cgi?id=677548
2012-06-12 08:51:49 +02:00
Olivier Fourdan
786a36db1f wacom: Add keep aspect ratio option
Adjust tablet area to match the aspect ratio of the output
assigned to the tablet.

https://bugzilla.gnome.org/show_bug.cgi?id=668907
2012-06-11 17:55:04 +02:00
Cosimo Cecchi
cde88dca90 network: fix packing order of children in the service dialog
The heading should be packed at the top, before the combobox.

https://bugzilla.gnome.org/show_bug.cgi?id=674498
2012-06-11 09:48:58 -04:00
Cosimo Cecchi
761f5f0b8b background: always pass a cancellable down to I/O operations
So they will be properly cancelled when the panel is disposed.
Also, check early if the operation was cancelled, since it's not safe to
assume the data of the callback is valid anymore before that point.

https://bugzilla.gnome.org/show_bug.cgi?id=672572
2012-06-11 09:16:44 -04:00