[gnome-online-accounts] facebook: Change how the show_account method displays information
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] facebook: Change how the show_account method displays information
- Date: Fri, 16 Mar 2012 13:33:41 +0000 (UTC)
commit 2a9f695e31e2727273e0c5f8874d5f7d4e19e3e0
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 12 20:25:13 2012 +0100
facebook: Change how the show_account method displays information
Implemented design:
http://ur1.ca/8m05c
https://live.gnome.org/Design/SystemSettings/OnlineAccounts
Fixes: https://bugzilla.gnome.org/671982
src/goabackend/goafacebookprovider.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/goabackend/goafacebookprovider.c b/src/goabackend/goafacebookprovider.c
index c099710..18e9415 100644
--- a/src/goabackend/goafacebookprovider.c
+++ b/src/goabackend/goafacebookprovider.c
@@ -1,6 +1,6 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
- * Copyright (C) 2011 Red Hat, Inc.
+ * Copyright (C) 2011, 2012 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -307,9 +307,12 @@ show_account (GoaProvider *provider,
/* Chain up */
GOA_PROVIDER_CLASS (goa_facebook_provider_parent_class)->show_account (provider, client, object, vbox, table);
- goa_util_add_row_editable_label_from_keyfile (table, object, _("Email Address"), "PresentationIdentity", FALSE);
- goa_util_add_heading (table, _("Use this account for"));
- goa_util_add_row_switch_from_keyfile (table, object, _("Chat"), "ChatEnabled");
+ goa_util_add_account_info (table, object);
+
+ goa_util_add_row_switch_from_keyfile_with_blurb (GTK_TABLE (table), object,
+ _("Use for"),
+ "ChatEnabled",
+ _("Chat"));
}
/* ---------------------------------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]