[ekiga] GmConfPersonalDetails: Fallback on username if no full name.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] GmConfPersonalDetails: Fallback on username if no full name.
- Date: Thu, 12 Nov 2015 18:37:59 +0000 (UTC)
commit c0b2bc12bec612d1aee20719707cd14d75719e35
Author: Damien Sandras <dsandras seconix com>
Date: Thu Oct 15 18:55:30 2015 +0200
GmConfPersonalDetails: Fallback on username if no full name.
.../gmconf-personal-details.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/gmconf-personal-details/gmconf-personal-details.cpp
b/lib/engine/components/gmconf-personal-details/gmconf-personal-details.cpp
index 57a4601..9029fbc 100644
--- a/lib/engine/components/gmconf-personal-details/gmconf-personal-details.cpp
+++ b/lib/engine/components/gmconf-personal-details/gmconf-personal-details.cpp
@@ -40,6 +40,8 @@ Gmconf::PersonalDetails::PersonalDetails ()
personal_details = new Ekiga::Settings (PERSONAL_DATA_SCHEMA);
personal_details->changed.connect (boost::bind (&PersonalDetails::setup, this, _1));
display_name = g_get_real_name ();
+ if (display_name.empty ())
+ display_name = g_get_user_name ();
setup ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]