gqclient-commit Mailing List for GQ LDAP client (Page 14)
Status: Beta
Brought to you by:
sur5r
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
(14) |
Jul
(38) |
Aug
(5) |
Sep
(29) |
Oct
(30) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(30) |
Oct
(217) |
Nov
(24) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(53) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <sta...@us...> - 2002-10-14 16:34:25
|
Update of /cvsroot/gqclient/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv21825 Modified Files: pofile Log Message: * test check-in Index: pofile =================================================================== RCS file: /cvsroot/gqclient/CVSROOT/pofile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** pofile 14 Oct 2002 16:33:42 -0000 1.11 --- pofile 14 Oct 2002 16:34:23 -0000 1.12 *************** *** 1,4 **** --- 1,5 ---- #!/bin/bash + CVSROOT=$1 SAVEARGS="$2" |
From: <pe...@st...> - 2002-10-14 16:11:25
|
hi |
From: <sta...@us...> - 2002-10-14 15:12:47
|
Update of /cvsroot/gqclient/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv25169a Modified Files: loginfo Log Message: * Added pofile as a loginfo command Index: loginfo =================================================================== RCS file: /cvsroot/gqclient/CVSROOT/loginfo,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** loginfo 23 Jun 2002 16:09:56 -0000 1.5 --- loginfo 14 Oct 2002 15:12:08 -0000 1.6 *************** *** 29,30 **** --- 29,31 ---- # CVSROOT $CVSROOT/CVSROOT/syncmail %{sVv} you@someplace.else DEFAULT $CVSROOT/CVSROOT/syncmail %{sVv} gqc...@li... + DEFAULT $CVSROOT/CVSROOT/pofile %{sVv} |
From: <sta...@us...> - 2002-10-14 15:11:13
|
Update of /cvsroot/gqclient/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv24798 Added Files: pofile Log Message: * A loginfo progy to mail po-file maintainers if something changes --- NEW FILE: pofile --- #!/bin/bash CVSROOT="$1" shift for A in "$@"; do case "$A" in */de.po,*) $CVSROOT/CVSROOT/syncmail "$A" pe...@st...;; esac done |
From: <sta...@us...> - 2002-10-14 15:09:17
|
Update of /cvsroot/gqclient/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv23961 Modified Files: checkoutlist Log Message: * Added pofile to the list Index: checkoutlist =================================================================== RCS file: /cvsroot/gqclient/CVSROOT/checkoutlist,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** checkoutlist 13 Apr 2002 05:19:39 -0000 1.2 --- checkoutlist 14 Oct 2002 15:08:40 -0000 1.3 *************** *** 13,14 **** --- 13,15 ---- # comment lines begin with '#' syncmail + pofile |
From: Peter S. <pe...@st...> - 2002-10-12 13:01:48
|
It has happened again: Some commitinfo messages were lost due to problems with mailing at sourceforge. Some messages related to TODO items and a minor new feature. Check the CVS history to find out what happened in the last hour(s). peter |
From: <sta...@us...> - 2002-10-12 05:33:12
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv1026 Modified Files: util.c Log Message: * Fixed core-dumping problems introduced just yesterday, Thanks go to Dmitry Chernyak <dm...@in...> for testing a patch I sent him. Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** util.c 11 Oct 2002 14:57:41 -0000 1.52 --- util.c 12 Oct 2002 05:33:08 -0000 1.53 *************** *** 209,214 **** /* take care of special characters... */ ! binddn = encoded_string(binddn); ! bindpw = encoded_string(bindpw); switch (server->bindtype) { --- 209,214 ---- /* take care of special characters... */ ! if (binddn) binddn = encoded_string(binddn); ! if (bindpw) bindpw = encoded_string(bindpw); switch (server->bindtype) { *************** *** 242,247 **** } ! free(binddn); ! free(bindpw); binddn = bindpw = NULL; --- 242,247 ---- } ! if (binddn) free(binddn); ! if (bindpw) free(bindpw); binddn = bindpw = NULL; |
From: <sta...@us...> - 2002-10-11 14:57:49
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv19942 Modified Files: util.c Log Message: * Allow for special characters in bind DN and bind password Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** util.c 11 Oct 2002 14:00:49 -0000 1.51 --- util.c 11 Oct 2002 14:57:41 -0000 1.52 *************** *** 207,210 **** --- 207,215 ---- } + /* take care of special characters... */ + + binddn = encoded_string(binddn); + bindpw = encoded_string(bindpw); + switch (server->bindtype) { case BINDTYPE_KERBEROS: *************** *** 236,239 **** --- 241,249 ---- break; } + + free(binddn); + free(bindpw); + + binddn = bindpw = NULL; if (rc != LDAP_SUCCESS) { |
From: <sta...@us...> - 2002-10-11 14:14:28
|
Update of /cvsroot/gqclient/gq In directory usw-pr-cvs1:/tmp/cvs-serv3339 Modified Files: gq.spec.in Log Message: * Fixes a bug (feature) reported by several people: Get rid of ?download at end of Source: line * Added support for language packs Index: gq.spec.in =================================================================== RCS file: /cvsroot/gqclient/gq/gq.spec.in,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** gq.spec.in 18 Jun 2002 06:35:55 -0000 1.6 --- gq.spec.in 11 Oct 2002 14:14:25 -0000 1.7 *************** *** 1,5 **** %define name @PACKAGE@ %define version @VERSION@ ! %define release 2 %define prefix /usr --- 1,6 ---- %define name @PACKAGE@ %define version @VERSION@ ! %define release 0 ! %define langpack 0 %define prefix /usr *************** *** 12,16 **** URL: http://biot.com/gq/ Packager: Bert Vermeulen <be...@bi...> ! Source: http://prdownloads.sourceforge.net/gqclient/gq-%{version}.tar.gz?download BuildRoot: /tmp/gq-%{version}-%{release} Requires: gtk+ >= 1.2.0 --- 13,18 ---- URL: http://biot.com/gq/ Packager: Bert Vermeulen <be...@bi...> ! Source: http://prdownloads.sourceforge.net/gqclient/gq-%{version}.tar.gz ! Source1: http://prdownloads.sourceforge.net/gqclient/gq-%{version}-langpack-%{langpack}.tar.gz BuildRoot: /tmp/gq-%{version}-%{release} Requires: gtk+ >= 1.2.0 *************** *** 23,29 **** %prep %setup %build ! ./configure --prefix=%{prefix} # --enable-cache --enable-browser-dnd make --- 25,33 ---- %prep %setup + tar -xzf %{SOURCE1} + ./gq-%{version}-langpack-%{langpack}/langpack . %build ! ./configure --with-included-gettext --prefix=%{prefix} # --enable-cache --enable-browser-dnd make |
From: <sta...@us...> - 2002-10-11 14:13:10
|
Update of /cvsroot/gqclient/gq In directory usw-pr-cvs1:/tmp/cvs-serv2698 Modified Files: TODO Log Message: * More TODOs for dt_oc (induced by Emil Assarsson <emi...@bo...>) Index: TODO =================================================================== RCS file: /cvsroot/gqclient/gq/TODO,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** TODO 28 Sep 2002 20:15:07 -0000 1.27 --- TODO 11 Oct 2002 14:13:07 -0000 1.28 *************** *** 56,59 **** --- 56,70 ---- <cja...@gh...>) * import from LDIF + + * dt_oc: allow for automatic addition of intermediate objectClasses. Add + a default "top" template, with only the single "top" objectClass. These + two changes allow for efficient addition of objects of a single "class". + Suggested by Emil Assarsson <emi...@bo...> + + * nested main loop invocations during possibly long running LDAP operations + (any search), allow to interrupt running operations in certain situations. + See mail by Emil Assarsson <emi...@bo...> dated + Wed, 09 Oct 2002 19:40:37 +0200. + * Better keyboard support (at least for main menu) (peter) * [1.0] never do ldap_add when moving trees. Use triangulation like with the *************** *** 73,76 **** --- 84,88 ---- * schema designer (when OpenLDAP supports writable schema) * generate change and undo log in LDIF + * [post 1.0] work towards gtk2 -------------------------------------------------------------------------- |
From: <sta...@us...> - 2002-10-11 14:12:20
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv2165 Added Files: i18n.c Log Message: * Immplements the S_ function --- NEW FILE: i18n.c --- /* GQ -- a GTK-based LDAP client Copyright (C) 1998-2001 Bert Vermeulen Copyright (C) 2002 Peter Stamfest and Bert Vermeulen This file is Copyright (C) 2002 by Peter Stamfest This program is released under the Gnu General Public License with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* $Id: i18n.c,v 1.1 2002/10/11 14:12:16 stamfest Exp $ */ #include <string.h> #include "i18n.h" /* Idea taken from the gettext documentation. */ char *S_(const char *msgid) { char *m = gettext(msgid); if (m == msgid) { char *m2 = strrchr(msgid, '|'); if (m2) return m2 + 1; } return m; } |
From: <sta...@us...> - 2002-10-11 14:11:34
|
Update of /cvsroot/gqclient/gq In directory usw-pr-cvs1:/tmp/cvs-serv1757 Modified Files: README.NLS Log Message: * New notes for translators Index: README.NLS =================================================================== RCS file: /cvsroot/gqclient/gq/README.NLS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README.NLS 18 Sep 2002 07:22:04 -0000 1.2 --- README.NLS 11 Oct 2002 14:11:31 -0000 1.3 *************** *** 4,14 **** Support for singular/plural forms when translating messages containing numbers has been added in Sept. 2002. This requires the use of a ! sufficiently nuew gettext implementation. The implementation included with gq is sufficient. You might need to use the --with-included-gettext option if your gettext does not support the ngettext function. ! Read the gettext ddocumentation to find out how to support ngettext with your language. Regarding the introduction of new translations --- 4,30 ---- Support for singular/plural forms when translating messages containing numbers has been added in Sept. 2002. This requires the use of a ! sufficiently new gettext implementation. The implementation included with gq is sufficient. You might need to use the --with-included-gettext option if your gettext does not support the ngettext function. ! Read the gettext documentation to find out how to support ngettext with your language. + + Tooltip Messages - Note to translators + -------------------------------------- + + Parts of gq now also show tooltips (small popup messages if the cursor + rests upon a widget supporting a tooltip). + + Usually there are two messages related to such a tooltip. The first + message is shown as the actual tooltip. The second (longer) message is + thought to be sort of an "online help". Unfortunately these messages + cannot be displayed currently. Thus such messages are marked using the + prefix "tooltip|". + + Translators at this point are not absolutely required to translate + such messages. If they so, however, they should NOT include the + "tooltip|" prefix in the translation. Regarding the introduction of new translations |
From: <sta...@us...> - 2002-10-11 14:10:48
|
Update of /cvsroot/gqclient/gq In directory usw-pr-cvs1:/tmp/cvs-serv1395 Added Files: langpack README.langpack Log Message: * Introduces the language pack --- NEW FILE: langpack --- #!/bin/sh MYDIR=`dirname $0` pushd "$MYDIR" >/dev/null MYDIR=`pwd` popd >/dev/null function usage { cat >&2 <<EOF $0: usage: $0 <gq-topdir> <gq-topdir> names the top directory of the gq source distribution This script modifies the gq source to take care of the languages that come with it. It MUST be called prior to configuring gq. EOF } DIR=$1 if [ "$DIR" = "" ] ; then usage $0 exit 1 fi pushd "$DIR" >/dev/null DIR=`pwd` popd >/dev/null # copy po files if [ "$DIR" != "$MYDIR" ]; then echo -n "copying po files: " for A in "$MYDIR"/po/*.po; do PO=`basename $A .po` cp $A "$DIR/po" || (echo Error ; exit 2) echo -n "$PO " done echo fi # collect languages echo -n "collecting languages: " ALL_LINGUAS="" for A in "$DIR"/po/*.po; do PO=`basename $A .po` echo -n "$PO " if [ "$ALL_LINGUAS" = "" ] ; then ALL_LINGUAS="$PO" else ALL_LINGUAS="$ALL_LINGUAS $PO" fi done echo # fix necessary files. This is brutal, but automake does not give me a # better chance echo -n "fixing files: " for FILE in "$DIR/configure" "$DIR/configure.in" ; do echo -n "$FILE " if sed 's/ALL_LINGUAS=.*$/ALL_LINGUAS="'"$ALL_LINGUAS"'"/' < $FILE > $FILE.fixed then mv "$FILE.fixed" "$FILE" else echo >&2 Could not fix "$FILE" fi done chmod +x $DIR/configure echo --- NEW FILE: README.langpack --- Since the second beta version of gq 0.7.0 there is a separate distribution of I18N message catalogs. These "langpacks" have been introduced for the following reasons: * langpacks can be build outside the gq release cycle (which sometimes tends to be rather long) * People not interested in I18N messages can forget about them * Simpler integration for new translations. No need to patch configure.in * Translators may build their own language packs (make langpack-dist) How to use a langpack --------------------- 1.) Download gq 2.) Unpack the gq distribution tar -xzf gq-0.7.0.tar.gz 3.) Download a language pack matching the version of gq 4.) Put the downloaded language pack into the top directory of gq mv gq-0.7.0-langpack-1.tar.gz gq-0.7.0 5.) Unpack the language pack - This will produce a directory named something like gq-0.7.0-langpack-1 tar -xzf gq-0.7.0-langpack-1.tar.gz 6.) run the langpack script: gq-0.7.0-langpack-1/langpack . 7.) configure + make gq as usual Currently the following languages are part of the language pack: Language Code Last version Translator -------------------------------------------------------------------------- Czech cs 0.6.0 Tomas Dobrovolny <tom...@at...> German de 0.7.0beta2 Peter Stamfest <pe...@st...> Japanese ja pre 0.7.0beta1 Hatuka*nezumi <ne...@jc...> |
From: <sta...@us...> - 2002-10-11 14:09:27
|
Update of /cvsroot/gqclient/gq In directory usw-pr-cvs1:/tmp/cvs-serv1009 Modified Files: Makefile.am Log Message: * Introduces the language pack and Makefile support for it Index: Makefile.am =================================================================== RCS file: /cvsroot/gqclient/gq/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile.am 13 Jun 2002 10:15:35 -0000 1.7 --- Makefile.am 11 Oct 2002 14:09:24 -0000 1.8 *************** *** 3,8 **** SUBDIRS = intl src icons po ! EXTRA_DIST = gq.spec.in README.TLS README.NLS dist-hook: gq.spec cp gq.spec $(distdir) --- 3,21 ---- SUBDIRS = intl src icons po ! EXTRA_DIST = gq.spec.in README.TLS README.NLS README.langpack dist-hook: gq.spec cp gq.spec $(distdir) + rm -f $(distdir)/po/*.po # no po files, these go into the language pack + perl -i -pe 's/ALL_LINGUAS=.*$$/ALL_LINGUAS=/' $(distdir)/{configure,configure.in} + + LANGPACK_DIST = COPYING AUTHORS ABOUT-NLS README.NLS README.langpack + LANGPACK_VERSION = @LANGPACK_VERSION@ + + LANGPACK = $(PACKAGE)-$(VERSION)-langpack-$(LANGPACK_VERSION) + + langpack-dist: + -rm -rf $(LANGPACK) && mkdir $(LANGPACK) + ls -1d po po/*.po langpack $(LANGPACK_DIST) | cpio -p $(LANGPACK) + GZIP=$(GZIP_ENV) $(TAR) chozf $(LANGPACK).tar.gz $(LANGPACK) + -rm -rf $(LANGPACK) |
From: <sta...@us...> - 2002-10-11 14:09:00
|
Update of /cvsroot/gqclient/gq In directory usw-pr-cvs1:/tmp/cvs-serv811 Modified Files: ChangeLog Log Message: * Changes done in the last couple of days Index: ChangeLog =================================================================== RCS file: /cvsroot/gqclient/gq/ChangeLog,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** ChangeLog 28 Sep 2002 20:14:28 -0000 1.35 --- ChangeLog 11 Oct 2002 14:08:57 -0000 1.36 *************** *** 1,2 **** --- 1,36 ---- + 2002-10-11 Peter Stamfest <pe...@st...> + * Introduction of the language pack distribution. This is designed + to be able to release I18N translations without requiring a gq + release + * Long tooltip messages do not have to be translated right now, as + they are not actually used. + * configure tests for __tm_gmtoff in struct tm now as well + * New german translations + * New czech translation, unfortunately only based on 0.6.0 by + Tomas Dobrovolny <tom...@at...> + * Made "Show relative DN" config setting work again in browse mode. + (Reported by Dmitry Chernyak <dm...@in...>) + * Some more tooltips. + * "Beautified" some more dialogs + 2002-10-10 Peter Stamfest <pe...@st...> + * configure tests and implementation of use of + tm_gmtoff in struct tm vs the global timezone variable (dt_time) + * Versionnumber: 0.7.0beta2 + * Threw away automatic enabling of --with-included-gettext, it did + not work correctly. Produce error messages instead. + * replaced ulong by unsigned long in browse-dnd.c + 2002-10-09 Peter Stamfest <pe...@st...> + * Fixes for invalid uses of bindpw/enteredpw by + ol...@op... via debian and Cord Beermann + <co...@Wu...> + * New TODOs regarding dt_oc + * Fixes to the gq SPEC file - bugs reported by several people + independently + 2002-10-07 Peter Stamfest <pe...@st...> + * dt_binary uses a fixed font now + * Added a dummy ngettext function in case we have no NLS + * "Beautified" some more dialogs + 2002-09-29 Peter Stamfest <pe...@st...> + * Released 0.7.0beta1 2002-09-27 Peter Stamfest <pe...@st...> * Support for the extensibleObject object class. |
From: <sta...@us...> - 2002-10-11 14:06:37
|
Update of /cvsroot/gqclient/gq/po In directory usw-pr-cvs1:/tmp/cvs-serv31967 Modified Files: de.po ja.po Added Files: cs.po Log Message: * Updated german translations * Added czech translation (but only have message strings for 0.6.0) by Tomas Dobrovolny <tom...@at...> * new messages in all catalog due to make update-po --- NEW FILE: cs.po --- # The czech po file for gq # Copyright (C) 2002 Tomas Dobrovolny, redistributable under the GPL # Tomas Dobrovolny <tom...@at...>, 2002. # msgid "" msgstr "" "Project-Id-Version: gq 0.6.0\n" "POT-Creation-Date: 2002-10-11 14:00+0200\n" "PO-Revision-Date: 2002-10-09 14:40+0200\n" "Last-Translator: Tomas Dobrovolny <tom...@at...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #: src/browse.c:100 msgid "Exploding DN" msgstr "" [...1579 lines suppressed...] #~ msgid "found" #~ msgstr "nalezen" #~ msgid "exported" #~ msgstr "exportováno" #~ msgid "%s to %s" #~ msgstr "%s na %s" #~ msgid "no %s %s" #~ msgstr "ne %s %s" #~ msgid "1 %s %s" #~ msgstr "1 %s %s" #~ msgid "suffix" #~ msgstr "koncovka" #~ msgid "suffixes" #~ msgstr "koncovky" Index: de.po =================================================================== RCS file: /cvsroot/gqclient/gq/po/de.po,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** de.po 29 Sep 2002 18:18:06 -0000 1.10 --- de.po 11 Oct 2002 14:06:33 -0000 1.11 *************** *** 3,11 **** # Peter Stamfest <pe...@st...>, 2002. # - #: src/prefs.c:580 src/prefs.c:756 msgid "" msgstr "" ! "Project-Id-Version: gq 0.5.0\n" ! "POT-Creation-Date: 2002-09-29 17:12+0200\n" "PO-Revision-Date: 2002-04-21 16:10+MEST\n" "Last-Translator: Peter Stamfest <pe...@st...>\n" --- 3,10 ---- [...1753 lines suppressed...] - #~ msgstr "%d Einträge gefunden" - - #~ msgid "No suffixes found" - #~ msgstr "Keine Suffixe gefunden" - - #~ msgid "%d suffixes found" - #~ msgstr "%d Suffixe gefunden" - - #~ msgid "No entries found (running)" - #~ msgstr "Keine Einträge gefunden (Suche wird fortgesetzt)" - - #~ msgid "%d entries found (running)" - #~ msgstr "%1$d Einträge gefunden (Suche wird fortgesetzt)" - - #~ msgid "No entries found (finished)" - #~ msgstr "Keine Einträge gefunden (Suche abgeschlossen)" - - #~ msgid "%d entries found (finished)" - #~ msgstr "%d Einträge gefunden (Suche abgeschlossen)" --- 1614,1615 ---- Index: ja.po =================================================================== RCS file: /cvsroot/gqclient/gq/po/ja.po,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ja.po 29 Sep 2002 18:15:34 -0000 1.2 --- ja.po 11 Oct 2002 14:06:33 -0000 1.3 *************** *** 3,11 **** # Hatuka*nezumi <ne...@jc...>, 2002. # - #: src/prefs.c:580 src/prefs.c:756 msgid "" msgstr "" "Project-Id-Version: gq 0.6.0\n" ! "POT-Creation-Date: 2002-09-29 17:12+0200\n" "PO-Revision-Date: 2002-09-21 18:31+0900\n" "Last-Translator: Hatuka*nezumi <ne...@jc...>\n" --- 3,10 ---- [...1688 lines suppressed...] + msgstr "" + + #: src/prefs.c:1458 + msgid "" + "If set, turns on sorting of entries shown in a browse tree. Changing this " + "only has an effect for new browse tabs." + msgstr "" + #. Format frame ! #: src/prefs.c:1479 msgid " Format " msgstr " ½ñ¼° " ! #: src/prefs.c:1489 msgid "UMich/OpenLDAP style (no comments/version)" msgstr "UMich/OpenLDAP¥¹¥¿¥¤¥ë (Ãí¼á¤ä¥Ð¡¼¥¸¥ç¥ó¤Ï¤Ê¤¤)" ! #: src/prefs.c:1498 msgid "LDIF Version 1 (RFC2849)" msgstr "LDIF Version 1 (RFC 2849¤Ë½àµò)" |
From: <sta...@us...> - 2002-10-11 14:04:49
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv31752 Modified Files: util.h Log Message: * Want to add a configure test for ldap_schema... so add config.h to be included - but no configure test yet... Index: util.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.h,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** util.h 18 Sep 2002 07:22:04 -0000 1.17 --- util.h 11 Oct 2002 14:04:45 -0000 1.18 *************** *** 27,35 **** #define GQ_UTIL_H_INCLUDED #include <gtk/gtk.h> #include <ldap.h> - #include <ldap_schema.h> ! #include "config.h" LDAP *open_connection(struct ldapserver *server); --- 27,36 ---- #define GQ_UTIL_H_INCLUDED + #include "config.h" + #include <gtk/gtk.h> #include <ldap.h> ! #include <ldap_schema.h> LDAP *open_connection(struct ldapserver *server); |
From: <sta...@us...> - 2002-10-11 14:00:55
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv30452 Modified Files: util.c Log Message: * Fixed wrong handling of password entered interactivly. Reported by Oliver Jowett <ol...@op...> via debian and Cord Beermann <co...@Wu...>. Most of the contributed fixes where already done earlier, but some bugs remained and Oliver found them. Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** util.c 28 Sep 2002 21:18:28 -0000 1.50 --- util.c 11 Oct 2002 14:00:49 -0000 1.51 *************** *** 333,337 **** newpw = 1; } else { ! server->bindpw[0] = 0; } } else { --- 333,337 ---- newpw = 1; } else { ! server->enteredpw[0] = 0; } } else { *************** *** 366,370 **** error_flush(open_context); if (rc != LDAP_SUCCESS) { ! if (newpw) server->bindpw[0] = 0; } --- 366,370 ---- error_flush(open_context); if (rc != LDAP_SUCCESS) { ! if (newpw) server->enteredpw[0] = 0; } |
From: <sta...@us...> - 2002-10-11 13:58:47
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv29614 Modified Files: prefs.c Log Message: * Unify container border widths * Changed to S_ for long tooltip texts * Allow less space for label in some dialogs (no GTK_EXPAND for labels), thus yielding more space for entry widgets. * Tooltips for Browse-preferences Index: prefs.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/prefs.c,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** prefs.c 27 Sep 2002 00:22:15 -0000 1.28 --- prefs.c 11 Oct 2002 13:58:43 -0000 1.29 *************** *** 45,48 **** --- 45,49 ---- #include "debug.h" #include "i18n.h" + #include "input.h" *************** *** 342,346 **** main_vbox = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(main_vbox), 10); gtk_widget_show(main_vbox); gtk_container_add(GTK_CONTAINER(editwindow), main_vbox); --- 343,348 ---- main_vbox = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(main_vbox), ! CONTAINER_BORDER_WIDTH); gtk_widget_show(main_vbox); gtk_container_add(GTK_CONTAINER(editwindow), main_vbox); *************** *** 357,361 **** gtk_object_set_data(GTK_OBJECT(editwindow), "vbox1", vbox1); gtk_widget_show(vbox1); ! gtk_container_border_width(GTK_CONTAINER(vbox1), 10); label = gtk_label_new(_("General")); gtk_widget_show(label); --- 359,364 ---- gtk_object_set_data(GTK_OBJECT(editwindow), "vbox1", vbox1); gtk_widget_show(vbox1); ! gtk_container_border_width(GTK_CONTAINER(vbox1), ! CONTAINER_BORDER_WIDTH); label = gtk_label_new(_("General")); gtk_widget_show(label); *************** *** 366,370 **** gtk_widget_show(table1); gtk_box_pack_start(GTK_BOX(vbox1), table1, FALSE, FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(table1), 10); gtk_table_set_row_spacings(GTK_TABLE(table1), 5); gtk_table_set_col_spacings(GTK_TABLE(table1), 13); --- 369,374 ---- gtk_widget_show(table1); gtk_box_pack_start(GTK_BOX(vbox1), table1, FALSE, FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(table1), ! CONTAINER_BORDER_WIDTH); gtk_table_set_row_spacings(GTK_TABLE(table1), 5); gtk_table_set_col_spacings(GTK_TABLE(table1), 13); *************** *** 375,379 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 0, 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_RIGHT); --- 379,383 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 0, 1, ! GTK_FILL, GTK_FILL, 0, 0); gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_RIGHT); *************** *** 390,395 **** gtk_tooltips_set_tip(tips, entry, _("The nickname of the server definition"), ! _("The nickname is used to refer to this server " ! "definition throughout this application")); /* LDAP host */ --- 394,401 ---- gtk_tooltips_set_tip(tips, entry, _("The nickname of the server definition"), ! S_("tooltip|The nickname is used to refer to this " ! "server " ! "definition throughout this application") ! ); /* LDAP host */ *************** *** 398,402 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 1, 2, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); host = entry = gtk_entry_new(); --- 404,408 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 1, 2, ! GTK_FILL, GTK_FILL, 0, 0); host = entry = gtk_entry_new(); *************** *** 411,418 **** gtk_tooltips_set_tip(tips, entry, _("The host name or LDAP URI of the LDAP server"), ! _("Either use the name or IP address of the server " ! "or an LDAP URI (either ldap or ldaps). An URI " ! "is recognized through the existance of a colon " ! "in this field")); /* Port */ --- 417,426 ---- gtk_tooltips_set_tip(tips, entry, _("The host name or LDAP URI of the LDAP server"), ! S_("tooltip|Either use the name or IP address of " ! "the server " ! "or an LDAP URI (either ldap or ldaps). An URI " ! "is recognized through the existance of a colon " ! "in this field") ! ); /* Port */ *************** *** 421,425 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 2, 3, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); entry = gtk_entry_new(); --- 429,433 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 2, 3, ! GTK_FILL, GTK_FILL, 0, 0); entry = gtk_entry_new(); *************** *** 439,445 **** gtk_tooltips_set_tip(tips, entry, _("The port the LDAP server listens on"), ! _("If empty, the well-known LDAP port (389) is " ! "assumed. This field is not available if an LDAP " ! "URI is used.")); /* Callback on HOST to enable/disable port if user enters a colon... */ --- 447,454 ---- gtk_tooltips_set_tip(tips, entry, _("The port the LDAP server listens on"), ! S_("tooltip|If empty, the well-known LDAP port (389) " ! "is assumed. This field is not available if an " ! "LDAP URI is used.") ! ); /* Callback on HOST to enable/disable port if user enters a colon... */ *************** *** 456,460 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 3, 4, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); entry = gtk_entry_new(); --- 465,469 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 3, 4, ! GTK_FILL, GTK_FILL, 0, 0); entry = gtk_entry_new(); *************** *** 469,475 **** gtk_tooltips_set_tip(tips, entry, _("The base DN of the server"), ! _("This base DN gets used in search mode, usually " ! "though, this application queries the server " ! "for its 'namingContexts'")); /* "Details" tab */ --- 478,486 ---- gtk_tooltips_set_tip(tips, entry, _("The base DN of the server"), ! S_("tooltip|This base DN gets used in search mode, " ! "usually " ! "though, this application queries the server " ! "for its 'namingContexts'") ! ); /* "Details" tab */ *************** *** 478,482 **** gtk_object_set_data(GTK_OBJECT(editwindow), "vbox2", vbox2); gtk_widget_show(vbox2); ! gtk_container_border_width(GTK_CONTAINER(vbox2), 10); label = gtk_label_new(_("Details")); gtk_widget_show(label); --- 489,494 ---- gtk_object_set_data(GTK_OBJECT(editwindow), "vbox2", vbox2); gtk_widget_show(vbox2); ! gtk_container_border_width(GTK_CONTAINER(vbox2), ! CONTAINER_BORDER_WIDTH); label = gtk_label_new(_("Details")); gtk_widget_show(label); *************** *** 487,491 **** gtk_widget_show(table2); gtk_box_pack_start(GTK_BOX(vbox2), table2, TRUE, TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(table2), 10); gtk_table_set_row_spacings(GTK_TABLE(table2), 5); gtk_table_set_col_spacings(GTK_TABLE(table2), 13); --- 499,504 ---- gtk_widget_show(table2); gtk_box_pack_start(GTK_BOX(vbox2), table2, TRUE, TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(table2), ! CONTAINER_BORDER_WIDTH); gtk_table_set_row_spacings(GTK_TABLE(table2), 5); gtk_table_set_col_spacings(GTK_TABLE(table2), 13); *************** *** 496,500 **** gtk_widget_show(table3); gtk_box_pack_start(GTK_BOX(vbox2), table3, TRUE, TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(table3), 10); gtk_table_set_row_spacings(GTK_TABLE(table3), 5); gtk_table_set_col_spacings(GTK_TABLE(table3), 13); --- 509,514 ---- gtk_widget_show(table3); gtk_box_pack_start(GTK_BOX(vbox2), table3, TRUE, TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(table3), ! CONTAINER_BORDER_WIDTH); gtk_table_set_row_spacings(GTK_TABLE(table3), 5); gtk_table_set_col_spacings(GTK_TABLE(table3), 13); *************** *** 506,510 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); entry = gtk_entry_new(); --- 520,524 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); entry = gtk_entry_new(); *************** *** 520,525 **** gtk_tooltips_set_tip(tips, entry, _("The DN to bind with to the LDAP server"), ! _("This is equivalent to a 'username'. Ask the " ! "LDAP administrator for the DN to use.")); /* Bind Password */ --- 534,541 ---- gtk_tooltips_set_tip(tips, entry, _("The DN to bind with to the LDAP server"), ! S_("tooltip|This is equivalent to a 'username'. " ! "Ask the " ! "LDAP administrator for the DN to use.") ! ); /* Bind Password */ *************** *** 528,532 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); bindpw = entry = gtk_entry_new(); --- 544,548 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); bindpw = entry = gtk_entry_new(); *************** *** 546,555 **** gtk_tooltips_set_tip(tips, entry, _("The password to bind with to the LDAP server"), ! _("This is related to the bind DN. Note that the " ! "password gets stored in a configuration file. " ! "Recent versions of this application actually " ! "scramble the password, but this scrambling can " ! "easily be reverted. Do not use a valuable " ! "password here.")); --- 562,572 ---- gtk_tooltips_set_tip(tips, entry, _("The password to bind with to the LDAP server"), ! S_("This is related to the bind DN. Note that the " ! "password gets stored in a configuration file. " ! "Recent versions of this application actually " ! "scramble the password, but this scrambling can " ! "easily be reverted. Do not use a valuable " ! "password here.") ! ); *************** *** 560,564 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); bindpw2 = entry = gtk_entry_new(); --- 577,581 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); bindpw2 = entry = gtk_entry_new(); *************** *** 577,582 **** gtk_tooltips_set_tip(tips, entry, ! _("The password to bind with to the LDAP server (again)"), ! _("")); /* Bind type */ --- 594,601 ---- gtk_tooltips_set_tip(tips, entry, ! _("The password to bind with to the LDAP server " ! "(again)"), ! S_("tooltip|") ! ); /* Bind type */ *************** *** 585,589 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); bindtype = gtk_combo_new(); --- 604,608 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); bindtype = gtk_combo_new(); *************** *** 611,616 **** gtk_tooltips_set_tip(tips, GTK_WIDGET(GTK_COMBO(bindtype)->entry), _("How to bind to the LDAP server"), ! _("gq supports several different bind types, " ! "like Simple, Kerberos or SASL binds.")); /* Search attribute */ --- 630,636 ---- gtk_tooltips_set_tip(tips, GTK_WIDGET(GTK_COMBO(bindtype)->entry), _("How to bind to the LDAP server"), ! S_("tooltip|gq supports several different bind " ! "types, like Simple, Kerberos or SASL binds.") ! ); /* Search attribute */ *************** *** 619,623 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); entry = gtk_entry_new(); --- 639,643 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); entry = gtk_entry_new(); *************** *** 633,639 **** gtk_tooltips_set_tip(tips, entry, _("The attribute to 'search' in a search tab."), ! _("Search mode in the search tab searches this " ! "attribute. This alleviates the user to always " ! "use a proper LDAP filter.")); /* Maximum entries */ --- 653,660 ---- gtk_tooltips_set_tip(tips, entry, _("The attribute to 'search' in a search tab."), ! S_("tooltip|Search mode in the search tab searches " ! "this attribute. This alleviates the user to " ! "always use a proper LDAP filter.") ! ); /* Maximum entries */ *************** *** 642,646 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); entry = gtk_entry_new(); --- 663,667 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); entry = gtk_entry_new(); *************** *** 656,661 **** gtk_tooltips_set_tip(tips, entry, ! _("The maximum number of entries to return in search mode."), ! _("NOTE: A server might impose stricter limits")); #if HAVE_LDAP_CLIENT_CACHE --- 677,685 ---- gtk_tooltips_set_tip(tips, entry, ! _("The maximum number of entries to return in " ! "search mode."), ! S_("tooltip|NOTE: A server might impose stricter " ! "limits") ! ); #if HAVE_LDAP_CLIENT_CACHE *************** *** 665,669 **** gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); entry = gtk_entry_new(); --- 689,693 ---- gtk_widget_show(label); gtk_table_attach(GTK_TABLE(table2), label, 0, 1, y, y + 1, ! GTK_FILL, GTK_FILL, 0, 0); entry = gtk_entry_new(); *************** *** 679,685 **** gtk_tooltips_set_tip(tips, entry, ! _("Should the OpenLDAP client-side cache be used? And what is its timeout? Anything greater than -1 turns on the cache."), ! _("Using this might speed up LDAP operations, but " ! "it may also lead to slightly out-of-date data.")); #endif --- 703,713 ---- gtk_tooltips_set_tip(tips, entry, ! _("Should the OpenLDAP client-side cache be used? " ! "And what is its timeout? Anything greater than " ! "-1 turns on the cache."), ! S_("tooltip|Using this might speed up LDAP " ! "operations, but it may also lead to slightly " ! "out-of-date data.") ! ); #endif *************** *** 703,709 **** gtk_tooltips_set_tip(tips, button, _("Should the application ask for a bind password?"), ! _("This disables the password entered via the " ! "preferences dialog. ")); ! /* Hide internal attributes */ button = gtk_check_button_new_with_label(_("Hide internal attributes")); --- 731,738 ---- gtk_tooltips_set_tip(tips, button, _("Should the application ask for a bind password?"), ! S_("tooltip|This disables the password entered via " ! "the preferences dialog. ") ! ); ! /* Hide internal attributes */ button = gtk_check_button_new_with_label(_("Hide internal attributes")); *************** *** 717,724 **** z++; gtk_tooltips_set_tip(tips, button, ! _("Do not show attributes internal to the LDAP server"), ! _("At least OpenLDAP allows to view several " ! "interesting attributes. Setting this option " ! "turns them off.")); /* Cache connections */ --- 746,756 ---- z++; gtk_tooltips_set_tip(tips, button, ! _("Do not show attributes internal to the LDAP " ! "server"), ! S_("tooltip|At least OpenLDAP allows to view " ! "several " ! "interesting attributes. Setting this option " ! "turns them off.") ! ); /* Cache connections */ *************** *** 733,742 **** gtk_tooltips_set_tip(tips, button, ! _("If set: Do not close the connection between LDAP operations"), ! _("Setting this may speed up LDAP operations, as " ! "it does not require the overhead to open a new " ! "connection to the server for every operation. " ! "OTOH it might put additional stress on the " ! "server (depends on what you call 'stress')")); /* Show ref */ --- 765,777 ---- gtk_tooltips_set_tip(tips, button, ! _("If set: Do not close the connection between " ! "LDAP operations"), ! S_("tooltip|Setting this may speed up LDAP " ! "operations, as it does not require the overhead " ! "to open a new " ! "connection to the server for every operation. " ! "OTOH it might put additional stress on the " ! "server (depends on what you call 'stress')") ! ); /* Show ref */ *************** *** 754,758 **** gtk_tooltips_set_tip(tips, button, _("Try to show LDAP references."), ! _("")); /* Enable TLS */ --- 789,794 ---- gtk_tooltips_set_tip(tips, button, _("Try to show LDAP references."), ! S_("tooltip|") ! ); /* Enable TLS */ *************** *** 769,773 **** gtk_tooltips_set_tip(tips, button, _("Should we use Transport Layer Security?"), ! _("Almost but not quite entirely SSL.")); /* OK and Cancel buttons */ --- 805,810 ---- gtk_tooltips_set_tip(tips, button, _("Should we use Transport Layer Security?"), ! S_("tooltip|Almost but not quite entirely SSL.") ! ); /* OK and Cancel buttons */ *************** *** 983,987 **** prefswindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_set_usize(prefswindow, 520, 470); ! gtk_container_border_width(GTK_CONTAINER(prefswindow), 5); gtk_window_set_title(GTK_WINDOW(prefswindow), _("Preferences")); gtk_window_set_policy(GTK_WINDOW(prefswindow), TRUE, TRUE, FALSE); --- 1020,1025 ---- prefswindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_set_usize(prefswindow, 520, 470); ! gtk_container_border_width(GTK_CONTAINER(prefswindow), ! CONTAINER_BORDER_WIDTH); gtk_window_set_title(GTK_WINDOW(prefswindow), _("Preferences")); gtk_window_set_policy(GTK_WINDOW(prefswindow), TRUE, TRUE, FALSE); *************** *** 1000,1004 **** /* Search Options tab */ vbox_search_options = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_search_options), 10); create_search_optionstab(vbox_search_options, prefswindow); gtk_widget_show(vbox_search_options); --- 1038,1043 ---- /* Search Options tab */ vbox_search_options = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_search_options), ! CONTAINER_BORDER_WIDTH); create_search_optionstab(vbox_search_options, prefswindow); gtk_widget_show(vbox_search_options); *************** *** 1010,1014 **** /* Browse Options tab */ vbox_browse_options = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_browse_options), 10); create_browse_optionstab(vbox_browse_options, prefswindow); gtk_widget_show(vbox_browse_options); --- 1049,1054 ---- /* Browse Options tab */ vbox_browse_options = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_browse_options), ! CONTAINER_BORDER_WIDTH); create_browse_optionstab(vbox_browse_options, prefswindow); gtk_widget_show(vbox_browse_options); *************** *** 1039,1043 **** /* LDIF tab */ vbox_ldif = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_ldif), 10); create_ldiftab(vbox_ldif, prefswindow); gtk_widget_show(vbox_ldif); --- 1079,1084 ---- /* LDIF tab */ vbox_ldif = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_ldif), ! CONTAINER_BORDER_WIDTH); create_ldiftab(vbox_ldif, prefswindow); gtk_widget_show(vbox_ldif); *************** *** 1083,1087 **** gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(target), vbox1); ! gtk_container_border_width(GTK_CONTAINER(vbox1), 10); hbox2 = gtk_hbox_new(FALSE, 25); --- 1124,1129 ---- gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(target), vbox1); ! gtk_container_border_width(GTK_CONTAINER(vbox1), ! CONTAINER_BORDER_WIDTH); hbox2 = gtk_hbox_new(FALSE, 25); *************** *** 1152,1157 **** gtk_widget_show(hbox1); gtk_box_pack_start(GTK_BOX(vbox1), hbox1, FALSE, TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(hbox1), 10); ! } --- 1194,1199 ---- gtk_widget_show(hbox1); gtk_box_pack_start(GTK_BOX(vbox1), hbox1, FALSE, TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(hbox1), ! CONTAINER_BORDER_WIDTH); } *************** *** 1167,1171 **** gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(target), vbox1); ! gtk_container_border_width(GTK_CONTAINER(vbox1), 10); hbox1 = gtk_hbox_new(FALSE, 10); --- 1209,1214 ---- gtk_widget_show(vbox1); gtk_container_add(GTK_CONTAINER(target), vbox1); ! gtk_container_border_width(GTK_CONTAINER(vbox1), ! CONTAINER_BORDER_WIDTH); hbox1 = gtk_hbox_new(FALSE, 10); *************** *** 1272,1276 **** gtk_box_pack_start(GTK_BOX(hbox_options), stframe, FALSE, TRUE, 0); vbox_st = gtk_vbox_new(TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_st), 5); gtk_widget_show(vbox_st); gtk_container_add(GTK_CONTAINER(stframe), vbox_st); --- 1315,1320 ---- gtk_box_pack_start(GTK_BOX(hbox_options), stframe, FALSE, TRUE, 0); vbox_st = gtk_vbox_new(TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_st), ! CONTAINER_BORDER_WIDTH); gtk_widget_show(vbox_st); gtk_container_add(GTK_CONTAINER(stframe), vbox_st); *************** *** 1317,1321 **** gtk_box_pack_start(GTK_BOX(hbox_options), sortframe, FALSE, TRUE, 0); vbox_sort = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_sort), 5); gtk_widget_show(vbox_sort); gtk_container_add(GTK_CONTAINER(sortframe), vbox_sort); --- 1361,1366 ---- gtk_box_pack_start(GTK_BOX(hbox_options), sortframe, FALSE, TRUE, 0); vbox_sort = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_sort), ! CONTAINER_BORDER_WIDTH); gtk_widget_show(vbox_sort); gtk_container_add(GTK_CONTAINER(sortframe), vbox_sort); *************** *** 1335,1339 **** gtk_box_pack_start(GTK_BOX(target), viewframe, TRUE, TRUE, 5); vbox_view = gtk_vbox_new(TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_view), 5); gtk_widget_show(vbox_view); gtk_container_add(GTK_CONTAINER(viewframe), vbox_view); --- 1380,1385 ---- gtk_box_pack_start(GTK_BOX(target), viewframe, TRUE, TRUE, 5); vbox_view = gtk_vbox_new(TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_view), ! CONTAINER_BORDER_WIDTH); gtk_widget_show(vbox_view); gtk_container_add(GTK_CONTAINER(viewframe), vbox_view); *************** *** 1372,1375 **** --- 1418,1424 ---- GtkWidget *viewframe, *vbox_view; GtkWidget *show_rdn_only_button, *sort_browse_button; + GtkTooltips *tips; + + tips = gtk_tooltips_new(); /* View frame in Options tab */ *************** *** 1378,1382 **** gtk_box_pack_start(GTK_BOX(target), viewframe, FALSE, TRUE, 5); vbox_view = gtk_vbox_new(TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_view), 5); gtk_widget_show(vbox_view); gtk_container_add(GTK_CONTAINER(viewframe), vbox_view); --- 1427,1432 ---- gtk_box_pack_start(GTK_BOX(target), viewframe, FALSE, TRUE, 5); vbox_view = gtk_vbox_new(TRUE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox_view), ! CONTAINER_BORDER_WIDTH); gtk_widget_show(vbox_view); gtk_container_add(GTK_CONTAINER(viewframe), vbox_view); *************** *** 1388,1391 **** --- 1438,1448 ---- gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(show_rdn_only_button), TRUE); GTK_WIDGET_UNSET_FLAGS(GTK_CHECK_BUTTON(show_rdn_only_button), GTK_CAN_FOCUS); + + gtk_tooltips_set_tip(tips, show_rdn_only_button, + _("If set, only show the most specific part of the " + "DN in the object tree."), + S_("tooltip|") + ); + gtk_widget_show(show_rdn_only_button); gtk_box_pack_start(GTK_BOX(vbox_view), show_rdn_only_button, FALSE, FALSE, 5); *************** *** 1397,1400 **** --- 1454,1465 ---- gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(sort_browse_button), TRUE); GTK_WIDGET_UNSET_FLAGS(GTK_CHECK_BUTTON(sort_browse_button), GTK_CAN_FOCUS); + + gtk_tooltips_set_tip(tips, sort_browse_button, + _("If set, turns on sorting of entries shown in a " + "browse tree. Changing this only has an effect " + "for new browse tabs."), + S_("tooltip|") + ); + gtk_widget_show(sort_browse_button); gtk_box_pack_start(GTK_BOX(vbox_view), sort_browse_button, FALSE, FALSE, 5); *************** *** 1417,1421 **** vbox1 = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox1), 10); gtk_container_add(GTK_CONTAINER(formatframe), vbox1); gtk_widget_show(vbox1); --- 1482,1487 ---- vbox1 = gtk_vbox_new(FALSE, 0); ! gtk_container_border_width(GTK_CONTAINER(vbox1), ! CONTAINER_BORDER_WIDTH); gtk_container_add(GTK_CONTAINER(formatframe), vbox1); gtk_widget_show(vbox1); |
From: <sta...@us...> - 2002-10-11 13:56:13
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv28891 Modified Files: mainwin.c Log Message: * Unify container border widths Index: mainwin.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/mainwin.c,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** mainwin.c 15 Jul 2002 18:36:51 -0000 1.26 --- mainwin.c 11 Oct 2002 13:56:09 -0000 1.27 *************** *** 43,46 **** --- 43,47 ---- #include "i18n.h" #include "debug.h" + #include "input.h" #include "../icons/logo.xpm" *************** *** 594,601 **** vbox1 = GTK_DIALOG(window)->vbox; ! gtk_container_border_width(GTK_CONTAINER(vbox1), 20); gtk_widget_show(vbox1); hbox = gtk_hbox_new(FALSE, 0); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox1), hbox, TRUE, TRUE, 0); --- 595,603 ---- vbox1 = GTK_DIALOG(window)->vbox; ! /* gtk_container_border_width(GTK_CONTAINER(vbox1), 20); */ gtk_widget_show(vbox1); hbox = gtk_hbox_new(FALSE, 0); + gtk_container_border_width(GTK_CONTAINER(hbox), CONTAINER_BORDER_WIDTH); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox1), hbox, TRUE, TRUE, 0); *************** *** 612,616 **** gtk_widget_show(text); gtk_text_set_editable(GTK_TEXT(text), FALSE); ! gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 00); vscroll = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); --- 614,618 ---- gtk_widget_show(text); gtk_text_set_editable(GTK_TEXT(text), FALSE); ! gtk_box_pack_start(GTK_BOX(hbox), text, TRUE, TRUE, 0); vscroll = gtk_vscrollbar_new(GTK_TEXT(text)->vadj); *************** *** 671,675 **** about_window = gtk_dialog_new(); gtk_widget_realize(GTK_WIDGET(about_window)); ! gtk_container_border_width(GTK_CONTAINER(about_window), 12); snprintf(title, sizeof(title), _("About GQ")); gtk_window_set_title(GTK_WINDOW(about_window), title); --- 673,677 ---- about_window = gtk_dialog_new(); gtk_widget_realize(GTK_WIDGET(about_window)); ! /* gtk_container_border_width(GTK_CONTAINER(about_window), 12); */ snprintf(title, sizeof(title), _("About GQ")); gtk_window_set_title(GTK_WINDOW(about_window), title); *************** *** 698,702 **** dialog_action_area2 = GTK_DIALOG(about_window)->action_area; ! gtk_container_border_width(GTK_CONTAINER(dialog_action_area2), 10); gtk_widget_show(dialog_action_area2); --- 700,705 ---- dialog_action_area2 = GTK_DIALOG(about_window)->action_area; ! gtk_container_border_width(GTK_CONTAINER(dialog_action_area2), ! CONTAINER_BORDER_WIDTH); gtk_widget_show(dialog_action_area2); *************** *** 712,716 **** GTK_WIDGET_SET_FLAGS(about_ok_button, GTK_CAN_DEFAULT); gtk_widget_grab_default(about_ok_button); ! gtk_container_border_width(GTK_CONTAINER(about_ok_button), 7); gtk_signal_connect_object(GTK_OBJECT(about_ok_button), "clicked", GTK_SIGNAL_FUNC(gtk_widget_destroy), --- 715,719 ---- GTK_WIDGET_SET_FLAGS(about_ok_button, GTK_CAN_DEFAULT); gtk_widget_grab_default(about_ok_button); ! /* gtk_container_border_width(GTK_CONTAINER(about_ok_button), 7); */ gtk_signal_connect_object(GTK_OBJECT(about_ok_button), "clicked", GTK_SIGNAL_FUNC(gtk_widget_destroy), |
From: <sta...@us...> - 2002-10-11 13:53:53
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv27831 Modified Files: input.c Log Message: * Use the new S_ function to allow to tag long tooltips (useful to indicate to translators that they do not have to translate these messages yet, as they are unused) Index: input.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/input.c,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** input.c 28 Sep 2002 20:10:14 -0000 1.50 --- input.c 11 Oct 2002 13:53:49 -0000 1.51 *************** *** 139,146 **** gtk_tooltips_set_tip(tips, linebutton, _("Turn into one-line entry field"), ! _("Changes the display type of the current " ! "attribute into 'Entry', thus makes the input " ! "field a one-line text box.")); ! /* textarea button */ textareabutton = gtk_button_new(); --- 139,147 ---- gtk_tooltips_set_tip(tips, linebutton, _("Turn into one-line entry field"), ! S_("tooltip|Changes the display type of the current " ! "attribute into 'Entry', thus makes the input " ! "field a one-line text box.") ! ); ! /* textarea button */ textareabutton = gtk_button_new(); *************** *** 165,171 **** gtk_tooltips_set_tip(tips, textareabutton, _("Turn into multi-line entry field"), ! _("Changes the display type of the current " ! "attribute into 'Multi-line text', thus makes " ! "the input field a multi-line text box.")); /* new attribute button */ --- 166,172 ---- gtk_tooltips_set_tip(tips, textareabutton, _("Turn into multi-line entry field"), ! S_("tooltip|Changes the display type of the current " ! "attribute into 'Multi-line text', thus makes " ! "the input field a multi-line text box.")); /* new attribute button */ *************** *** 193,198 **** gtk_tooltips_set_tip(tips, newattrbutton, ! _("Adds an attribute to an object of class 'extensibleObject'"), ! _("Adds an attribute to an object of class 'extensibleObject'")); /* hide empty attributes button */ --- 194,201 ---- gtk_tooltips_set_tip(tips, newattrbutton, ! _("Adds an attribute to an object of class " ! "'extensibleObject'"), ! S_("tooltip|Adds an attribute to an object of " ! "class 'extensibleObject'")); /* hide empty attributes button */ *************** *** 221,227 **** gtk_tooltips_set_tip(tips, hideattrbutton, _("Hide/show empty attributes"), ! _("Hides or shows all attributes without values. " ! "This is a good way to see immediately what " ! "attributes the object really has.")); /* scrolled window with vbox2 inside */ --- 224,232 ---- gtk_tooltips_set_tip(tips, hideattrbutton, _("Hide/show empty attributes"), ! S_("tooltip|Hides or shows all attributes without " ! "values. " ! "This is a good way to see immediately what " ! "attributes the object really has.") ! ); /* scrolled window with vbox2 inside */ |
From: <sta...@us...> - 2002-10-11 13:51:32
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv26965 Modified Files: i18n.h Log Message: * Added missing #define for ngettext in case we do not use I18N * Added prototype for the S_ function (allowing for prefix tags in messages) Index: i18n.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/i18n.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** i18n.h 24 Apr 2002 05:46:33 -0000 1.1 --- i18n.h 11 Oct 2002 13:51:27 -0000 1.2 *************** *** 45,48 **** --- 45,49 ---- # define textdomain(String) (String) # define gettext(String) (String) + # define ngettext(String1, StringN, n) (((n) == 1) ? (String1) : (StringN)) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) *************** *** 51,54 **** --- 52,57 ---- # define N_(String) (String) #endif + + char *S_(const char *msgid); #endif |
From: <sta...@us...> - 2002-10-11 13:50:19
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv26172 Modified Files: gq.h dt_binary.c Log Message: * Use a fixed font for binary data now Index: gq.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/gq.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gq.h 13 Jun 2002 10:02:51 -0000 1.2 --- gq.h 11 Oct 2002 13:50:14 -0000 1.3 *************** *** 29,33 **** #define FONT_BIG_FIXED "-misc-fixed-medium-r-*-*-*-140-*-*-*-*-*-*" ! void setup_fonts(void); --- 29,33 ---- #define FONT_BIG_FIXED "-misc-fixed-medium-r-*-*-*-140-*-*-*-*-*-*" ! extern GdkFont *big_fixed; void setup_fonts(void); Index: dt_binary.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dt_binary.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** dt_binary.c 9 Jul 2002 10:31:11 -0000 1.9 --- dt_binary.c 11 Oct 2002 13:50:15 -0000 1.10 *************** *** 41,44 **** --- 41,45 ---- #include <config.h> + #include "gq.h" /* GdkFont *big_fixed */ #include "common.h" #include "util.h" *************** *** 82,85 **** --- 83,88 ---- }; + static GtkStyle *fixed_style = NULL; + display_type_handler *dt_binary_get_handler() { return (display_type_handler *) &dt_binary_handler_vtab; *************** *** 285,289 **** gtk_text_set_point(text, 0); gtk_text_forward_delete(text, gtk_text_get_length(text)); ! gtk_text_insert(text, NULL, NULL, NULL, encoded->data, encoded->len); gtk_text_thaw(text); --- 288,292 ---- gtk_text_set_point(text, 0); gtk_text_forward_delete(text, gtk_text_get_length(text)); ! gtk_text_insert(text, big_fixed, NULL, NULL, encoded->data, encoded->len); gtk_text_thaw(text); *************** *** 315,320 **** gtk_widget_show(widget); gtk_text_set_editable(GTK_TEXT(widget), TRUE); ! ! } if (newtype & DT_BINARY_ENTRY) { widget = gtk_entry_new(); gtk_widget_show(widget); --- 318,328 ---- gtk_widget_show(widget); gtk_text_set_editable(GTK_TEXT(widget), TRUE); ! if (!fixed_style) { ! fixed_style = gtk_style_new(); ! fixed_style->font = gdk_font_load("fixed"); ! } ! gtk_widget_set_style(widget, fixed_style); ! } ! if (newtype & DT_BINARY_ENTRY) { widget = gtk_entry_new(); gtk_widget_show(widget); |
From: <sta...@us...> - 2002-10-11 13:49:39
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv26058 Modified Files: dt_time.c Log Message: * Use either struct tm and tm_gmtoff or the global timezone variable, depending on what configure finds out Index: dt_time.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dt_time.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dt_time.c 17 Jul 2002 21:46:22 -0000 1.4 --- dt_time.c 11 Oct 2002 13:49:35 -0000 1.5 *************** *** 235,239 **** --- 235,241 ---- struct tm *l; gchar *content; + #if ! defined(HAVE_TM_GMTOFF) && defined(HAVE_TIMEZONE) extern long timezone; + #endif time(&t); *************** *** 244,259 **** d = l->tm_mday; ofs_sign = timezone > 0 ? 1 : -1; ofs_m = (timezone > 0 ? timezone : -timezone) / 60; ! /* printf("ofs_m=%d\n", ofs_m); */ ofs_h = ofs_m / 60; ofs_m = ofs_m % 60; ! /* printf("ofs_h=%d, ofs_m=%d, isdst=%d\n", ofs_h, ofs_m, l->tm_isdst); */ ! if (l->tm_isdst) { ofs_h++; } /* NOTE: generalizedTime includes offset relative to GMT while --- 246,277 ---- d = l->tm_mday; + #ifdef HAVE_TM_GMTOFF + ofs_sign = l->TM_GMTOFF < 0 ? 1 : -1; + + ofs_m = (l->TM_GMTOFF > 0 ? l->TM_GMTOFF : -l->TM_GMTOFF) / 60; + + ofs_h = ofs_m / 60; + ofs_m = ofs_m % 60; + #else /* HAVE_TM_GMTOFF */ + # ifdef HAVE_TIMEZONE ofs_sign = timezone > 0 ? 1 : -1; ofs_m = (timezone > 0 ? timezone : -timezone) / 60; ! ofs_h = ofs_m / 60; ofs_m = ofs_m % 60; ! /* extern long timezone does not take DST into account */ if (l->tm_isdst) { ofs_h++; } + + # else /* HAVE_TIMEZONE */ + + ofs_h = ofs_m = 0; + + # endif /* HAVE_TIMEZONE */ + #endif /* HAVE_TM_GMTOFF */ + /* NOTE: generalizedTime includes offset relative to GMT while |
From: <sta...@us...> - 2002-10-11 13:48:39
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv25645a Modified Files: configfile.c Log Message: * Fixed a typo Index: configfile.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/configfile.c,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** configfile.c 18 Sep 2002 20:05:09 -0000 1.28 --- configfile.c 11 Oct 2002 13:48:35 -0000 1.29 *************** *** 1036,1040 **** (time(NULL) - config.last_asked) > 31*86400))) { int rc = question_popup(_("Upgrade configuration?"), ! _("Do you want to upgrade to the lastest configuration file version?\nIf you say no you may not be able to use all functionalities.\nIf you say yes you may not be able to use your configuration with older versions of gq.\n")); config.asked_version = CURRENT_CONFIG_VERSION; --- 1036,1040 ---- (time(NULL) - config.last_asked) > 31*86400))) { int rc = question_popup(_("Upgrade configuration?"), ! _("Do you want to upgrade to the latest configuration file version?\nIf you say no you may not be able to use all functionalities.\nIf you say yes you may not be able to use your configuration with older versions of gq.\n")); config.asked_version = CURRENT_CONFIG_VERSION; |