aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorTomas Ogren <stric@ing.umu.se>1999-02-20 08:23:40 +0800
committerTomas Ă–gren <stric@src.gnome.org>1999-02-20 08:23:40 +0800
commit7b064036dca14df26dc6f240307f49f909b35e00 (patch)
tree35195d531b6f101bf79fe21a6ae5f3dcd380ea7b /calendar/gui
parentb9fed505034f00b70ef8e619ec12e62bde0877ed (diff)
downloadgsoc2013-evolution-7b064036dca14df26dc6f240307f49f909b35e00.tar.gz
gsoc2013-evolution-7b064036dca14df26dc6f240307f49f909b35e00.tar.zst
gsoc2013-evolution-7b064036dca14df26dc6f240307f49f909b35e00.zip
Made use of g_get_{user,real}_name() instead of our own home-brew...
1999-02-20 Tomas Ogren <stric@ing.umu.se> * main.c (init_username): Made use of g_get_{user,real}_name() instead of our own home-brew... svn path=/trunk/; revision=679
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/main.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index c5c4696ef9..0d572277ba 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -79,30 +79,8 @@ static int show_events;
static void
init_username (void)
{
- char *p;
- struct passwd *passwd;
-
- passwd = getpwuid (getuid ());
- if ((p = passwd->pw_name)) {
- char *comma;
-
- user_name = g_strdup (p);
- full_name = g_strdup (passwd->pw_gecos);
-
- /* Keep only the name from the gecos field */
- if ((comma = strchr (full_name, ',')) != NULL)
- *comma = 0;
- } else {
- if ((p = getenv ("USER"))) {
- user_name = g_strdup (p);
- full_name = g_strdup (p);
- return;
- } else {
- user_name = g_strdup ("unknown");
- full_name = g_strdup ("unknown");
- }
- }
- endpwent ();
+ user_name = g_strdup(g_get_user_name());
+ full_name = g_strdup(g_get_real_name());
}
static int
e86cfb1e0'>Restore PORTREVISION which was removed in r526786 unintentionallysunpoet2020-02-251-0/+1 * mail/exim: update to 4.93.0.4 maintenance releasefluffy2020-02-252-5/+5 * mail/roundcube-thunderbird_labels: Update to 1.4.2rigoletto2020-02-253-7/+9 * mail/spamass-milter: Fix a problem where DKIM results would always fail.bmah2020-02-252-1/+28 * mail/opensmtpd: update to 6.6.4p1 security releaasefluffy2020-02-253-6/+9 * mail/exim: unbreak EXIMON option and mail/exim/monitor slave portfluffy2020-02-252-1/+12 * mail/exim: unbreak with AUTH_RADIUSfluffy2020-02-242-4/+97 * mail/exim: update sa-exim plugin to 4.2.1fluffy2020-02-244-11/+226 * Deprecate a few portsantoine2020-02-231-0/+3 * Update LIB_DEPENDS after splitting gsasl library into libgsaslsunpoet2020-02-231-1/+2 * Update LIB_DEPENDS after splitting gsasl library into libgsaslsunpoet2020-02-231-1/+2 * Update LIB_DEPENDS after splitting gsasl library into libgsaslsunpoet2020-02-231-2/+2 * Update LIB_DEPENDS after splitting gsasl library into libgsaslsunpoet2020-02-231-2/+2 * - Update to 5.4.0ehaupt2020-02-233-6/+9 * Remove expired ports, all Python-2.7-only:rene2020-02-239-172/+0 * Fix the build with the latest krb5 portglewis2020-02-231-4/+4 * Add LICENSEsunpoet2020-02-221-4/+9 * mail/exim: fix build of various slave ports on GCC architecturespkubaj2020-02-221-0/+1 * Update Postfix to 3.4.9 (bugfix-only release)mandree2020-02-222-7/+8 * - Forgot ${FILESDIR} for EXTRA_PATCHESvsevolod2020-02-221-1/+1 * mail/s-nail: Update to 14.9.17dmgk2020-02-222-5/+4 * mail/fetchmail: mail/fetchmailconf: update to 6.4.2, make Python 3 compatiblemandree2020-02-206-33/+47 * Clean up USESantoine2020-02-201-1/+1 * Fix build.hrs2020-02-191-3/+7 * - Fix build for SA_EXIM optionvsevolod2020-02-192-1/+13 * - Fix build with no DANEvsevolod2020-02-192-3/+4 * - Update to 4.93vsevolod2020-02-174-26/+8 * mail/rspamd: fix build with LibreSSLgahr2020-02-171-0/+69 * mail/mutt: Update to 1.13.4dmgk2020-02-162-4/+4 * Unbreak fetch of fetchmailconf...mandree2020-02-151-1/+1 * UNBREAK. Do not dare mark broken again sooner than four hours before this com...mandree2020-02-151-1/+0 * Mark BROKEN again, it is still unfetchableantoine2020-02-151-0/+1 * mail/fetchmail: update for new caroot infrastructure in basemandree2020-02-151-3/+5 * Unbreak. Un-deprecate due to PR 244130.mandree2020-02-152-11/+3 * Change RUN_DEPENDS from rubygem-roadie to rubygem-roadie3sunpoet2020-02-141-1/+2 * Change RUN_DEPENDS from rubygem-roadie to rubygem-roadie3sunpoet2020-02-141-1/+2 * Add rubygem-roadie3 3.5.1 (copied from rubygem-roadie)sunpoet2020-02-144-0/+33 * Update to 4.0.0sunpoet2020-02-142-4/+4 * - update to 2.4.a1.20200213vsevolod2020-02-133-7/+6 * Update to 1.2.8bapt2020-02-132-4/+4 * mail/dovecot: upgrade to 2.3.9.3ler2020-02-132-4/+4 * mail/thunderbird: update to 68.5.0jbeich2020-02-132-6/+5 * nextcloud: Compatible with PHP 7.4brnrd2020-02-131-1/+0 * mail/nextcloud-mail: Update to 1.1.2brnrd2020-02-133-38/+30 * mail/opensmtpd: update to 6.6.3p1 releasefluffy2020-02-113-4/+5 * mail/dma: Update to 0.13garga2020-02-112-4/+4 * Update to 3.009sunpoet2020-02-092-4/+4 * Update to 1.4.2 release.ale2020-02-072-5/+4 * - Update to 2.3vsevolod2020-02-073-11/+17 * use tabs after variable namesvsevolod2020-02-074-36/+42 * Remove expired ports:rene2020-02-064-39/+0 * Add rubygem-actionmailer60 6.0.2.1 (copied from rubygem-actionmailer52)sunpoet2020-02-064-0/+50 * Add rubygem-actionmailbox60 6.0.2.1sunpoet2020-02-064-0/+49 * mail/pear-Mail_Mime: Update version 1.10.4=>1.10.6bofh2020-02-062-4/+4 * Update version requirement of RUN_DEPENDSsunpoet2020-02-041-4/+5 * Bump revision of poppler dependenciestcberner2020-02-042-2/+2 * Mark BROKEN: fails to buildantoine2020-02-041-0/+2 * Update to 0.7.5romain2020-02-032-4/+4 * Convert REINPLACE_CMD to patch filesunpoet2020-02-022-3/+11 * Limit ipaddress for Python prior to 3.3sunpoet2020-02-021-1/+2 * mail/squirrelmail: upgrade 20180404 -> 20190904pi2020-02-012-6/+8 * mail/spamassassin: Update to 3.4.4zeising2020-02-012-4/+4 * mail/opensmtpd-extras: extend mysql80 patch to cover fresh mariadb toofluffy2020-01-311-2/+7 * lang/rust: Update to 1.41.0tobik2020-01-311-1/+1 * Fix math/openblas and bump dependent portsswills2020-01-302-0/+2 * Remove unnecessary requires.txt patchsunpoet2020-01-301-1/+1 * mil/opensmtpd: update to 6.6.2p1 relasefluffy2020-01-292-4/+4 * Deprecate some pygtk2 portsantoine2020-01-291-0/+3 * mail/rspamd*: use luajit only on architectures where it's supportedpkubaj2020-01-282-9/+19 * Update to 3.12.0sunpoet2020-01-282-5/+5 * - update to 3.5-20200126ohauer2020-01-282-4/+4 * Remove expired ports:rene2020-01-2731-609/+0 * multimedia/aom: update to 1.0.0.3002jbeich2020-01-261-0/+1 * Update to 4.25.5sunpoet2020-01-263-18/+4 * mail/opensmtpd-extras: Fix building with MySQL 8.0.1fluffy2020-01-241-0/+25 * mail/thunderbird: update to 68.4.2 (rc2 for now)cmt2020-01-242-5/+5 * Update to 1.2.7bapt2020-01-232-4/+4 * graphics/poppler: update to 0.84.0tcberner2020-01-232-2/+2 * Bump PORTREVISION for devel/protobuf shlib changesunpoet2020-01-221-1/+1 * mail/sympa: upgrade 6.2.44 -> 6.2.52pi2020-01-223-34/+33 * Update to 2.22joneum2020-01-212-6/+5 * textproc/py-html2text: Copy to textproc/py-html2text2018dbaio2020-01-211-2/+2 * Change my mail address to mikael@FreeBSD.orgmikael2020-01-211-1/+1 * mail/nextcloud-mail: Update to 1.0.0brnrd2020-01-193-26/+99 * mail/phplist: Update to 3.5.0dbaio2020-01-193-671/+277 * mail/opensmtpd-filter-senderscore: New portmanu2020-01-194-0/+35 * mail/opensmtpd-filter-rspamd: New Portmanu2020-01-194-0/+36 * Fix bad usage of MANDIRSbapt2020-01-162-2/+2 * Deprecate a few Zope 2 and Zope 3 componentsantoine2020-01-151-0/+3 * mail/s-nail: fix build on GCC architecturespkubaj2020-01-151-1/+1 * Deprecate a few broken portsantoine2020-01-142-0/+4 * mail/mutt: upgrade 1.13.2 -> 1.13.3pi2020-01-142-7/+7 * Update to 4.25.4sunpoet2020-01-143-113/+115 * Update to 3.11.0sunpoet2020-01-142-7/+7 * Update to 0.6.74sunpoet2020-01-143-5/+5 * mail/msmtp: update to 1.8.7novel2020-01-132-4/+4 * - update to 3.5-20200112ohauer2020-01-132-4/+4 * Update to 0.7.3romain2020-01-134-36/+4 * Use actual dependencies version requirementsromain2020-01-121-5/+5 * New port: mail/py-postfix-mta-sts-resolverromain2020-01-127-0/+130 * update to 6.0.3oliver2020-01-122-7/+4 * mail/thunderbird: update to 68.4.1cmt2020-01-103-175/+4 * Update to 1.20200108sunpoet2020-01-102-5/+6 * Add NO_ARCHsunpoet2020-01-081-0/+2 * Update to 3.10.0sunpoet2020-01-082-5/+7 * - update to 3.5-20200105ohauer2020-01-082-4/+4 * mail/nextcloud-mail: Update to 0.21.0brnrd2020-01-073-26/+27 * mail/openemm2015: unbreak on powerpc64 elfv2pkubaj2020-01-071-1/+2 * editors/emacs-devel: Update to latest master branch commit, 4f2b415jrm2020-01-0710-7/+10 * mail/rspamd-devel: use luajit only on amd64, armv7, i386 and powerpc to fix b...pkubaj2020-01-051-2/+6 * Mark a few ports broken (unfetchable)antoine2020-01-051-0/+1 * Sort PLISTsunpoet2020-01-053-24/+28 * Deprecate more parts of zope 2.13 stackantoine2020-01-051-0/+3 * Update to 2.0.14sunpoet2020-01-033-30/+10 * mail/opensmtpd-devel: openssl111 -> openssltobik2020-01-021-3/+3 * Fix regular expression to support dates after year 2019.se2020-01-022-3/+17 * mail/s-nail: Update to 14.9.16tcberner2020-01-024-26/+4 * - update to 3.1dinoex2020-01-021-1/+1 * Chase rename of security/openssl111brnrd2020-01-023-8/+4 * Chase chneukirchen -> leahneukirchen renametobik2020-01-023-4/+4 * - update to 1-1.1.Alpha14.1dinoex2020-01-012-6/+6 * - Update to 0.58wen2020-01-012-4/+4 * Update to 3.5.1sunpoet2019-12-312-4/+4 * mail/pecl-mailparse: Update to 3.0.4, Fix build with PHP 7.4 [1]dbaio2019-12-302-5/+4 * Update to 6.1.3joneum2019-12-292-4/+4 * - Update to 2.02amdmi32019-12-293-35/+19 * Update to 5.2.4.1sunpoet2019-12-282-4/+4 * www/firefox: backport upstream sndio fixesjbeich2019-12-282-1/+114 * Update to 0.10.0 which is required for gitlab-ce 12.6.0.mfechner2019-12-272-6/+7 * update to 1.2.6bapt2019-12-272-4/+4 * Remove expired port:rene2019-12-2628-6727/+0 * Deprecate a few portsantoine2019-12-266-0/+18 * Update to 1.2.hrs2019-12-265-58/+58 * mail/mpop: update to 1.4.7jbeich2019-12-252-4/+4 * - fix RSA_generate_keydinoex2019-12-252-10/+9 * mail/neomutt: add MAKE_JOBS_UNSAFE=yespkubaj2019-12-241-0/+1 * multimedia/aom: update to 1.0.0.2863jbeich2019-12-241-1/+1 * Update to 1.13.2joneum2019-12-212-7/+7 * Additional builds with with src r354909 applied.brooks2019-12-212-2/+2 * - update to 2.7dinoex2019-12-202-4/+4 * lang/rust: Update to 1.40.0tobik2019-12-201-0/+1 * mail/nextcloud-mail: Update to 0.20.3brnrd2019-12-193-16/+16 * Remove PHP 7.1 ports, upstream security support ended on 2019-12-01 :rene2019-12-183-54/+0 * mail/thunderbird: upgrade to 68.3.1 (rc1)cmt2019-12-172-6/+5 * - update to 3.5-20191214ohauer2019-12-162-4/+4 * Update to 3.0.13.ume2019-12-162-4/+4 * Update to 2.5.15.ume2019-12-162-4/+4 * Remove DEBUG option and amend CONFIGURE_ARGS according to WITH_DEBUG.danfe2019-12-161-3/+5 * Update to 1.2.5bapt2019-12-162-6/+4 * mail/mutt: update to 1.13.1fernape2019-12-1620-150/+154 * mail/vpopmail: Unbreak build with PGSQL=ontobik2019-12-151-1/+1 * Update 3.4.2 --> 3.4.3cy2019-12-143-5/+9 * Remove comment to ensure the japanese/spamassassin verion number updatedcy2019-12-141-1/+1 * Update to 3.2.5bapt2019-12-143-7/+6 * mail/nextcloud-mail: Update to 0.20.2brnrd2019-12-133-28/+27 * mail/dovecot: upgrade to 2.3.9.2,ler2019-12-134-5/+6 * Update to 20191207bapt2019-12-132-4/+4 * devel/boost-*: update to 1.72.0jbeich2019-12-121-1/+1 * Update to 5.2.4sunpoet2019-12-112-4/+4 * Reset maintainer at their request.linimon2019-12-091-1/+1 * Update version requirement of RUN_DEPENDSsunpoet2019-12-092-5/+5 * mail/roundcube-contextmenu: update to 3.0ler2019-12-064-6/+17 * Unbreak the build with LDAP option selected (for some reason, the problemdanfe2019-12-051-0/+2 * mail/dovecot, mail/dovecot-pigeonhole: upgrade to 2.3.9, 0.5.9 respectively.ler2019-12-0510-23/+36 * mail/nextcloud-mail: Update to 0.20.0brnrd2019-12-053-28/+38 * mail/nextcloud-mail: Update to 0.19.1brnrd2019-12-033-27/+27 * mail/aerc: Unbreak on arm64tobik2019-12-032-4/+12 * Update to 20191129bapt2019-12-022-4/+4 * mail/thunderbird: update to 68.3.0 (rc2)cmt2019-12-022-5/+6 * Give this a quick expiration date (1 month). It has been broken forlinimon2019-11-301-2/+7 * Update to 6.1.3joneum2019-11-292-5/+6 * gecko: drop close_fds workaround after r518640jbeich2019-11-291-29/+0 * mail/imapfilter: Update version 2.6.14=>2.6.16bofh2019-11-293-10/+10 * Add ctype dependency.ale2019-11-271-1/+2 * Clean up after java/openjdk6 and java/openjdk6-jre removaljkim2019-11-277-9/+1 * Update to 1.2.2bapt2019-11-264-92/+5 * Update to 1.4.1 release and remove obsolete suhosin patches.ale2019-11-267-207/+5 * - update to 3.4.8ohauer2019-11-262-5/+5 * mail/dovecot: include mention of security.bsd.hardlink_check_{g,u}id in pkg-m...ler2019-11-262-1/+5 * Fix build with src r354909 applied.brooks2019-11-262-2/+2 * - update WWWdinoex2019-11-251-1/+1 * - update MASTER_SITESdinoex2019-11-251-3/+1 * mail/mailutils: Update to 3.8; fix circular [1] / missing dependenciesjrm2019-11-255-335/+25 * - Update to 2.3-a1vsevolod2019-11-243-6/+12 * - Update to 2.2vsevolod2019-11-243-5/+11 * Unbreak the test suite and hook it to our framework.danfe2019-11-232-1/+29 * Obsolete by gitlab-ce 12.5 upgrade, please use mail/rubygem-premailer-rails-r...mfechner2019-11-234-35/+0 * Obsolete by gitlab-ce 12.5 upgrade, please use mail/rubygem-premailer-rails-r...mfechner2019-11-234-35/+0 * New ports required for gitlab-ce 12.5.mfechner2019-11-224-0/+34 * mail/aerc: Update to 0.3.0tobik2019-11-223-23/+34 * mail/thunderbird: update to 68.3.0 (rc1)cmt2019-11-202-5/+4 * Update to 6.1.2joneum2019-11-192-4/+4 * Update to 2.2.4joneum2019-11-192-4/+4 * - Simplify the port by dropping NO_MTREEamdmi32019-11-171-8/+3 * Update MASTER_SITES.ume2019-11-173-5/+5 * Update master site and unmark BROKEN.ume2019-11-171-3/+2 * Clean up WRKSRC and USE_GITHUB usage in some portstobik2019-11-161-2/+0 * Bump PORTREVISION after r517743 to force relinking.dmgk2019-11-163-1/+3 * mail/nextcloud-mail: Update to 0.18.1brnrd2019-11-163-26/+26 * Update master site and unmark BROKEN.ume2019-11-162-4/+2 * - Update OpenSMTPD extras to 6.6.0 releasefluffy2019-11-1616-292/+12 * Update tp 2.5.14ume2019-11-152-4/+4 * - Update to 3.0.12ume2019-11-153-5/+15 * Move remaining USE_MYSQL, WANT_MYSQL_VER to USES=mysqltobik2019-11-156-8/+6 * Add USES={gl,gnome,mate,sdl,xorg} missed in the last roundtobik2019-11-142-1/+2 * Restore DNSLookup API for pydnsv(DNS) for tcp fallback works againsunpoet2019-11-142-0/+14 * Update to 2019-11-11bapt2019-11-123-10/+5 * New ports required for www/redmine4mfechner2019-11-124-0/+32 * Upgrade to 3.0 (final release).thierry2019-11-124-37/+214 * - update to 3.5-20191109ohauer2019-11-112-4/+4 * multimedia/aom: update to 1.0.0.2631jbeich2019-11-091-1/+1 * - Fix LICENSEamdmi32019-11-091-23/+10 * mail: Add missing USES={gnome,php}tobik2019-11-0819-21/+29 * Sprinkle more USES=xorgzeising2019-11-081-0/+1 * lang/rust: Update to 1.39.0tobik2019-11-082-0/+171 * - Unbreak fetch, official site provide pure .tar.gz onlyfluffy2019-11-073-6/+36 * Add USES=xorg USES=gl, ports categories l and mzeising2019-11-072-0/+2 * Add USES=xorg USES=gl, ports categories mzeising2019-11-0714-13/+14 * Mark a few ports BROKEN (unfetchable)antoine2019-11-0632-0/+64 * - Update OpenSMTPd to 6.6.1p1 portable releasefluffy2019-11-062-4/+4 * neomutt: NLS=off no longer requires gettext during buildadamw2019-11-061-1/+0 * mail/thunderbird: update to 68.2.2 rc1cmt2019-11-062-5/+4 * Update to 20191102bapt2019-11-053-6/+7 * Returns johans's ports to the pool after safekeeping his commit bit.rene2019-11-053-3/+3 * Update to 2.0.13sunpoet2019-11-054-22/+21 * mail/imapfilter: Update version 2.6.13=>2.6.14bofh2019-11-042-4/+4 * - update to 3.5-20191019ohauer2019-11-042-4/+4 * Fix build with libetpan 1.9.4sunpoet2019-11-042-5/+38 * Cosmetic changesunpoet2019-11-041-2/+3 * Cosmetic changesunpoet2019-11-041-2/+3 * gecko: drop unused system hunspell after r509969jbeich2019-11-031-1/+1 * Update to 1.9.4sunpoet2019-11-033-8/+7 * Add -rdynamic to ezmlm-idx's conf-ld. This flag was added in ezmlm-idxcperciva2019-11-021-5/+5 * graphics/poppler: update to 0.82.0tcberner2019-11-022-2/+2 * mail/nextcloud-mail: Update to 0.18.0brnrd2019-11-023-70/+57 * - Unbreak fetching and building against contemporary compilersdanfe2019-11-017-7/+107 * multimedia/aom: update to 1.0.0.2599jbeich2019-10-311-0/+1 * mail/thunderbird: update to 68.2.1jbeich2019-10-31