Commit graph

12044 commits

Author SHA1 Message Date
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
Daniel Mustieles
e6b49fa28d Updated Spanish translation 2012-06-13 10:08:59 +02:00
Khaled Hosny
4511182439 Updated Arabic translation 2012-06-12 23:35:38 +02:00
Piotr Drąg
c619f0bb79 Updated POTFILES.in 2012-06-12 21:33:24 +02:00
Jasper St. Pierre
d382c42e5c shell: Remove reparenting hacks
Now that CcNotebook is buildable, we don't need to do these ugly hacks.
2012-06-12 13:58:17 -04:00
Jasper St. Pierre
f8da96e425 shell: Make CcNotebook buildable 2012-06-12 13:58:17 -04:00
Jasper St. Pierre
54d24f0574 shell: Remove unnecessary tabs 2012-06-12 13:58:15 -04:00
Jasper St. Pierre
5d228b707a shell: Fix wrong function being used to get width
get width better than get height...
2012-06-12 18:28:01 +01:00
Bastien Nocera
7d7fc2e124 shell: Fix possible crashers when there are no pages
Wouldn't happen in gnome-control-center. Spotted by Jasper St. Pierre
2012-06-12 18:17:38 +01:00
Daniel Mustieles
94033718af Updated Spanish translation 2012-06-12 18:31:29 +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
Kjartan Maraas
6004616bbc Updated Norwegian bokmål translation 2012-06-11 22:08:55 +02:00
Bastien Nocera
42c65b5c5f shell: Use GtkSearchEntry
And require GTK+ 3.3.5 for it.
2012-06-11 19:07:01 +01: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
Bastien Nocera
94a46524b5 shell: Don't animate between overview and search pages 2012-06-11 14:29:39 +01:00
Bastien Nocera
0fdecb67c3 shell: Update test-notebook for API change 2012-06-11 14:29:39 +01:00
Bastien Nocera
56bd29ebf3 shell: Make it possible to not animate transitions
In CcNotebook.
2012-06-11 14:29:38 +01: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
Frédéric Péters
6c140396e6 configure: bump gnome-settings-daemon required version
This is required to get the input-sources schema used by the Region panel

https://bugzilla.gnome.org/show_bug.cgi?id=677807
2012-06-10 14:13:22 +02:00
Ihar Hrachyshka
042b237f82 Updated Belarusian translation. 2012-06-08 18:42:03 +03: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
Daniel Mustieles
c908531feb Updated Spanish translation 2012-06-07 12:27:48 +02:00
A S Alam
f7245a39b7 Update Punjabi Translation 2012-06-07 07:29:30 +05:30
Piotr Drąg
469c8b3be8 Updated POTFILES.in 2012-06-06 21:22:00 +02: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
Stef Walter
d079041b14 build: Only enable _FORTIFY_SOURCE if optimization enabled
Otherwise we get a spew of warnings when building non-optimized

https://bugzilla.gnome.org/show_bug.cgi?id=677373
2012-06-06 18:05:36 +02:00
Bastien Nocera
f2a9d3a478 shell: Fix crash when using keynav in overview
get_item_views() was expecting all the children of the overview
to be of type "CcShellCategoryView".

It's not the case since 620e70113c
added GtkSeparators as children.

We now just skip them non-views in get_item_views().

https://bugzilla.gnome.org/show_bug.cgi?id=677314
2012-06-06 16:13:35 +01:00
Debarshi Ray
f94490a5b5 build: require GOA >= 3.5.1
GOA got ported from GtkTable to GtkGrid.

Fixes: https://bugzilla.gnome.org/669625
2012-06-06 14:25:08 +02: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