Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37496101
en ru br
Репозитории ALT
S:4.1-alt1
5.1: 3.0-alt5
4.1: 2.9-alt1
4.0: 2.8-alt1
www.altlinux.org/Changes

Группа :: Система/X11
Пакет: xvkbd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: xvkbd-3.0-alt5.patch
Скачать


 README    |    2 +-
 xvkbd.c   |    6 +++---
 xvkbd.man |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README b/README
index 912baaf..ad92ef5 100644
--- a/README
+++ b/README
@@ -93,7 +93,7 @@ Operation
        characters of the selected word by clicking one of the words in the
        list.
 
-       The dictionary (list of words) file is /usr/dict/words by default, but
+       The dictionary (list of words) file is /usr/share/dict/words by default, but
        it can be changed by -dict option or xvkbd.dictFile resouce.
 
     Main Menu
diff --git a/xvkbd.c b/xvkbd.c
index 1dd2904..d3f699b 100644
--- a/xvkbd.c
+++ b/xvkbd.c
@@ -346,7 +346,7 @@ static XtResource application_resources[] = {
   { "keyFile", "KeyFile", XtRString, sizeof(char *),
     Offset(key_file), XtRImmediate, ".xvkbd" },
   { "dictFile", "DictFile", XtRString, sizeof(char *),
-    Offset(dict_file), XtRImmediate, "/usr/dict/words" },
+    Offset(dict_file), XtRImmediate, "/usr/share/dict/words" },
   { "customizations", "Customizations", XtRString, sizeof(char *),
     Offset(customizations), XtRImmediate, "default" },
   { "editableFunctionKeys", "EditableFunctionKeys", XtRInt, sizeof(int),
@@ -364,7 +364,7 @@ static XtResource application_resources[] = {
   { "keyClickDuration", "KeyClickDuration", XtRInt, sizeof(int),
      Offset(key_click_duration), XtRImmediate, (XtPointer)1 },
   { "autoClickDelay", "AutoClickDelay", XtRInt, sizeof(int),
-     Offset(autoclick_delay), XtRImmediate, (XtPointer)500 },
+     Offset(autoclick_delay), XtRImmediate, (XtPointer)0 },
 };
 #undef Offset
 
@@ -1154,7 +1154,7 @@ static void SendKeyPressedEvent(KeySym keysym, unsigned int shift)
  * via xvkbd can be listed, and choosing one of them will send the
  * suffix to the clients.
  * Words for completion will be read from dictionary file specified
- * with xvkbd.dictFile resource, such as /usr/dict/words.
+ * with xvkbd.dictFile resource, such as /usr/share/dict/words.
  */
 static Widget completion_panel = None;
 static Widget completion_entry = None;
diff --git a/xvkbd.man b/xvkbd.man
index d3dd26b..9969338 100644
--- a/xvkbd.man
+++ b/xvkbd.man
@@ -116,7 +116,7 @@ words started with the characters will be listed in the panel,
 and you can enter the remaining characters of the selected word
 by clicking one of the words in the list.
 .PP
-The dictionary (list of words) file is \fB/usr/dict/words\fP by default,
+The dictionary (list of words) file is \fB/usr/share/dict/words\fP by default,
 but it can be changed by \fB-dict\fP option or \fBxvkbd.dictFile\fP resouce.
 
 .SH "    Main Menu"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin