Commit graph

579 commits

Author SHA1 Message Date
Piotr Drąg
1e1509240e user-accounts: use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772199
2016-10-03 15:21:21 +02:00
Felipe Borges
4f48934b50 user-accounts: Revert "Fix history dialog height"
This reverts commit 77c26aa162.

Since the changes in GtkScrolledWindow on Bug 766569, this patch
is no longer necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-09-06 16:56:33 +02:00
Ondrej Holy
77c26aa162 user-accounts: Fix history dialog height
History dialog changes its height depending on number of entries. It
is caused by the recent GtkScrolledWindow changes from Bug 766569. Set
fixed min and max content heights to avoid this behavioral.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-04 17:13:26 +02:00
Felipe Borges
5b101946b9 user-accounts: Drop CcEditableEntry references from um-user-panel
There is no need to use this type in the new user accounts panel.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 14:51:23 +02:00
Felipe Borges
5c12abbe2f user-accounts: Fix horizontal alignment of "Account Type" buttons
It makes "account-type-standard" and "account-type-admin" hexpand
properties to equal TRUE.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 14:48:41 +02:00
Felipe Borges
e3148af358 user-accounts: Use sensitivity to denote changes in "Account Type"
Instead of changing from "Account Type" buttons to label, set the
sensitivity of the buttons according to the current users' permission.

Now we hide the "Account Type" for a single user account.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:38:13 +02:00
Felipe Borges
e36a3654a0 user-accounts: Drop "Account Activity" button
Now the "Account Activity" dialog is launched by clicking in the
"Last Login" option.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:35:21 +02:00
Felipe Borges
1039642d93 user-accounts: Use GtkEntry instead of CcEditableEntry
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:24:39 +02:00
Felipe Borges
a05375005b user-accounts: Remove UmEditableButton object
To bring it back, revert this commit.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:22:40 +02:00
Felipe Borges
e2d3b47a33 user-accounts: Drop usage of UmEditableButtons
Now using GtkButtons instead. Since we are denoting the permission
to edit an option by setting the option sensitivity.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-08-01 09:19:40 +02:00
Ondrej Holy
7e1d575798 user-accounts: Remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-28 12:46:38 +02:00
Ondrej Holy
8e8d00541b user-accounts: Do not access already removed toolbar
Commit eb9c110 removed add-remove-toolbar, however, some leftovers are
in the code which causes the following errors:
Gtk-CRITICAL **: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
Gtk-CRITICAL **: gtk_style_context_set_junction_sides: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-28 10:53:59 +02:00
Felipe Borges
eb9c110646 user-accounts: Move "Add User" button to header bar
This also introduces a change to the Lock/Unlock logic. From now
on, Unlocking the panel causes the "Lock" button to turn into the
"Add User" button.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-27 11:49:06 +02:00
Felipe Borges
e18c0014f1 user-accounts: Properly align option buttons
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-27 11:37:47 +02:00
Felipe Borges
cbe31d5337 user-accounts: Reposition "Remove Account" button
It used to be at the toolbar in the bottom of the treeview. Now it
is fixed in the bottom-right corner of the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-27 11:31:05 +02:00
Ondrej Holy
90d6f3b622 user-accounts: Unify size of headerbar buttons
The headerbar buttons with arrows were moved sidebyside by the commit
a70888f. The buttons have a slightly different size, which looks pretty
weird currently. Fix this by setting valign on GtkButton and not on
GtkImage inside.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-27 09:25:48 +02:00
Felipe Borges
1345cf36c5 user-accounts: Remove UmEditableCombo class
Revert this commit in order to bring the UmEditableCombo class back.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-25 15:22:35 +02:00
Felipe Borges
079928d693 user-accounts: Make the "Account Activity" dialog wider
Set it to 60% of the parent window.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:42:41 +02:00
Felipe Borges
094447fdd3 user-accounts: Drop overwritten title of "Account Activity" dialog
Since we are setting the "Account Activity" title by prepending
the user real name ("%s - Account Activity") in um-history-dialog.c,
there's no need to set the title property for the dialog elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:41:45 +02:00
Felipe Borges
f029fc0947 user-accounts: Prepend user real name to "Account Activity" dialog title
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:39:43 +02:00
Felipe Borges
f56c90b916 user-accounts: Drop unused subtitle in "Account Activity" dialog
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-14 10:38:41 +02:00
Felipe Borges
843c126760 user-accounts: Reposition fingerprint-login-button to correct position
It was in the same position as the button below it.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-13 17:59:57 +02:00
Felipe Borges
66cab8a23d user-accounts: Properly align account type buttons
These two buttons should have the same size.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-07-13 15:47:21 +02:00
Ondrej Holy
83afdd39c8 user-accounts: Fix missing records in the history dialog
"Session Ended" record may miss if "Session Started" isn't in the
same week, which is caused by a wrong order of conditions.

