diff --git a/WINGs/Extras/wtableview.c b/WINGs/Extras/wtableview.c index e5466bba..a99a9a59 100644 --- a/WINGs/Extras/wtableview.c +++ b/WINGs/Extras/wtableview.c @@ -411,7 +411,8 @@ static void doScroll(WMWidget *self, void *data) } -static void splitterHandler(XEvent *event, void *data) +static void +splitterHandler(XEvent *event, void *data) { WMTableColumn *column = (WMTableColumn*)data; WMTableView *table = column->table; diff --git a/WINGs/po/de.po b/WINGs/po/de.po index 4d2fc2af..e4855436 100644 --- a/WINGs/po/de.po +++ b/WINGs/po/de.po @@ -1,3 +1,4 @@ +# KTranslator Generated File # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR , YEAR. @@ -6,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: WINGs 0.80.0\n" -"POT-Creation-Date: 2001-12-31 20:59+0100\n" -"PO-Revision-Date: 2001-12-31 22:30+0100\n" +"POT-Creation-Date: 2002-01-09 21:06+0100\n" +"PO-Revision-Date: 2002-01-09 21:20+0100\n" "Last-Translator: Guido Scholz \n" "Language-Team: Deutsch \n" "MIME-Version: 1.0\n" @@ -57,8 +58,9 @@ msgstr "Kann aktuellen Hostnamen nicht ermitteln" #: ../../WINGs/proplist.c:150 msgid "Only string or data is supported for a proplist dictionary key" -msgstr "Nur \"string\" oder \"data\" wird als Schlüssel für ein " -"\"proplist dictionary\" unterstützt" +msgstr "" +"Nur string oder data wird als Schlüssel für ein proplist dictionary " +"unterstützt" #: ../../WINGs/proplist.c:184 ../../WINGs/proplist.c:236 #: ../../WINGs/proplist.c:394 ../../WINGs/proplist.c:474 @@ -70,27 +72,27 @@ msgstr "" #: ../../WINGs/proplist.c:630 msgid "unterminated PropList string" -msgstr "nicht terminierter PropList \"string\"" +msgstr "nicht terminierter PropList string" #: ../../WINGs/proplist.c:670 msgid "unterminated PropList data" -msgstr "nicht terminiertes PropList \"data" +msgstr "nicht terminiertes PropList data" #: ../../WINGs/proplist.c:678 msgid "unterminated PropList data (missing hexdigit)" -msgstr "nicht terminiertes PropList \"data\" (fehlendes hex-Zeichen)" +msgstr "nicht terminiertes PropList data (fehlendes hex-Zeichen)" #: ../../WINGs/proplist.c:690 msgid "non hexdigit character in PropList data" -msgstr "falsches hex-Zeichen in PropList \"data\"" +msgstr "falsches hex-Zeichen in PropList data" #: ../../WINGs/proplist.c:725 msgid "unterminated PropList array" -msgstr "nicht terminiertes PropList \"array\"" +msgstr "nicht terminiertes PropList array" #: ../../WINGs/proplist.c:733 msgid "missing or unterminated PropList array" -msgstr "fehlendes oder nicht terminiertes PropList \"array\"" +msgstr "fehlendes oder nicht terminiertes PropList array" #: ../../WINGs/proplist.c:743 msgid "could not get PropList array element" @@ -128,8 +130,9 @@ msgstr "" msgid "" "was expecting a string, data, array or dictionary. If it's a string, try " "enclosing it with \"." -msgstr "string, data, array oder dictionary wurde erwartet. Zeichenketten " -"mit \" einklammern." +msgstr "" +"string, data, array oder dictionary wurde erwartet. Zeichenketten mit \" " +"einklammern." #: ../../WINGs/proplist.c:888 msgid "Comments are not allowed inside WindowMaker owned domain files." @@ -213,7 +216,7 @@ msgstr "Farben" #: ../../WINGs/wcolorpanel.c:605 ../../WINGs/wcolorpanel.c:2824 msgid "Brightness" -msgstr "" +msgstr "Helligkeit" #: ../../WINGs/wcolorpanel.c:607 ../../WINGs/wcolorpanel.c:683 #: ../../WINGs/wcolorpanel.c:716 ../../WINGs/wcolorpanel.c:750 @@ -255,7 +258,7 @@ msgstr "Schwarz" #: ../../WINGs/wcolorpanel.c:991 msgid "Spectrum" -msgstr "" +msgstr "Spektrum" #: ../../WINGs/wcolorpanel.c:1021 msgid "Palette" @@ -307,7 +310,8 @@ msgstr "Neu..." #, c-format msgid "" "Color Panel: Could not create directory %s needed to store configurations" -msgstr "Color Panel: Konnte das Verzeichnis %s zum Speichern nicht erzeugen" +msgstr "" +"Color Panel: Konnte das Verzeichnis %s zum Speichern der Konfiguration nicht erzeugen" #. Delete the file, it doesn't belong here #: ../../WINGs/wcolorpanel.c:1237 ../../WINGs/wcolorpanel.c:3207 @@ -325,7 +329,7 @@ msgstr "Konnte Konfigurationsverzeichnis f #: ../../WINGs/wfilepanel.c:659 ../../WINGs/wfilepanel.c:760 #: ../../WINGs/wfilepanel.c:971 ../../WINGs/wfontpanel.c:709 msgid "OK" -msgstr "" +msgstr "OK" #: ../../WINGs/wcolorpanel.c:1245 ../../WINGs/wcolorpanel.c:1281 #: ../../WINGs/wcolorpanel.c:1299 @@ -335,7 +339,7 @@ msgstr "Color Panel: Konnte Datei nicht finden" #: ../../WINGs/wcolorpanel.c:1486 ../../WINGs/wcolorpanel.c:1551 #: ../../WINGs/wcolorpanel.c:1615 msgid "Color Panel: X failed request" -msgstr "" +msgstr "Color Panel: X Anfrage schlug fehl" #: ../../WINGs/wcolorpanel.c:2860 msgid "Saturation" @@ -502,7 +506,7 @@ msgstr "Nicht gen #: ../../WINGs/wfilepanel.c:742 ../../WINGs/wfilepanel.c:801 #, c-format msgid "'%s' is on a read-only filesystem." -msgstr "'%s' liegt auf einem \"read-only\" Dateisystem" +msgstr "'%s' liegt auf einem read-only Dateisystem." #: ../../WINGs/wfilepanel.c:745 ../../WINGs/wfilepanel.c:777 #: ../../WINGs/wfilepanel.c:804 @@ -566,21 +570,21 @@ msgid "" msgstr "" "die Zeichenkette \"%s\" ersetzt alle anderen Zeichen dieser Zeichensätze." -#: ../../WINGs/wfont.c:282 ../../WINGs/wfont.c:318 +#: ../../WINGs/wfont.c:287 ../../WINGs/wfont.c:323 #, c-format msgid "could not load font set %s. Trying fixed." msgstr "konnte Fonts nicht laden. Nehme fixed-Font." -#: ../../WINGs/wfont.c:288 ../../WINGs/wfont.c:324 +#: ../../WINGs/wfont.c:293 ../../WINGs/wfont.c:329 #, c-format msgid "could not load font %s. Trying fixed." msgstr "Konnte Font %s nicht laden. Nehme fixed-Font." -#: ../../WINGs/wfont.c:292 ../../WINGs/wfont.c:328 +#: ../../WINGs/wfont.c:297 ../../WINGs/wfont.c:333 msgid "could not load fixed font!" msgstr "konnte fixed-Font nicht laden!" -#: ../../WINGs/wfont.c:423 +#: ../../WINGs/wfont.c:428 #, c-format msgid "font description %s is too large." msgstr "Fontbeschreibung ist zu groß." @@ -603,11 +607,11 @@ msgstr "Gr #: ../../WINGs/wfontpanel.c:252 msgid "Set" -msgstr "Satz" +msgstr "Setzen" #: ../../WINGs/wfontpanel.c:257 msgid "Revert" -msgstr "" +msgstr "Zurückn." #: ../../WINGs/wfontpanel.c:709 msgid "Could not retrieve font list" @@ -628,7 +632,7 @@ msgstr "Kursiv" #: ../../WINGs/wfontpanel.c:873 msgid "Oblique" -msgstr "" +msgstr "Schräg" #: ../../WINGs/wfontpanel.c:875 msgid "Rev Italic" @@ -647,13 +651,13 @@ msgstr "Normal" msgid "WINGs: could not load widget images file: %s" msgstr "WINGs: Konnte Widget-Bildatei %s nicht laden." -#: ../../WINGs/widgets.c:761 +#: ../../WINGs/widgets.c:763 msgid "" "could not load any fonts. Make sure your font installationand locale " "settings are correct." msgstr "" -"Konnte keine Fonts laden. Überprüfen Sie, ob Ihre " -"Fontinstallation und -einstellungen korrekt sind." +"Konnte keine Fonts laden. Überprüfen Sie, ob Ihre Fontinstallation und " +"-einstellungen korrekt sind." #: ../../WINGs/wruler.c:189 msgid "0 inches" diff --git a/WINGs/wbutton.c b/WINGs/wbutton.c index 58cd7b05..e59f0091 100644 --- a/WINGs/wbutton.c +++ b/WINGs/wbutton.c @@ -41,35 +41,35 @@ typedef struct W_Button { WMAlignment alignment:2; unsigned int selected:1; - + unsigned int enabled:1; unsigned int bordered:1; unsigned int springLoaded:1; - + unsigned int pushIn:1; /* change relief while pushed */ - + unsigned int pushLight:1; /* highlight while pushed */ - + unsigned int pushChange:1; /* change caption while pushed */ - + unsigned int stateLight:1; /* state indicated by highlight */ - + unsigned int stateChange:1; /* state indicated by caption change */ unsigned int statePush:1; /* state indicated by relief */ unsigned int continuous:1; /* continually perform action */ - /* */ + unsigned int prevSelected:1; unsigned int pushed:1; - + unsigned int wasPushed:1; unsigned int redrawPending:1; - + unsigned int addedObserver:1; } flags; } Button; diff --git a/WINGs/widgets.c b/WINGs/widgets.c index 719a358f..347df101 100644 --- a/WINGs/widgets.c +++ b/WINGs/widgets.c @@ -761,7 +761,7 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context) if (!scrPtr->normalFont) { wwarning(_("could not load any fonts. Make sure your font installation" - "and locale settings are correct.")); + " and locale settings are correct.")); return NULL; } diff --git a/WINGs/wprogressindicator.c b/WINGs/wprogressindicator.c index 00be0930..54ce3f0d 100644 --- a/WINGs/wprogressindicator.c +++ b/WINGs/wprogressindicator.c @@ -31,10 +31,10 @@ static void didResizeProgressIndicator(); W_ViewDelegate _ProgressIndicatorDelegate = { NULL, - NULL, - didResizeProgressIndicator, - NULL, - NULL + NULL, + didResizeProgressIndicator, + NULL, + NULL }; @@ -43,15 +43,17 @@ static void paintProgressIndicator(ProgressIndicator *pPtr); static void realizeProgressIndicator(ProgressIndicator *pPtr); static void handleEvents(XEvent *event, void *data); -static void realizeObserver(void *self, WMNotification *not) { - + + +static void +realizeObserver(void *self, WMNotification *not) +{ realizeProgressIndicator(self); } - WMProgressIndicator* - WMCreateProgressIndicator(WMWidget *parent) +WMCreateProgressIndicator(WMWidget *parent) { ProgressIndicator *pPtr; @@ -268,6 +270,7 @@ paintProgressIndicator(ProgressIndicator *pPtr) XFreePixmap(scr->display, buffer); } + static void handleEvents(XEvent *event, void *data) { diff --git a/WINGs/wtext.c b/WINGs/wtext.c index 23dba1cb..3757eabf 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -2200,11 +2200,13 @@ requestHandler(WMView *view, Atom selection, Atom target, void *cdata, return NULL; } + static void lostHandler(WMView *view, Atom selection, void *cdata) { releaseSelection((WMText *)view->self); -} +} + static WMSelectionProcs selectionHandler = { requestHandler, lostHandler, NULL @@ -2218,6 +2220,7 @@ ownershipObserver(void *observerData, WMNotification *notification) lostHandler(WMWidgetView(observerData), XA_PRIMARY, NULL); } + static void autoSelectText(Text *tPtr, int clicks) { @@ -3176,7 +3179,8 @@ WMCreateTextForDocumentType(WMWidget *parent, WMAction *parser, WMAction *writer handleActionEvents, tPtr); WMAddNotificationObserver(ownershipObserver, tPtr, - "_lostOwnership", tPtr); + WMSelectionOwnerDidChangeNotification, + tPtr); WMSetViewDragSourceProcs(tPtr->view, &_DragSourceProcs); WMSetViewDragDestinationProcs(tPtr->view, &_DragDestinationProcs);