Commit graph

2154 commits

Author SHA1 Message Date
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
Dan Williams
8631717b3d network: don't crash on hidden SSIDs
APs that don't broadcast their SSID will return NULL from
nm_access_point_get_ssid() (since that's easier to check in C
using an if statement than returning a zero-length GByteArray).
Thus the code shouldn't try to dereference the SSID byte array
since it could be NULL.

But in fact, the panel shouldn't be showing hidden APs anywhere
in the UI, since the user needs to manually enter the SSID to
connect to it anyway.  So just ignore hidden APs like nm-applet
does.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-06-07 13:08:53 +01:00
Bastien Nocera
1261d73821 mouse: Use '&' instead of 'and'
Using "&" not only keeps the names shorter but would also keeps the
user focused on the other words which compose the name.

https://bugzilla.gnome.org/show_bug.cgi?id=676562
2012-06-06 17:45:15 +01:00
Bastien Nocera
d07be14ba0 region: Use '&' instead of 'and'
Using "&" not only keeps the names shorter but would also keeps the
user focused on the other words which compose the name.

https://bugzilla.gnome.org/show_bug.cgi?id=676562
2012-06-06 17:45:15 +01:00
Bastien Nocera
8aca1c2090 screen: Use '&' instead of 'and'
Using "&" not only keeps the names shorter but would also keeps the
user focused on the other words which compose the name.

https://bugzilla.gnome.org/show_bug.cgi?id=676562
2012-06-06 17:45:15 +01:00
Bastien Nocera
a4475970ee datetime: Use '&' instead of 'and'
Using "&" not only keeps the names shorter but would also keeps the
user focused on the other words which compose the name.

https://bugzilla.gnome.org/show_bug.cgi?id=676562
2012-06-06 17:45:15 +01:00
Debarshi Ray
f86d8eb26c online-accounts: Remove horizontal scrolling from accounts list
We have enough space. Therefore, instead of having horizontal
scrollbars, widen the text renderer and then ellipsize, if required.

Implemented design:
https://live.gnome.org/Design/SystemSettings/OnlineAccounts

Fixes: https://bugzilla.gnome.org/671980
2012-06-06 14:24:31 +02:00
Debarshi Ray
93051830a7 online-accounts: New "Add Account" dialog
Implemented design:
https://live.gnome.org/Design/SystemSettings/OnlineAccounts

Fixes: https://bugzilla.gnome.org/671980
2012-06-06 14:23:57 +02:00
Debarshi Ray
8ba96c7daf online-accounts: Don't hardcode the text color
With hard coded colors, when an account is selected in the tree view,
the text shows up as black on blue, instead of white on blue.

Fixes: https://bugzilla.gnome.org/671980
2012-06-04 21:10:18 +02:00
Bastien Nocera
e880784fcb region: Update the shortcuts labels on startup
https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 19:01:57 +01:00
Rui Matos
5e4376cfde keyboard: Add key bindings to switch input sources
https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:39 +01:00
Rui Matos
0a78c3504e region: Add XKB input sources
We allow the user to choose from all XKB layouts installed and keep a
user picked list in gsettings.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:38 +01:00
Rui Matos
375bf2363f region: Improved keynav on the input chooser
This makes the dialog return when the user presses Enter on the filter
entry and prevents the GtkTreeView search popup from being used since
we already handle searching on that tree view.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:38 +01:00
Rui Matos
e38f9acf39 region: Improved selection handling on the input chooser
This makes the input chooser list always have a selected row and be
centered on it when the filter is applied.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:38 +01:00
Rui Matos
0fb0d6139b region: Removal of the Layouts tab
https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:38 +01:00
Rui Matos
bfaeb6a41d region: Add an initial input sources tab
This is just the scaffolding according to
https://live.gnome.org/Design/SystemSettings/RegionAndLanguage
No code behind it yet.

Original code from Matthias Clasen.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:37 +01:00
Matthias Clasen
e59dc8dec4 keyboard: Make it possible to jump to shortcuts tab
To make this work, we need to move the setting up of priv->builder
to the instance init, so that it is available when construct properties
are set; the other setup needs to remain in the constructor, since
it relies on construct properties.

https://bugzilla.gnome.org/show_bug.cgi?id=662489
2012-06-01 18:46:37 +01:00