[gnome-control-center/wip/feborges/new-users-panel: 73/73] user-accounts: Just set arrow-frame's carousel once
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/feborges/new-users-panel: 73/73] user-accounts: Just set arrow-frame's carousel once
- Date: Fri, 5 Aug 2016 12:10:36 +0000 (UTC)
commit 9f52ffbb1e18e4feef56036e241ee56b9e93bb27
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Aug 5 14:03:09 2016 +0200
user-accounts: Just set arrow-frame's carousel once
https://bugzilla.gnome.org/show_bug.cgi?id=767065
panels/user-accounts/um-user-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index de2eca1..92c86ef 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -206,7 +206,7 @@ user_added (ActUserManager *um, ActUser *user, CcUserPanelPrivate *d)
g_debug ("user added: %d %s\n", act_user_get_uid (user), get_real_or_user_name (user));
d->other_accounts++;
- if (d->other_accounts > 1) {
+ if (d->other_accounts == 2) {
um_arrow_frame_set_carousel (d->arrow_frame, d->carousel);
gtk_widget_set_visible (GTK_WIDGET (d->carousel), TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]