[frogr] Properly check whether an user has actually connected to flickr
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Properly check whether an user has actually connected to flickr
- Date: Fri, 2 Nov 2012 08:50:33 +0000 (UTC)
commit eb17192a0587ea1f59ec119986f0f9407dba9355
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Fri Nov 2 09:28:06 2012 +0100
Properly check whether an user has actually connected to flickr
src/frogr-main-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index f77d52c..0d43967 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -1318,7 +1318,7 @@ _craft_state_description (FrogrMainView *mainview)
priv = FROGR_MAIN_VIEW_GET_PRIVATE (mainview);
account = frogr_controller_get_active_account (priv->controller);
- if (!FROGR_IS_ACCOUNT (account))
+ if (!FROGR_IS_ACCOUNT (account) || !frogr_account_has_extra_info (account))
return g_strdup (_("Not connected to flickr"));
/* Just use the username here ant not the fullname (when available),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]