Commit graph

489 commits

Author SHA1 Message Date
Felipe Borges
8452bebe19 user-accounts: Make the user name label bold in the UmCarouselItem
https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-09 19:25:28 +01:00
Felipe Borges
3a84720fb0 user-accounts: Draw arrow in UmCarousel
The arrow is drawn using CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-09 19:25:28 +01:00
Felipe Borges
011cbc0c08 user-accounts: Reorganize the user-options container
This commit merges the hbox2, main-user-vbox, and grid1 into the
"user-options" container.

It also replaces deprecated widgets, such as GtkVBox and GtkHBox.

These changes are according to the new User Accounts panel mockups
at https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-09 19:25:28 +01:00
Felipe Borges
d740a9ac98 user-accounts: Introduce UmCarousel
UmCarousel is an horizontal container that contains UmCarouselItem
children. These items are paginated 3 at 3 at the time.

UmCarousel intents to act as controller for content containers. It
emitis the "item-activated" signal whenever an UmCarouselItem gets
activated (clicked).

It automatically activates the first UmCarouselItem of the current
vsible page.

The visibility of the go-back and go-next button is automatically
set based on the number of children.

These changes are according to the new User Accounts panel mockups
at https://wiki.gnome.org/Design/SystemSettings/UserAccounts

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-09 19:25:28 +01:00
Bastien Nocera
3f0510cac8 build: Better libm checks
Use AC_CHECK_LIBM instead of AC_CHECK_LIB(m,...
and use $(LIBM) instead of hardcoding "-lm" in Makefiles.
2017-02-08 19:21:53 +01:00
Ondrej Holy
fc9b455bd6 user-accounts: Fix last login button sensitivity
The last login button should be insensitive for other accounts if the
panel is not unlocked.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2017-02-08 14:29:42 +01:00
Piotr Drąg
fdc9b35c6b Fix translator comments
They need to be exactly one line above a string to show up in .po files.
2017-01-27 23:02:44 +01:00
Felipe Borges
120956fad3 user-accounts: Use GtkRevealer instead of GdNotification
GtkRevealer combined with the "app-notification" class is enough
to represent the notification concept nowadays.

https://bugzilla.gnome.org/show_bug.cgi?id=775178
2016-11-30 13:06:28 +01:00
Felipe Borges
b995e16c98 user-accounts: Don't show_restart_notification when changing Language
Since commit 5e2ed8e, the user-accounts panel does not present an
option to change the Language for the current user. This should be
done in the "Region & Language" panel instead.

In doing so, the code for launching the restart notification is
never reached in the language_response callback method.

https://bugzilla.gnome.org/show_bug.cgi?id=767065
2016-11-29 15:19:52 +01:00
Bastien Nocera
a396e0578a user-accounts: Simplify the fingerprint manager fetching
Code styling fix.
2016-10-17 11:45:03 +02:00
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