https://bugzilla.gnome.org/show_bug.cgi?id=762346
2016-06-29 08:50:58 +02:00
Felipe Borges
7d21e69d65 user-accounts: Reorder items in "Account Activity" entries
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-24 16:13:03 +02:00
Felipe Borges
2693d412ef user-accounts: Rename "History" button label to "Account Activity"
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-24 16:13:03 +02:00
Felipe Borges
d1d39194e5 user-accounts: Drop unused account-type-model object
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-24 16:13:03 +02:00
Georges Basile Stavracas Neto
2777fd583d panels: use the new categories
Following the previous patch, this patch adds the new alternative
categories to the panels' Desktop files. These alternative categories
are only relevant for the alternative Shell, and do not break the
current Shell in any way.

https://bugzilla.gnome.org/show_bug.cgi?id=767301
2016-06-14 12:16:43 -03:00
Felipe Borges
af1355632f user-accounts: move spinner to header in Add User dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-14 13:12:37 +02:00
Felipe Borges
09cbc05608 user-accounts: move Add User dialog buttons to ui file
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-14 13:12:19 +02:00
Felipe Borges
1db970ecca user-accounts: port "Add User" dialog to gtk+ composite widget templates
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-14 13:08:21 +02:00
Felipe Borges
de0de51406 user-accounts: split join-dialog from account-dialog
The UmAccountDialog class will be ported to gtk widget templates,
in doing so, we are decoupling here the gtkbuilder dependend ui
code from what will be the class code in the port.

Nothing changed in the join-dialog ui code itself.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-14 11:25:45 +02:00
Felipe Borges
5e2ed8e7a7 user-accounts: hide language settings for current user
Language settings should not be shown. That's what the Region &
Language panel settings are for. See:
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-13 17:18:14 +02:00
Felipe Borges
d1329f13ad user-accounts: add space between rows in um-user-panel
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-13 17:07:41 +02:00
Felipe Borges
efc887c419 user-accounts: use radio buttons for account type in Add User dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 17:10:56 +02:00
Felipe Borges
1a6d716774 user-accounts: use radio buttons for account type
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 17:10:55 +02:00
Felipe Borges
5b3a2cc649 user-accounts: redesign offline mode for enterprise login
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 17:10:55 +02:00
Felipe Borges
941282a8de user-accounts: drop "Login Options" label
According to the mockups at
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:55:34 +02:00
Felipe Borges
a848da9348 user-accounts: align entries in Add User dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:49:05 +02:00
Felipe Borges
a70888f132 user-accounts: move arrows to start in login history dialog
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:44:42 +02:00
Felipe Borges
6d24ed5ae9 user-accounts: update strings to new design
https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-06-01 11:43:08 +02:00
Bastien Nocera
c92aa114b4 user-accounts: Work-around "format not a string literal" error
This isn't possible to fix without quite a bit of code movement. This
will do for now though.

https://bugzilla.gnome.org/show_bug.cgi?id=764727
2016-04-08 11:31:24 +02:00
Zeeshan Ali (Khattak)
afebec5d9a common: Move get_smart_date() to common utils
And rename it to cc_util_get_smart_date().

In a following patch, we'll need to use it from privacy panel.

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Sebastien Bacher
ecaafb11bc user-accounts: Don't link directly to GStreamer
The panel uses cheese and not GStreamer directly

https://bugzilla.gnome.org/show_bug.cgi?id=761915
2016-03-02 11:46:40 +01:00
Jiro Matsuzawa
04a8943cfd user-accounts: Give mnemonic to labelled widgets
https://bugzilla.gnome.org/show_bug.cgi?id=736606
2016-01-18 17:21:17 +01:00
Rui Matos
958c0140bb user-accounts: Avoid a crash when gdm's schemas aren't installed
Commit de821d5922 implicitly added a
runtime dependency on gdm's settings schemas being installed. Since
GSettings aborts if schemas aren't installed this means we new crash
on systems without gdm.

See https://bugzilla.redhat.com/show_bug.cgi?id=1259935 .

https://bugzilla.gnome.org/show_bug.cgi?id=754682
2015-09-07 16:45:03 +02:00
Ondrej Holy
7ce6ce6807 user-accounts: Fix enterprise user login permitting
Commit 3e6b741a introduced check for NULL on um_realm_object_get_common.
Unfortunatelly one check is wrong and breaks the login permitting.
The patch fixes the wrong check.

https://bugzilla.gnome.org/show_bug.cgi?id=752405
2015-07-15 17:34:49 +02:00
Bastien Nocera
93414609fa user-accounts: Fix gtk_tree_model_get_iter_first() retval
https://bugzilla.gnome.org/show_bug.cgi?id=749892
2015-05-27 11:06:02 +02:00
Ondrej Holy
afe0a62267 user-accounts: show restart notification when account type changed
https://bugzilla.gnome.org/show_bug.cgi?id=674429
2015-04-15 16:27:24 +02:00
Matthias Clasen
165be44369 users: Fix fingerprint delete dialog formatting
The manual borderwidth setting breaks message dialog appearance.
While we are here, remove some unnecessary calls.

https://bugzilla.gnome.org/show_bug.cgi?id=745908
2015-03-10 06:43:12 -04:00