Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-09-17 00:19:59 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-09-17 00:19:59 (GMT)
commit38d19b94d7f85ea3914115ad18ce84743fae698b (patch)
tree6129bfcb32d267284932f88de404a663d40052be
parentb9ee09d35375678519c3ea2938d3ae0a369de675 (diff)
Add name variable at desktop profile module.
-rw-r--r--desktop/sweetener/profile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/sweetener/profile.py b/desktop/sweetener/profile.py
index 81d4558..2be2e4a 100644
--- a/desktop/sweetener/profile.py
+++ b/desktop/sweetener/profile.py
@@ -18,6 +18,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
+import os
+import pwd
+name = pwd.getpwuid(os.getuid()).pw_gecos
import gtk