diff -Nru yad-0.36.3/aclocal.m4 yad-0.37.0/aclocal.m4 --- yad-0.36.3/aclocal.m4 2016-05-11 16:49:48.000000000 +0000 +++ yad-0.37.0/aclocal.m4 2016-08-12 12:24:32.000000000 +0000 @@ -1398,8 +1398,8 @@ ]) # nls.m4 serial 5 (gettext-0.18) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, -dnl Inc. +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software +dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff -Nru yad-0.36.3/ChangeLog yad-0.37.0/ChangeLog --- yad-0.36.3/ChangeLog 2016-05-11 16:47:56.000000000 +0000 +++ yad-0.37.0/ChangeLog 2016-08-12 11:33:03.000000000 +0000 @@ -1,3 +1,130 @@ +2016-08-12 11:34 v1c0nt + + * NEWS, configure.ac: bump version to 0.37.0. prepare to release + +2016-08-06 11:32 v1c0nt + + * ChangeLog: + +2016-08-06 11:18 v1c0nt + + * data/yad.1: update man page + +2016-08-05 17:04 v1c0nt + + * src/util.c: fix escaping + +2016-08-04 06:09 v1c0nt + + * configure.ac, src/html.c: + +2016-08-04 06:09 v1c0nt + + * configure.ac, src/html.c, src/main.c, src/option.c: set default + dialogs borders width to 2 + +2016-07-23 06:54 v1c0nt + + * data/yad.1: update man page + +2016-07-23 06:51 v1c0nt + + * src/main.c, src/option.c, src/yad.h: enable negative values for + posx and posy + +2016-07-19 12:04 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/multi-progress.c, + src/option.c, src/yad.h: add perm type for multiprogress dialog + +2016-07-19 09:42 v1c0nt + + * src/main.c: improve layout + +2016-06-29 12:21 v1c0nt + + * src/main.c: improve layout + +2016-06-29 10:32 v1c0nt + + * ChangeLog, data/yad.1, po/ru.po, po/uk.po, src/color.c, + src/form.c, src/html.c, src/icons.c, src/list.c, src/option.c, + src/picture.c, src/progress.c, src/text.c, src/yad.h: add options + for setting scrollbars policy + +2016-06-29 09:55 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: add --close-on-unfocus option + +2016-06-26 05:34 v1c0nt + + * po/ru.po, po/uk.po, src/option.c: move --image-path option to + misc group + +2016-06-22 14:42 v1c0nt + + * src/list.c: change wrap mode in list dialog + +2016-06-19 16:31 v1c0nt + + * src/main.c: fix closing yad's window + +2016-06-19 16:19 v1c0nt + + * data/yad.1: fix man page + +2016-06-19 13:46 v1c0nt + + * src/list.c: refactoring + +2016-06-19 13:45 v1c0nt + + * src/list.c: refactoring + +2016-06-19 13:35 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/list.c, src/option.c, + src/yad.h: add --grid-lines option to list dialog + +2016-06-19 13:01 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/list.c, src/option.c, + src/yad.h: add wrapping to the list dialog. add ability to + specify list of wrapped, editable and ellipsized columns + +2016-06-19 11:02 v1c0nt + + * data/yad.1, po/ru.po, po/uk.po, src/main.c, src/option.c, + src/yad.h: added --posx and --posy options + +2016-06-19 09:51 v1c0nt + + * configure.ac, src/calendar.c, src/entry.c, src/file.c, + src/form.c, src/list.c, src/main.c, src/multi-progress.c, + src/progress.c, src/text.c, src/yad.h: use GtkWindow instead of + GtkDialog + +2016-06-17 10:33 v1c0nt + + * src/list.c: fix previous commit + +2016-06-17 09:20 v1c0nt + + * src/list.c: block select signal on clear list view + +2016-05-22 07:03 v1c0nt + + * data/yad.1: update date in man page + +2016-05-22 07:03 v1c0nt + + * data/yad.1: fix man page + +2016-05-11 16:49 v1c0nt + + * ChangeLog, NEWS: release 0.36.3 + 2016-05-11 09:30 v1c0nt * configure.ac, src/text.c: cleanup diff -Nru yad-0.36.3/configure yad-0.37.0/configure --- yad-0.36.3/configure 2016-05-11 16:49:50.000000000 +0000 +++ yad-0.37.0/configure 2016-08-12 12:24:32.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for YAD 0.36.3. +# Generated by GNU Autoconf 2.69 for YAD 0.37.0. # # Report bugs to . # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='YAD' PACKAGE_TARNAME='yad' -PACKAGE_VERSION='0.36.3' -PACKAGE_STRING='YAD 0.36.3' +PACKAGE_VERSION='0.37.0' +PACKAGE_STRING='YAD 0.37.0' PACKAGE_BUGREPORT='https://sourceforge.net/p/yad-dialog/tickets/' PACKAGE_URL='https://sourceforge.net/projects/yad-dialog/' @@ -1361,7 +1361,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures YAD 0.36.3 to adapt to many kinds of systems. +\`configure' configures YAD 0.37.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1427,7 +1427,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of YAD 0.36.3:";; + short | recursive ) echo "Configuration of YAD 0.37.0:";; esac cat <<\_ACEOF @@ -1554,7 +1554,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -YAD configure 0.36.3 +YAD configure 0.37.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1923,7 +1923,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by YAD $as_me 0.36.3, which was +It was created by YAD $as_me 0.37.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2787,7 +2787,7 @@ # Define the identity of the package. PACKAGE='yad' - VERSION='0.36.3' + VERSION='0.37.0' cat >>confdefs.h <<_ACEOF @@ -6874,7 +6874,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by YAD $as_me 0.36.3, which was +This file was extended by YAD $as_me 0.37.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6941,7 +6941,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -YAD config.status 0.36.3 +YAD config.status 0.37.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru yad-0.36.3/configure.ac yad-0.37.0/configure.ac --- yad-0.36.3/configure.ac 2016-05-11 16:44:46.000000000 +0000 +++ yad-0.37.0/configure.ac 2016-08-12 11:32:10.000000000 +0000 @@ -1,4 +1,4 @@ -AC_INIT([YAD], [0.36.3], [https://sourceforge.net/p/yad-dialog/tickets/], yad, [https://sourceforge.net/projects/yad-dialog/]) +AC_INIT([YAD], [0.37.0], [https://sourceforge.net/p/yad-dialog/tickets/], yad, [https://sourceforge.net/projects/yad-dialog/]) AC_CONFIG_AUX_DIR([build]) AM_INIT_AUTOMAKE([1.11 foreign dist-xz no-dist-gzip]) diff -Nru yad-0.36.3/data/yad.1 yad-0.37.0/data/yad.1 --- yad-0.36.3/data/yad.1 2016-04-30 05:55:28.000000000 +0000 +++ yad-0.37.0/data/yad.1 2016-08-09 08:26:34.000000000 +0000 @@ -1,4 +1,4 @@ -.TH YAD 1 "March 3, 2015" +.TH YAD 1 "May 22, 2016" .SH NAME yad \- display GTK+ dialogs in shell scripts @@ -80,10 +80,21 @@ Set the window icon. .TP .B \-\-width=\fIWIDTH\fP -Set the dialog width. +Set the dialog window width. .TP .B \-\-height=\fIHEIGHT\fP -Set the dialog height. +Set the dialog window height. +.TP +.B \-\-posx=\fINUMBER\fP +Set the X position of dialog window. \fINUMBER\fP can be negative. +.TP +.B \-\-posy=\fINUMBER\fP +Set the Y position of dialog window. \fINUMBER\fP can be negative. +.TP +.B \-\-geometry=\fIWIDTHxHEIGHT+X+Y\fP +Use standard X Window geometry notation for placing dialog. +When this option is used, \fIwidth\fP, \fIheight\fP, \fIposx\fP, \fIposy\fP, \fImouse\fP and \fIcenter\fP options are +ignored. This option is obsolete for gtk3 builds. .TP .B \-\-timeout=\fITIMEOUT\fP Set the dialog timeout in seconds. @@ -190,10 +201,8 @@ .B \-\-no-focus Dialog window never take focus. .TP -.B \-\-geometry=\fIWIDTHxHEIGHT+X+Y\fP -Use standard X Window geometry notation for placing dialog. -When this option is used, \fIwidth\fP, \fIheight\fP, \fImouse\fP and \fIcenter\fP options are -ignored. +.B \-\-close-on-unfocus +Close the dialog window when it loose the focus. .TP .B \-\-selectable-labels If set, user can select dialog's text and copy it to clipboard. @@ -208,6 +217,12 @@ .B \-\-gtkrc=\fIFILENAME\fP Read and parse additional GTK+ settings from given file. This option doesn't work with GTK+-3.x builds. .TP +.B \-\-hscroll-policy=\fITYPE\fP +Set the policy type for horizontal scrollbars. \fITYPE\fP can be one of the \fIauto\fP, \fIalways\fP or \fInever\fP. Default is \fIauto\fP. +.TP +.B \-\-vscroll-policy=\fITYPE\fP +Set the policy type for vertical scrollbars. \fITYPE\fP can be one of the \fIauto\fP, \fIalways\fP or \fInever\fP. Default is \fIauto\fP. +.TP .B \-\-enable-spell Enable spell checking in textview widgets .TP @@ -536,6 +551,9 @@ .B \-\-editable Allow changes to text. .TP +.B \-\-editable-cols=\fILIST\fP +Set the list of editable columns. \fILIST\fP must be a string of numbers separated by comma. +.TP .B \-\-no-headers Do not show column headers. .TP @@ -545,6 +563,9 @@ .B \-\-no-rules-hint Don't draw even and odd rows by a different colors. This option depends on your current gtk theme and may not work. .TP +.B \-\-grid-lines=\fITYPE\fP +Draw grid lines of type \fITYPE\fP in list dialog. \fITYPE\fp can be one of the \fIhor[izontal]\fP, \fIvert[ical]\fP of \fIboth\fP. +.TP .B \-\-no-selection Disable selection in list. .TP @@ -576,9 +597,18 @@ .B \-\-limit=\fINUMBER\fP Set the number of rows in list dialog. Will be shown only the last \fINUMBER\fP rows. This option will take effect only when data reading from stdin. .TP +.B \-\-wrap-width=\fINUMBER\fP +Set the width of column before wrapping to \fINUMBER\fP. +.TP +.B \-\-wrap-cols=\fILIST\fP +Set the list of wrapped columns. \fILIST\fP must be a string of numbers separated by comma. +.TP .B \-\-ellipsize=\fITYPE\fP Set ellipsize mode for text columns. \fITYPE\fP may be \fINONE\fP, \fISTART\fP, \fIMIDDLE\fP or \fIEND\fP. .TP +.B \-\-ellipsize-cols=\fILIST\fP +Set the list of ellipsized columns. \fILIST\fP must be a string of numbers separated by comma. +.TP .B \-\-dclick-action=\fICMD\fP Set the \fICMD\fP as a double-click command. When user double-clicked on row, \fICMD\fP will be launched with values of all columns as an arguments. By default double-click selects row and act as \fIOK\fP button for simple lists, set the checkbox if \fI\-\-checklist\fP specified and do nothing when list run with \fI\-\-multiple\fP option. When double-click specified \fIEnter\fP acts as a double-click and \fICtrl+Enter\fP acts as an \fIOK\fP button. @@ -602,7 +632,7 @@ .TP .B \-\-float-precision=\fINUMBER\fP Set precision of floating point numbers. By default precision is three digits after point. - +.TP Sending FormFeed character to list clears it. This symbol may be sent as \fIecho \-e '\\f'\fP. .SS Multi progress bars dialog options @@ -751,7 +781,24 @@ .B \-\-log-height Set the height of log window. -.SS Text options +.SS Multiprogress options +.TP +.B \-\-bar=\fILABEL[:TYPE]\fP +Add the progress bar with type \fITYPE\fp. \fITYPE\fP can be one of the \fInorm\fP for average progress bar, \fIrtl\fP for progress bar with inverted direction, \fIpulse\fP for pulsating progress bar (m,oves on receiving data) or \fIperm\fP for permanent pulsatin progress bar. \fIprem\fP progress bar understant two commands - \fIstart\fP for start movement and \fIstop\fP for stop it. +.TP +.B \-\-watch-bar=\fINUMBER\fP +Watch for specific bar for auto closing. +.TP +.B \-\-align=\fITYPE\fP +Set alignment of bar labels. \fITYPE\fP can be \fIleft\fP, \fIcenter\fP or \fIright\fP. +.TP +.B \-\-auto-close +Dismiss the dialog when 100% of all bars (or only watching bar) has been reached. +.TP +.B \-\-auto-kill +Kill parent process if cancel button was pressed. + +.SS Text info options .TP .B \-\-filename=\fIFILENAME\fP Open specified file. @@ -766,7 +813,7 @@ Set background color of text. .TP .B \-\-fontname=\fIFONTNAME\fP -Set text font. \fIFONTNAME\fP must be in a Pango font description format. +Set text font. \fIFONTNAME\fP must be in a Pango font description format. By default \fIMonospace\fP is used. .TP .B \-\-wrap Enable text wrapping. diff -Nru yad-0.36.3/debian/changelog yad-0.37.0/debian/changelog --- yad-0.36.3/debian/changelog 2016-05-13 07:45:05.000000000 +0000 +++ yad-0.37.0/debian/changelog 2016-08-15 12:50:22.000000000 +0000 @@ -1,4 +1,10 @@ -yad (0.36.3-1~webupd8~trusty0) trusty; urgency=medium +yad (0.37.0-1~webupd8~trusty0) trusty; urgency=medium + + * New upstream release + + -- Alin Andrei Mon, 15 Aug 2016 15:46:25 +0200 + +yad (0.36.3-1~webupd8~xenial0) xenial; urgency=medium * New upstream release diff -Nru yad-0.36.3/NEWS yad-0.37.0/NEWS --- yad-0.36.3/NEWS 2016-05-11 16:47:31.000000000 +0000 +++ yad-0.37.0/NEWS 2016-08-12 11:32:01.000000000 +0000 @@ -1,3 +1,13 @@ +version 0.37.0 + - new layout management (fix gtk3 warning about missing parent) + - fix single-click selection in list dialog + - add --grid-lines option to list dialog + - add --posx and --posy options for setting window position + - fix quoting and escaping arguments for handlers in list and form dialogs + - add wrapping ability for columns in list dialog + - wrapped, ellipsized and editable columns may be specified as list + - add 'perm' type of bar in multiprogress dialog + Version 0.36.3 - fix segfault when parse desktop files with missed or empty Comment field in icons dialog diff -Nru yad-0.36.3/po/ru.po yad-0.37.0/po/ru.po --- yad-0.36.3/po/ru.po 2016-04-27 16:03:24.000000000 +0000 +++ yad-0.37.0/po/ru.po 2016-08-09 08:26:34.000000000 +0000 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-26 15:58+0300\n" +"POT-Creation-Date: 2016-07-19 14:49+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky \n" "Language-Team: \n" @@ -73,51 +73,51 @@ "Собран с поддержкой GtkSpell\n" "Используется GTK+ %d.%d.%d\n" -#: ../src/calendar.c:39 ../src/text.c:401 +#: ../src/calendar.c:39 ../src/text.c:400 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Не могу открыть файл %s: %s\n" -#: ../src/entry.c:174 ../src/scale.c:39 +#: ../src/entry.c:172 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальное значение должно быть больше, чем минимальное.\n" -#: ../src/entry.c:181 ../src/scale.c:48 +#: ../src/entry.c:179 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Начальное значение меньше минимального.\n" -#: ../src/entry.c:186 ../src/scale.c:53 +#: ../src/entry.c:184 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Начальное значение больше маскимального.\n" -#: ../src/form.c:420 +#: ../src/form.c:429 msgid "Select files" msgstr "Выбор файлов" -#: ../src/form.c:428 +#: ../src/form.c:437 msgid "Select folders" msgstr "Выбор каталогов" -#: ../src/form.c:507 +#: ../src/form.c:516 msgid "Select or create file" msgstr "Выбор или создание файла" -#: ../src/form.c:515 +#: ../src/form.c:524 msgid "Select or create folder" msgstr "Выбор или создание каталога" -#: ../src/form.c:566 +#: ../src/form.c:575 msgid "Select date" msgstr "Выбор даты" -#: ../src/form.c:856 +#: ../src/form.c:865 msgid "Select file" msgstr "Выбор файла" -#: ../src/form.c:884 +#: ../src/form.c:893 msgid "Select folder" msgstr "Выбор каталога" @@ -133,27 +133,27 @@ msgid "Enter URI or file name:" msgstr "Введите URI или имя файла:" -#: ../src/icons.c:322 +#: ../src/icons.c:327 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Не могу разобрать файл %s: %s\n" -#: ../src/icons.c:339 +#: ../src/icons.c:344 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Не могу открыть каталог %s: %s\n" -#: ../src/main.c:94 ../src/main.c:441 +#: ../src/main.c:110 ../src/main.c:470 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:670 ../src/main.c:677 +#: ../src/main.c:748 ../src/main.c:755 #, c-format msgid "Unable to parse YAD_OPTIONS: %s\n" msgstr "Не могу разобрать YAD_OPTIONS: %s\n" -#: ../src/main.c:688 +#: ../src/main.c:766 #, c-format msgid "Unable to parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" @@ -177,604 +177,610 @@ msgid "Yad notification" msgstr "Диалог уведомлений" -#: ../src/list.c:918 +#: ../src/list.c:930 msgid "Add row" msgstr "Добавить строку" -#: ../src/list.c:925 +#: ../src/list.c:937 msgid "Delete row" msgstr "Удалить строку" -#: ../src/list.c:932 +#: ../src/list.c:944 msgid "Duplicate row" msgstr "Скопировать строку" -#: ../src/list.c:971 +#: ../src/list.c:1089 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не заданы заголовоки колонок для диалога со списком\n" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "Set the dialog title" msgstr "Задать заголовок диалога" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:80 +#: ../src/option.c:82 msgid "Set the window icon" msgstr "Задать значок диалога" -#: ../src/option.c:80 +#: ../src/option.c:82 msgid "ICONPATH" msgstr "ЗНАЧОК" -#: ../src/option.c:82 -msgid "Set the width" +#: ../src/option.c:84 +msgid "Set the window width" msgstr "Задать ширину окна" -#: ../src/option.c:82 +#: ../src/option.c:84 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:84 -msgid "Set the height" +#: ../src/option.c:86 +msgid "Set the window height" msgstr "Задать высоту окна" -#: ../src/option.c:84 +#: ../src/option.c:86 msgid "HEIGHT" msgstr "ВЫСОТА" -#: ../src/option.c:86 +#: ../src/option.c:88 +msgid "Set the X position of a window" +msgstr "Задать позицию окна по X" + +#: ../src/option.c:88 ../src/option.c:90 ../src/option.c:120 +#: ../src/option.c:153 ../src/option.c:169 ../src/option.c:311 +#: ../src/option.c:317 ../src/option.c:390 ../src/option.c:398 +#: ../src/option.c:400 ../src/option.c:402 ../src/option.c:404 +#: ../src/option.c:406 ../src/option.c:408 ../src/option.c:412 +#: ../src/option.c:430 ../src/option.c:451 ../src/option.c:483 +msgid "NUMBER" +msgstr "ЧИСЛО" + +#: ../src/option.c:90 +msgid "Set the Y position of a window" +msgstr "Задать позицию окна по Y" + +#: ../src/option.c:92 msgid "Set the window geometry" msgstr "Задать геометрию окна" -#: ../src/option.c:86 +#: ../src/option.c:92 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:88 +#: ../src/option.c:94 msgid "Set dialog timeout in seconds" msgstr "Задать время работы диалога в секундах" -#: ../src/option.c:88 +#: ../src/option.c:94 msgid "TIMEOUT" msgstr "ЗАДЕРЖКА" -#: ../src/option.c:90 +#: ../src/option.c:96 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показать индикатор задержки (top, bottom, left, right)" -#: ../src/option.c:90 ../src/option.c:457 +#: ../src/option.c:96 ../src/option.c:473 msgid "POS" msgstr "ПОЗИЦИЯ" -#: ../src/option.c:92 +#: ../src/option.c:98 msgid "Set the dialog text" msgstr "Задать текст диалога" -#: ../src/option.c:92 ../src/option.c:102 ../src/option.c:251 -#: ../src/option.c:253 ../src/option.c:255 ../src/option.c:291 -#: ../src/option.c:394 ../src/option.c:485 ../src/option.c:500 +#: ../src/option.c:98 ../src/option.c:108 ../src/option.c:257 +#: ../src/option.c:259 ../src/option.c:261 ../src/option.c:297 +#: ../src/option.c:410 ../src/option.c:501 ../src/option.c:516 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:94 +#: ../src/option.c:100 msgid "Set the dialog text alignment (left, center, right, fill)" msgstr "Задать выравнивание текста диалога (left, center, right, fill)" -#: ../src/option.c:94 ../src/option.c:108 ../src/option.c:193 -#: ../src/option.c:303 ../src/option.c:328 ../src/option.c:380 -#: ../src/option.c:416 ../src/option.c:433 ../src/option.c:455 -#: ../src/option.c:465 ../src/option.c:475 ../src/option.c:544 +#: ../src/option.c:100 ../src/option.c:114 ../src/option.c:199 +#: ../src/option.c:309 ../src/option.c:334 ../src/option.c:384 +#: ../src/option.c:394 ../src/option.c:432 ../src/option.c:449 +#: ../src/option.c:471 ../src/option.c:481 ../src/option.c:491 +#: ../src/option.c:560 ../src/option.c:600 ../src/option.c:602 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:96 +#: ../src/option.c:102 msgid "Set the dialog image" msgstr "Задать картинку диалога" -#: ../src/option.c:96 ../src/option.c:261 ../src/option.c:265 +#: ../src/option.c:102 ../src/option.c:267 ../src/option.c:271 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:98 +#: ../src/option.c:104 msgid "Show image above main widget" msgstr "Показывать картинку над основным виджетом" -#: ../src/option.c:100 +#: ../src/option.c:106 msgid "Use specified icon theme instead of default" msgstr "Использовать указанную тему иконок" -#: ../src/option.c:100 +#: ../src/option.c:106 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:102 +#: ../src/option.c:108 msgid "Hide main widget with expander" msgstr "Спрятать основной виджет" -#: ../src/option.c:104 +#: ../src/option.c:110 msgid "Add dialog button (may be used multiple times)" msgstr "Добавить кнопку (может использоваться несколько раз)" -#: ../src/option.c:104 +#: ../src/option.c:110 msgid "NAME:ID" msgstr "ИМЯ:ID" -#: ../src/option.c:106 +#: ../src/option.c:112 msgid "Don't show buttons" msgstr "Не показывать кнопки" -#: ../src/option.c:108 +#: ../src/option.c:114 msgid "Set buttons layout type (spread, edge, start, end or center)" msgstr "Задать тип размещения кнопок (spread, edge, start, end или center)" -#: ../src/option.c:110 +#: ../src/option.c:116 msgid "Don't use pango markup language in dialog's text" msgstr "Не использовать разметку pango в тексте" -#: ../src/option.c:112 +#: ../src/option.c:118 msgid "Don't close dialog if Escape was pressed" msgstr "Не закрывать диалог при нажатии Escape" -#: ../src/option.c:114 +#: ../src/option.c:120 msgid "Set window borders" msgstr "Установить границы окна" -#: ../src/option.c:114 ../src/option.c:145 ../src/option.c:163 -#: ../src/option.c:305 ../src/option.c:311 ../src/option.c:382 -#: ../src/option.c:384 ../src/option.c:386 ../src/option.c:388 -#: ../src/option.c:390 ../src/option.c:392 ../src/option.c:396 -#: ../src/option.c:414 ../src/option.c:435 ../src/option.c:467 -msgid "NUMBER" -msgstr "ЧИСЛО" - -#: ../src/option.c:116 +#: ../src/option.c:122 msgid "Always print result" msgstr "Всегда выводить результат" -#: ../src/option.c:118 +#: ../src/option.c:124 msgid "Dialog text can be selected" msgstr "Текст диалога может быть выделен" -#: ../src/option.c:121 +#: ../src/option.c:127 msgid "Set window sticky" msgstr "Окно видимо на всех рабочих столах" -#: ../src/option.c:123 +#: ../src/option.c:129 msgid "Set window unresizable" msgstr "Неизменяемый размер" -#: ../src/option.c:125 +#: ../src/option.c:131 msgid "Place window on top" msgstr "Разместить окно поверх остальных" -#: ../src/option.c:127 +#: ../src/option.c:133 msgid "Place window on center of screen" msgstr "Разместить окно в центре экрана" -#: ../src/option.c:129 +#: ../src/option.c:135 msgid "Place window at the mouse position" msgstr "Разместить окно под указателем мыши" -#: ../src/option.c:131 +#: ../src/option.c:137 msgid "Set window undecorated" msgstr "Убрать обрамление" -#: ../src/option.c:133 +#: ../src/option.c:139 msgid "Don't show window in taskbar" msgstr "Не показывать окно в панели задач" -#: ../src/option.c:135 +#: ../src/option.c:141 msgid "Set window maximized" msgstr "Задать окну максимальный размер" -#: ../src/option.c:137 +#: ../src/option.c:143 msgid "Set window fulscreen" msgstr "Развернуть окно на весь экран" -#: ../src/option.c:139 +#: ../src/option.c:145 msgid "Don't focus dialog window" msgstr "Не давать фокус окну диалога" -#: ../src/option.c:141 +#: ../src/option.c:147 +msgid "Close window when it sets unfocused" +msgstr "Закрыть окно при потере фокуса" + +#: ../src/option.c:149 msgid "Open window as a splashscreen" msgstr "Открыть окно в режиме splashscreen" -#: ../src/option.c:143 +#: ../src/option.c:151 msgid "Special type of dialog for XEMBED" msgstr "Специальный режим диалога для встраивания" -#: ../src/option.c:143 ../src/option.c:191 +#: ../src/option.c:151 ../src/option.c:197 msgid "KEY" msgstr "КЛЮЧ" -#: ../src/option.c:145 +#: ../src/option.c:153 msgid "Tab nubmer of this dialog" msgstr "Номер вкладки для этого диалога" -#: ../src/option.c:148 +#: ../src/option.c:156 msgid "XID of parent window" msgstr "Идентификатор родительсткого окна" -#: ../src/option.c:150 +#: ../src/option.c:158 msgid "Send SIGNAL to parent" msgstr "Послать СИГНАЛ родителю" -#: ../src/option.c:150 +#: ../src/option.c:158 msgid "SIGNAL" msgstr "СИГНАЛ" -#: ../src/option.c:152 +#: ../src/option.c:160 msgid "Print X Window Id to the stderr" msgstr "Вывести идентификатор окна на stderr" -#: ../src/option.c:155 -msgid "Add path for search icons by name" -msgstr "Добавить каталог для поиска изображений по имени" - -#: ../src/option.c:155 -msgid "PATH" -msgstr "ПУТЬ" - -#: ../src/option.c:161 +#: ../src/option.c:167 msgid "Set the format for the returned date" msgstr "Задать формат возвращаемой даты" -#: ../src/option.c:161 ../src/option.c:348 +#: ../src/option.c:167 ../src/option.c:354 msgid "PATTERN" msgstr "ШАБЛОН" -#: ../src/option.c:163 +#: ../src/option.c:169 msgid "Set presicion of floating numbers (default - 3)" msgstr "Задать точность чисел с плавающей точкой (по-умолчанию - 3)" -#: ../src/option.c:165 +#: ../src/option.c:171 msgid "Set command handler" msgstr "Задать команду-обработчик" -#: ../src/option.c:165 ../src/option.c:263 ../src/option.c:267 -#: ../src/option.c:398 ../src/option.c:400 +#: ../src/option.c:171 ../src/option.c:269 ../src/option.c:273 +#: ../src/option.c:414 ../src/option.c:416 msgid "CMD" msgstr "КОМАНДА" -#: ../src/option.c:167 +#: ../src/option.c:173 msgid "Listen for data on stdin" msgstr "Получать данные со стандартного ввода" -#: ../src/option.c:169 +#: ../src/option.c:175 msgid "Set common separator character" msgstr "Установить общий разделяющий символ" -#: ../src/option.c:169 ../src/option.c:171 +#: ../src/option.c:175 ../src/option.c:177 msgid "SEPARATOR" msgstr "РАЗДЕЛИТЕЛЬ" -#: ../src/option.c:171 +#: ../src/option.c:177 msgid "Set item separator character" msgstr "Установить разделяющий символ для элементов" -#: ../src/option.c:173 +#: ../src/option.c:179 msgid "Allow changes to text in some cases" msgstr "Разрешить изменять текст в определенных случаях" -#: ../src/option.c:175 +#: ../src/option.c:181 msgid "Quote dialogs output" msgstr "Вывод значений в кавычках" -#: ../src/option.c:177 +#: ../src/option.c:183 msgid "Output number instead of text for combo-box" msgstr "Выводить номер вместо текста для списка значений" -#: ../src/option.c:179 +#: ../src/option.c:185 msgid "Specify font name to use" msgstr "Указать имя используемого шрифта" -#: ../src/option.c:179 +#: ../src/option.c:185 msgid "FONTNAME" msgstr "ШРИФТ" -#: ../src/option.c:181 +#: ../src/option.c:187 msgid "Allow multiple selection" msgstr "Разрешить множественный выбор" -#: ../src/option.c:183 +#: ../src/option.c:189 msgid "Enable preview" msgstr "Добавить предпросмотр" -#: ../src/option.c:185 +#: ../src/option.c:191 msgid "Show hidden files in file selection dialogs" msgstr "Показывать скрытые файлы в диалоге выбора файла" -#: ../src/option.c:187 +#: ../src/option.c:193 msgid "Set source filename" msgstr "Имя исходного файла" -#: ../src/option.c:187 ../src/option.c:213 ../src/option.c:227 -#: ../src/option.c:582 ../src/option.c:588 +#: ../src/option.c:193 ../src/option.c:219 ../src/option.c:233 +#: ../src/option.c:598 ../src/option.c:610 msgid "FILENAME" msgstr "ИМЯ_ФАЙЛА" -#: ../src/option.c:189 +#: ../src/option.c:195 msgid "Set vertical orientation" msgstr "Использовать вертикальное расположение" -#: ../src/option.c:191 +#: ../src/option.c:197 msgid "Identifier of embedded dialogs" msgstr "Идентификатор встраиваемых диалогов" -#: ../src/option.c:193 +#: ../src/option.c:199 msgid "Set extended completion for entries (any, all, or regex)" msgstr "Задать расширенное дополнение для текстовых полей (any, all или regex)" -#: ../src/option.c:196 +#: ../src/option.c:202 msgid "Enable spell check for text" msgstr "Разрешить проверку орфографии" -#: ../src/option.c:198 +#: ../src/option.c:204 msgid "Set spell checking language" msgstr "Установить язык проверки орфографии" -#: ../src/option.c:198 +#: ../src/option.c:204 msgid "LANGUAGE" msgstr "ЯЗЫК" -#: ../src/option.c:205 +#: ../src/option.c:211 msgid "Display calendar dialog" msgstr "Отобразить диалог для выбора даты" -#: ../src/option.c:207 +#: ../src/option.c:213 msgid "Set the calendar day" msgstr "Задать день календаря" -#: ../src/option.c:207 +#: ../src/option.c:213 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:209 +#: ../src/option.c:215 msgid "Set the calendar month" msgstr "Задать месяц календаря" -#: ../src/option.c:209 +#: ../src/option.c:215 msgid "MONTH" msgstr "МЕСЯЦ" -#: ../src/option.c:211 +#: ../src/option.c:217 msgid "Set the calendar year" msgstr "Задать год календаря" -#: ../src/option.c:211 +#: ../src/option.c:217 msgid "YEAR" msgstr "ГОД" -#: ../src/option.c:213 +#: ../src/option.c:219 msgid "Set the filename with dates details" msgstr "Задать имя файла с описанием дат" -#: ../src/option.c:219 +#: ../src/option.c:225 msgid "Display color selection dialog" msgstr "Отобразить диалог для выбора цвета" -#: ../src/option.c:221 +#: ../src/option.c:227 msgid "Alias for --color" msgstr "Синоним для --color" -#: ../src/option.c:223 +#: ../src/option.c:229 msgid "Set initial color value" msgstr "Задать начальное значение цвета" -#: ../src/option.c:223 ../src/option.c:538 ../src/option.c:540 -#: ../src/option.c:554 +#: ../src/option.c:229 ../src/option.c:554 ../src/option.c:556 +#: ../src/option.c:570 msgid "COLOR" msgstr "ЦВЕТ" -#: ../src/option.c:225 +#: ../src/option.c:231 msgid "Show system palette in color dialog" msgstr "Показывать системную палитру" -#: ../src/option.c:227 +#: ../src/option.c:233 msgid "Set path to palette file. Default - " msgstr "Задать путь к файлу цветов. По-умолчанию - " -#: ../src/option.c:229 +#: ../src/option.c:235 msgid "Expand user palette" msgstr "Раскрывать пользовательскую палитру" -#: ../src/option.c:231 +#: ../src/option.c:237 msgid "Set output mode to MODE. Values are hex (default) or rgb" msgstr "Установить режим вывода в РЕЖИМ. Значения - hex (по-умолчанию) или rgb" -#: ../src/option.c:231 +#: ../src/option.c:237 msgid "MODE" msgstr "РЕЖИМ" -#: ../src/option.c:233 +#: ../src/option.c:239 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Использовать формат #rrrrggggbbbb вместо #rrggbb" -#: ../src/option.c:235 +#: ../src/option.c:241 msgid "Add opacity to output color value" msgstr "Добавить прозрачность к значению цвета" -#: ../src/option.c:241 +#: ../src/option.c:247 msgid "Display drag-n-drop box" msgstr "Отобразить диалог для перехвата dnd" -#: ../src/option.c:243 +#: ../src/option.c:249 msgid "Use dialog text as tooltip" msgstr "Использовать текст диалога в качестве подсказки" -#: ../src/option.c:249 +#: ../src/option.c:255 msgid "Display text entry or combo-box dialog" msgstr "Отобразить диалог для ввода текста или выбора варианта" -#: ../src/option.c:251 +#: ../src/option.c:257 msgid "Set the entry label" msgstr "Задать метку поля ввода" -#: ../src/option.c:253 +#: ../src/option.c:259 msgid "Set the entry text" msgstr "Задать текст по умолчанию для ввода" -#: ../src/option.c:255 +#: ../src/option.c:261 msgid "Hide the entry text" msgstr "Прятать введенный текст (Пароль)" -#: ../src/option.c:257 +#: ../src/option.c:263 msgid "Use completion instead of combo-box" msgstr "Использовать автодополнение вместо списка значений" -#: ../src/option.c:259 +#: ../src/option.c:265 msgid "Use spin button for text entry" msgstr "Использовать числовое поле вместо текста" -#: ../src/option.c:261 +#: ../src/option.c:267 msgid "Set the left entry icon" msgstr "Задать левый значок" -#: ../src/option.c:263 +#: ../src/option.c:269 msgid "Set the left entry icon action" msgstr "Действие для левого значка" -#: ../src/option.c:265 +#: ../src/option.c:271 msgid "Set the right entry icon" msgstr "Задать правый значок" -#: ../src/option.c:267 +#: ../src/option.c:273 msgid "Set the right entry icon action" msgstr "Действие для правого значка" -#: ../src/option.c:273 +#: ../src/option.c:279 msgid "Display file selection dialog" msgstr "Отобразить диалог для выбора файла" -#: ../src/option.c:275 +#: ../src/option.c:281 msgid "Alias for --file" msgstr "Синоним для --file" -#: ../src/option.c:277 +#: ../src/option.c:283 msgid "Activate directory-only selection" msgstr "Активировать выделение только по каталогам" -#: ../src/option.c:279 +#: ../src/option.c:285 msgid "Activate save mode" msgstr "Активировать режим сохранения" -#: ../src/option.c:281 +#: ../src/option.c:287 msgid "Confirm file selection if filename already exists" msgstr "Подтверждать выбор файла, если файл уже существует" -#: ../src/option.c:281 +#: ../src/option.c:287 msgid "[TEXT]" msgstr "[ТЕКСТ]" -#: ../src/option.c:287 +#: ../src/option.c:293 msgid "Display font selection dialog" msgstr "Отобразить диалог для выбора шрифта" -#: ../src/option.c:289 +#: ../src/option.c:295 msgid "Alias for --font" msgstr "Синоним для --font" -#: ../src/option.c:291 +#: ../src/option.c:297 msgid "Set text string for preview" msgstr "Задать текст для предпросмотра" -#: ../src/option.c:293 +#: ../src/option.c:299 msgid "Separate output of font description" msgstr "Раздельный вывод для описания шрифта" -#: ../src/option.c:299 +#: ../src/option.c:305 msgid "Display form dialog" msgstr "Отобразить диалог формы ввода" -#: ../src/option.c:301 +#: ../src/option.c:307 msgid "Add field to form (see man page for list of possible types)" msgstr "Добавить поле к форме (список типов указан в странице руководства)" -#: ../src/option.c:301 ../src/option.c:412 +#: ../src/option.c:307 ../src/option.c:428 msgid "LABEL[:TYPE]" msgstr "МЕТКА[:ТИП]" -#: ../src/option.c:303 +#: ../src/option.c:309 msgid "Set alignment of filed labels (left, center or right)" msgstr "Задать выравнивание меток полей (left, center или right)" -#: ../src/option.c:305 +#: ../src/option.c:311 msgid "Set number of columns in form" msgstr "Задать количество колонок в форме" -#: ../src/option.c:307 +#: ../src/option.c:313 msgid "Make form scrollable" msgstr "Сделать форму прокручиваемой" -#: ../src/option.c:309 +#: ../src/option.c:315 msgid "Order output fields by rows" msgstr "Упорядочить вывод по строкам" -#: ../src/option.c:311 +#: ../src/option.c:317 msgid "Set focused field" msgstr "Задать поле, получающее фокус" -#: ../src/option.c:313 +#: ../src/option.c:319 msgid "Cycled reading of stdin data" msgstr "Циклическое чтение со стандартного ввода" -#: ../src/option.c:320 +#: ../src/option.c:326 msgid "Display HTML dialog" msgstr "Отобразить HTML диалог" -#: ../src/option.c:322 +#: ../src/option.c:328 msgid "Open specified location" msgstr "Открыть указанный адрес" -#: ../src/option.c:324 +#: ../src/option.c:330 msgid "Turn on browser mode" msgstr "Включить режим браузера" -#: ../src/option.c:326 +#: ../src/option.c:332 msgid "Print clicked uri to stdout" msgstr "Печатать ссылки по щелчку" -#: ../src/option.c:328 +#: ../src/option.c:334 msgid "Set mime type of input stream data" msgstr "Задать тип mime для входных данных" -#: ../src/option.c:330 +#: ../src/option.c:336 msgid "Set encoding of input stream data" msgstr "Задать кодировку для входных данных" -#: ../src/option.c:330 +#: ../src/option.c:336 msgid "ENCODING" msgstr "КОДИРОВКА" -#: ../src/option.c:337 +#: ../src/option.c:343 msgid "Display icons box dialog" msgstr "Отобразить диалог со значками быстрого доступа" -#: ../src/option.c:339 +#: ../src/option.c:345 msgid "Read data from .desktop files in specified directory" msgstr "Читать данные из .desktop файлов в определенном каталоге" -#: ../src/option.c:339 +#: ../src/option.c:345 msgid "DIR" msgstr "КАТАЛОГ" -#: ../src/option.c:341 +#: ../src/option.c:347 msgid "Use compact (list) view" msgstr "Использовать компактный вид (список)" -#: ../src/option.c:343 +#: ../src/option.c:349 msgid "Use GenericName field instead of Name for icon label" msgstr "Использовать поле GenericName вместо Name для метки" -#: ../src/option.c:345 +#: ../src/option.c:351 msgid "Set the width of dialog items" msgstr "Задать ширину элемента диалога" -#: ../src/option.c:348 +#: ../src/option.c:354 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -782,695 +788,745 @@ "Использовать указанный шаблон для запуска в терминале (по умолчанию: xterm -" "e %s)" -#: ../src/option.c:350 +#: ../src/option.c:356 msgid "Sort items by name instead of filename" msgstr "Сортировать по полю Имя вместо имени файла" -#: ../src/option.c:352 +#: ../src/option.c:358 msgid "Sort items in descending order" msgstr "Сортировать в убывающем порядке" -#: ../src/option.c:354 +#: ../src/option.c:360 msgid "Activate items by single click" msgstr "Активировать элемент одинарным щелчком" -#: ../src/option.c:357 +#: ../src/option.c:363 msgid "Watch fot changes in directory" msgstr "Отслеживать изменения в каталоге" -#: ../src/option.c:364 +#: ../src/option.c:370 msgid "Display list dialog" msgstr "Отобразить диалог со списком" -#: ../src/option.c:366 +#: ../src/option.c:372 msgid "Set the column header (see man page for list of possible types)" msgstr "Задать заголовок колонки (список типов указан в странице руководства)" -#: ../src/option.c:366 +#: ../src/option.c:372 msgid "COLUMN[:TYPE]" msgstr "СТОЛБЕЦ[:ТИП]" -#: ../src/option.c:368 +#: ../src/option.c:374 msgid "Use checkboxes for first column" msgstr "Использовать флажки для первой колонки" -#: ../src/option.c:370 +#: ../src/option.c:376 msgid "Use radioboxes for first column" msgstr "Использовать переключатель для первой колонки" -#: ../src/option.c:372 +#: ../src/option.c:378 msgid "Don't show column headers" msgstr "Не показывать заголовки колонок" -#: ../src/option.c:374 +#: ../src/option.c:380 msgid "Disable clickable column headers" msgstr "Запретить нажимаемые заголовки" -#: ../src/option.c:376 +#: ../src/option.c:382 msgid "Disable rules hints" msgstr "Запретить раскраску строк" -#: ../src/option.c:378 +#: ../src/option.c:384 +msgid "Set grid lines (hor[izontal], vert[ical] or both)" +msgstr "Задать разделительные линиии (hor[izontal], vert[ical] или both)" + +#: ../src/option.c:386 msgid "Print all data from list" msgstr "Печатать таблицу полностью" -#: ../src/option.c:380 +#: ../src/option.c:388 +msgid "Set the list of editable columns" +msgstr "Задать список редактируемых колонок" + +#: ../src/option.c:388 ../src/option.c:392 ../src/option.c:396 +msgid "LIST" +msgstr "СПИСОК" + +#: ../src/option.c:390 +msgid "Set the width of a column for start wrapping text" +msgstr "Задать ширину колонки для переноса" + +#: ../src/option.c:392 +msgid "Set the list of wrapped columns" +msgstr "Задать список колонок для переноса" + +#: ../src/option.c:394 msgid "Set ellipsize mode for text columns (none, start, middle or end)" msgstr "" -"Задать тип усечсения для текстовых столбцов (none, start, middle или end)" +"Задать тип усечсения для текстовых колонок (none, start, middle или end)" -#: ../src/option.c:382 +#: ../src/option.c:396 +msgid "Set the list of ellipsized columns" +msgstr "Задать список колонок для усечения" + +#: ../src/option.c:398 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" msgstr "" -"Распечатать только определённый столбец. По-умолчанию или если столбец равен " -"0, будут распечатаны все столбцы" +"Распечатать только определённую колонку. По-умолчанию или если колонка равна " +"0, будут распечатаны все колонки" -#: ../src/option.c:384 +#: ../src/option.c:400 msgid "Hide a specific column" -msgstr "Скрыть указанный столбец" +msgstr "Скрыть указанную колонку" -#: ../src/option.c:386 +#: ../src/option.c:402 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "" "Задать колонку, расширяемую по-умолчанию. 0 устанавливает расширяемыми все " "колонки" -#: ../src/option.c:388 +#: ../src/option.c:404 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" msgstr "Задать колонку поиска. По-умолчанию первая. 0 запрещает поиск" -#: ../src/option.c:390 +#: ../src/option.c:406 msgid "Set the tooltip column" msgstr "Задать колонку всплывающих подсказок" -#: ../src/option.c:392 +#: ../src/option.c:408 msgid "Set the row separator column" msgstr "Задать колонку разделителя строк" -#: ../src/option.c:394 +#: ../src/option.c:410 msgid "Set the row separator value" msgstr "Задать значение разделителя строк" -#: ../src/option.c:396 +#: ../src/option.c:412 msgid "Set the limit of rows in list" msgstr "Задать количество строк в списке" -#: ../src/option.c:398 +#: ../src/option.c:414 msgid "Set double-click action" msgstr "Действие по двойному щелчку мыши" -#: ../src/option.c:400 +#: ../src/option.c:416 msgid "Set select action" msgstr "Действие при выделении строки" -#: ../src/option.c:402 +#: ../src/option.c:418 msgid "Use regex in search" msgstr "Использовать регулярные выражения при поиске" -#: ../src/option.c:404 +#: ../src/option.c:420 msgid "Disable selection" msgstr "Запретить выделение" -#: ../src/option.c:410 +#: ../src/option.c:426 msgid "Display multi progress bars dialog" msgstr "Отобразить диалог c несколькими индикаторами" -#: ../src/option.c:412 -msgid "Add the progress bar (norm, rtl or pulse)" -msgstr "Добавить индикатор (norm, rtl или pulse)" +#: ../src/option.c:428 +msgid "Add the progress bar (norm, rtl, pulse or perm)" +msgstr "Добавить индикатор (norm, rtl, pulse или perm)" -#: ../src/option.c:414 +#: ../src/option.c:430 msgid "Watch for specific bar for auto close" msgstr "Следить за определенным индикатором для автозакрытия" -#: ../src/option.c:416 +#: ../src/option.c:432 msgid "Set alignment of bar labels (left, center or right)" msgstr "Задать выравнивание меток индикаторов (left, center или right)" -#: ../src/option.c:419 +#: ../src/option.c:435 #, no-c-format msgid "Dismiss the dialog when 100% of all bars has been reached" msgstr "Закрыть диалог по достижении 100% всеми индикаторами" -#: ../src/option.c:422 ../src/option.c:495 +#: ../src/option.c:438 ../src/option.c:511 msgid "Kill parent process if cancel button is pressed" msgstr "Завершить родительский процесс, если нажата кнопка отмены" -#: ../src/option.c:429 +#: ../src/option.c:445 msgid "Display notebook dialog" msgstr "Отобразить диалог с вкладками" -#: ../src/option.c:431 +#: ../src/option.c:447 msgid "Add a tab to notebook" msgstr "Добавить вкладку" -#: ../src/option.c:431 +#: ../src/option.c:447 msgid "LABEL" msgstr "МЕТКА" -#: ../src/option.c:433 +#: ../src/option.c:449 msgid "Set position of a notebook tabs (top, bottom, left or right)" msgstr "Задать позицию метки вкладки (top, bottom, left или right)" -#: ../src/option.c:435 +#: ../src/option.c:451 msgid "Set tab borders" msgstr "Установить границы вкладки" -#: ../src/option.c:441 +#: ../src/option.c:457 msgid "Display notification" msgstr "Отобразить диалог уведомления" -#: ../src/option.c:443 +#: ../src/option.c:459 msgid "Set initial popup menu" msgstr "Задать начальное меню" -#: ../src/option.c:443 +#: ../src/option.c:459 msgid "STRING" msgstr "СТРОКА" -#: ../src/option.c:445 +#: ../src/option.c:461 msgid "Disable exit on middle click" msgstr "Запретить выход по щелчку средней кнопкой" -#: ../src/option.c:447 +#: ../src/option.c:463 msgid "Doesn't show icon at startup" msgstr "Не показывать иконку при запуске" -#: ../src/option.c:453 +#: ../src/option.c:469 msgid "Display paned dialog" msgstr "Отобразить диалог панелей" -#: ../src/option.c:455 +#: ../src/option.c:471 msgid "Set orientation (hor[izontal] or vert[ical])" msgstr "Задать ориентацию (hor[izontal] или vert[ical])" -#: ../src/option.c:457 +#: ../src/option.c:473 msgid "Set initial splitter position" msgstr "Задать начальную позицию разделителя" -#: ../src/option.c:463 +#: ../src/option.c:479 msgid "Display picture dialog" msgstr "Отобразить диалог показа картинки" -#: ../src/option.c:465 +#: ../src/option.c:481 msgid "Set initial size (fit or orig)" msgstr "Задать начальный размер (fit или orig)" -#: ../src/option.c:467 +#: ../src/option.c:483 msgid "Set increment for picture scaling (default - 5)" msgstr "Задать шаг для масштабирования картинки (по умолчанию - 5)" -#: ../src/option.c:473 +#: ../src/option.c:489 msgid "Display printing dialog" msgstr "Отобразить диалог печати" -#: ../src/option.c:475 +#: ../src/option.c:491 msgid "Set source type (text, image or raw)" msgstr "Тип исходных данных (text, image или raw)" -#: ../src/option.c:477 +#: ../src/option.c:493 msgid "Add headers to page" msgstr "Добавлять колонтитулы на страницу" -#: ../src/option.c:483 +#: ../src/option.c:499 msgid "Display progress indication dialog" msgstr "Отобразить диалог хода процесса" -#: ../src/option.c:485 +#: ../src/option.c:501 msgid "Set progress text" msgstr "Показывать текст на индикаторе" -#: ../src/option.c:487 +#: ../src/option.c:503 msgid "Set initial percentage" msgstr "Задать начальный процент" -#: ../src/option.c:487 +#: ../src/option.c:503 msgid "PERCENTAGE" msgstr "ПРОЦЕНТЫ" -#: ../src/option.c:489 +#: ../src/option.c:505 msgid "Pulsate progress bar" msgstr "Пульсирующий индикатор прогресса" -#: ../src/option.c:492 +#: ../src/option.c:508 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Закрыть диалог по достижении 100%" -#: ../src/option.c:498 +#: ../src/option.c:514 msgid "Right-To-Left progress bar direction" msgstr "Направление индикатора Справа-Налево" -#: ../src/option.c:500 +#: ../src/option.c:516 msgid "Show log window" msgstr "Показать окно журнала" -#: ../src/option.c:502 +#: ../src/option.c:518 msgid "Expand log window" msgstr "Развернуть окно журнала" -#: ../src/option.c:504 +#: ../src/option.c:520 msgid "Place log window above progress bar" msgstr "Разместить окно журнала над индикатором прогресса" -#: ../src/option.c:506 +#: ../src/option.c:522 msgid "Height of log window" msgstr "Высота окна журнала" -#: ../src/option.c:512 +#: ../src/option.c:528 msgid "Display scale dialog" msgstr "Отобразить диалог масштаба" -#: ../src/option.c:514 +#: ../src/option.c:530 msgid "Set initial value" msgstr "Задать начальное значение" -#: ../src/option.c:514 ../src/option.c:516 ../src/option.c:518 -#: ../src/option.c:520 ../src/option.c:522 +#: ../src/option.c:530 ../src/option.c:532 ../src/option.c:534 +#: ../src/option.c:536 ../src/option.c:538 msgid "VALUE" msgstr "ЗНАЧЕНИЕ" -#: ../src/option.c:516 +#: ../src/option.c:532 msgid "Set minimum value" msgstr "Задать минимальное значение" -#: ../src/option.c:518 +#: ../src/option.c:534 msgid "Set maximum value" msgstr "Задать максимальное значение" -#: ../src/option.c:520 +#: ../src/option.c:536 msgid "Set step size" msgstr "Задать шаг" -#: ../src/option.c:522 +#: ../src/option.c:538 msgid "Set paging size" msgstr "Задать шаг страницы" -#: ../src/option.c:524 +#: ../src/option.c:540 msgid "Print partial values" msgstr "Печатать частичные значения" -#: ../src/option.c:526 +#: ../src/option.c:542 msgid "Hide value" msgstr "Скрыть величину" -#: ../src/option.c:528 +#: ../src/option.c:544 msgid "Invert direction" msgstr "Инвертировать направление" -#: ../src/option.c:530 +#: ../src/option.c:546 msgid "Add mark to scale (may be used multiple times)" msgstr "Добавить метку (может использоваться несколько раз)" -#: ../src/option.c:530 +#: ../src/option.c:546 msgid "NAME:VALUE" msgstr "ИМЯ:ЗНАЧЕНИЕ" -#: ../src/option.c:536 +#: ../src/option.c:552 msgid "Display text information dialog" msgstr "Отобразить диалог с текстовой информацией" -#: ../src/option.c:538 +#: ../src/option.c:554 msgid "Use specified color for text" msgstr "Использовать указанный цвет текста" -#: ../src/option.c:540 +#: ../src/option.c:556 msgid "Use specified color for background" msgstr "Использовать указанный цвет фона" -#: ../src/option.c:542 +#: ../src/option.c:558 msgid "Enable text wrapping" msgstr "Разрешить перенос текста" -#: ../src/option.c:544 +#: ../src/option.c:560 msgid "Set justification (left, right, center or fill)" msgstr "Установить выравнивание (left, right, center или fill)" -#: ../src/option.c:546 +#: ../src/option.c:562 msgid "Set text margins" msgstr "Установить отступы" -#: ../src/option.c:546 +#: ../src/option.c:562 msgid "SIZE" msgstr "РАЗМЕР" -#: ../src/option.c:548 +#: ../src/option.c:564 msgid "Autoscroll to end of text" msgstr "Автопрокрутка в конец текста" -#: ../src/option.c:550 +#: ../src/option.c:566 msgid "Show cursor in read-only mode" msgstr "Показывать курсор в режиме для чтения" -#: ../src/option.c:552 +#: ../src/option.c:568 msgid "Make URI clickable" msgstr "Сделать ссылки активными" -#: ../src/option.c:554 +#: ../src/option.c:570 msgid "Use specified color for links" msgstr "Использовать указанный цвет для ссылок" -#: ../src/option.c:561 +#: ../src/option.c:577 msgid "Use specified langauge for syntax highlighting" msgstr "Использовать указанный язык для подсветки синтаксиса" -#: ../src/option.c:561 +#: ../src/option.c:577 msgid "LANG" msgstr "ЯЗЫК" -#: ../src/option.c:568 +#: ../src/option.c:584 msgid "Sets a filename filter" msgstr "Задать фильтр файлов по маске" -#: ../src/option.c:568 +#: ../src/option.c:584 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "ИМЯ | ШАБЛОН1 ШАБЛОН2 ..." -#: ../src/option.c:570 +#: ../src/option.c:586 msgid "Sets a mime-type filter" msgstr "Задать фильтр файлов по типу mime" -#: ../src/option.c:570 +#: ../src/option.c:586 msgid "NAME | MIME1 MIME2 ..." msgstr "ИМЯ | ТИП1 ТИП2 ..." -#: ../src/option.c:572 +#: ../src/option.c:588 msgid "Add filter for images" msgstr "Добавить фильтр изображений" -#: ../src/option.c:572 +#: ../src/option.c:588 msgid "NAME" msgstr "ИМЯ" -#: ../src/option.c:578 +#: ../src/option.c:594 msgid "Show about dialog" msgstr "Показать диалог 'О программе'" -#: ../src/option.c:580 +#: ../src/option.c:596 msgid "Print version" msgstr "Вывести версию" -#: ../src/option.c:582 +#: ../src/option.c:598 msgid "Load additional GTK settings from file" msgstr "Загрузить дополнительные настройки GTK из файла" -#: ../src/option.c:588 +#: ../src/option.c:600 +msgid "Set policy for horizontal scrollbars (auto, always, never)" +msgstr "Задать тип горизонтальной прокрутки (auto, always, never)" + +#: ../src/option.c:602 +msgid "Set policy for vertical scrollbars (auto, always, never)" +msgstr "Задать тип вертикальной прокрутки (auto, always, never)" + +#: ../src/option.c:604 +msgid "Add path for search icons by name" +msgstr "Добавить каталог для поиска изображений по имени" + +#: ../src/option.c:604 +msgid "PATH" +msgstr "ПУТЬ" + +#: ../src/option.c:610 msgid "Load extra arguments from file" msgstr "Загрузить дополнительные аргументы из файла" -#: ../src/option.c:629 ../src/option.c:926 +#: ../src/option.c:651 ../src/option.c:950 #, c-format msgid "Unknown align type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:790 +#: ../src/option.c:814 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Метке %s не задано значение\n" -#: ../src/option.c:827 +#: ../src/option.c:851 msgid "Images" msgstr "Изображения" -#: ../src/option.c:892 +#: ../src/option.c:916 #, c-format msgid "Unknown color mode: %s\n" msgstr "Неизвестный режим цвета: '%s'\n" -#: ../src/option.c:911 +#: ../src/option.c:935 #, c-format msgid "Unknown buttons layout type: %s\n" msgstr "Неизвестный тип расположения кнопок: %s\n" -#: ../src/option.c:943 +#: ../src/option.c:967 #, c-format msgid "Unknown justification type: %s\n" msgstr "Неизвестный тип выравнивания: %s\n" -#: ../src/option.c:960 +#: ../src/option.c:984 #, c-format msgid "Unknown tab position type: %s\n" msgstr "Неизвестный тип позиции вкладки: %s\n" -#: ../src/option.c:996 +#: ../src/option.c:1020 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Неизвестный тип усечения: %s\n" -#: ../src/option.c:1009 +#: ../src/option.c:1033 #, c-format msgid "Unknown orientation: %s\n" msgstr "Неизвестная ориентация: %s\n" -#: ../src/option.c:1024 +#: ../src/option.c:1048 #, c-format msgid "Unknown source type: %s\n" msgstr "Неизвестный исходный тип: %s\n" -#: ../src/option.c:1035 +#: ../src/option.c:1059 msgid "Progress log" msgstr "Окно журнала" -#: ../src/option.c:1048 +#: ../src/option.c:1072 #, c-format msgid "Unknown size type: %s\n" msgstr "Неизвестный тип размера: %s\n" -#: ../src/option.c:1072 +#: ../src/option.c:1096 #, c-format msgid "Unknown completion type: %s\n" msgstr "Неизвестный тип дополнения: %s\n" -#: ../src/option.c:1171 +#: ../src/option.c:1111 +#, c-format +msgid "Unknown grid lines type: %s\n" +msgstr "Неизвестный тип разделительных линий: %s\n" + +#: ../src/option.c:1128 +#, c-format +msgid "Unknown scrollbar policy type: %s\n" +msgstr "Неизвестный тип прокрутки: %s\n" + +#: ../src/option.c:1230 #, c-format msgid "Unknown signal: %s\n" msgstr "Неизвестный сигнал: %s\n" -#: ../src/option.c:1339 +#: ../src/option.c:1404 msgid "File exist. Overwrite?" msgstr "Файл существует. Перезаписать?" -#: ../src/option.c:1475 +#: ../src/option.c:1545 msgid "- Yet another dialoging program" msgstr "- Программа для отображения диалогов" #. Adds general option entries -#: ../src/option.c:1479 +#: ../src/option.c:1549 msgid "General options" msgstr "Основные параметры" -#: ../src/option.c:1479 +#: ../src/option.c:1549 msgid "Show general options" msgstr "Показывать основные параметры" #. Adds common option entries -#: ../src/option.c:1485 +#: ../src/option.c:1555 msgid "Common options" msgstr "Общие параметры" -#: ../src/option.c:1485 +#: ../src/option.c:1555 msgid "Show common options" msgstr "Показывать общие параметры диалогов" #. Adds calendar option entries -#: ../src/option.c:1491 +#: ../src/option.c:1561 msgid "Calendar options" msgstr "Параметры календаря" -#: ../src/option.c:1491 +#: ../src/option.c:1561 msgid "Show calendar options" msgstr "Показывать параметры календаря" #. Adds color option entries -#: ../src/option.c:1497 +#: ../src/option.c:1567 msgid "Color selection options" msgstr "Параметры диалога выбора цвета" -#: ../src/option.c:1497 +#: ../src/option.c:1567 msgid "Show color selection options" msgstr "Показывать параметры диалога выбора цвета" #. Adds dnd option entries -#: ../src/option.c:1503 +#: ../src/option.c:1573 msgid "DND options" msgstr "Параметры DND" -#: ../src/option.c:1503 +#: ../src/option.c:1573 msgid "Show drag-n-drop options" msgstr "Показывать параметры dnd" #. Adds entry option entries -#: ../src/option.c:1509 +#: ../src/option.c:1579 msgid "Text entry options" msgstr "Параметры ввода текста" -#: ../src/option.c:1509 +#: ../src/option.c:1579 msgid "Show text entry options" msgstr "Показывать параметры ввода текста" #. Adds file selection option entries -#: ../src/option.c:1515 +#: ../src/option.c:1585 msgid "File selection options" msgstr "Параметры диалога выбора файла" -#: ../src/option.c:1515 +#: ../src/option.c:1585 msgid "Show file selection options" msgstr "Показывать параметры диалога выбора файлов" #. Add font selection option entries -#: ../src/option.c:1521 +#: ../src/option.c:1591 msgid "Font selection options" msgstr "Параметры диалога выбора шрифта" -#: ../src/option.c:1521 +#: ../src/option.c:1591 msgid "Show font selection options" msgstr "Показывать параметры диалога выбора шрифта" #. Add form option entries -#: ../src/option.c:1527 +#: ../src/option.c:1597 msgid "Form options" msgstr "Параметры диалога формы" -#: ../src/option.c:1527 +#: ../src/option.c:1597 msgid "Show form options" msgstr "Показывать параметры диалога формы" #. Add html options entries -#: ../src/option.c:1534 +#: ../src/option.c:1604 msgid "HTML options" msgstr "Параметры HTML диалога" -#: ../src/option.c:1534 +#: ../src/option.c:1604 msgid "Show HTML options" msgstr "Показывать параметры HTML диалога" #. Add icons option entries -#: ../src/option.c:1541 +#: ../src/option.c:1611 msgid "Icons box options" msgstr "Параметры диалога значков" -#: ../src/option.c:1541 +#: ../src/option.c:1611 msgid "Show icons box options" msgstr "Показывать параметры диалога значков быстрого доступа" #. Adds list option entries -#: ../src/option.c:1547 +#: ../src/option.c:1617 msgid "List options" msgstr "Параметры списка" -#: ../src/option.c:1547 +#: ../src/option.c:1617 msgid "Show list options" msgstr "Показывать параметры списка" #. Adds multi progress option entries -#: ../src/option.c:1553 +#: ../src/option.c:1623 msgid "Multi progress bars options" msgstr "Параметры диалога с несколькими индикаторами" -#: ../src/option.c:1554 +#: ../src/option.c:1624 msgid "Show multi progress bars options" msgstr "Показывать параметры диалога с несколькими индикаторами" #. Adds notebook option entries -#: ../src/option.c:1560 +#: ../src/option.c:1630 msgid "Notebook options" msgstr "Параметры диалога с вкладками" -#: ../src/option.c:1560 +#: ../src/option.c:1630 msgid "Show notebook dialog options" msgstr "Показывать параметры диалога с вкладками" #. Adds notification option entries -#: ../src/option.c:1566 +#: ../src/option.c:1636 msgid "Notification icon options" msgstr "Параметры значка уведомления" -#: ../src/option.c:1567 +#: ../src/option.c:1637 msgid "Show notification icon options" msgstr "Показывать параметры значка уведомления" #. Adds paned option entries -#: ../src/option.c:1573 +#: ../src/option.c:1643 msgid "Paned dialog options" msgstr "Параметры диалога с панелями" -#: ../src/option.c:1573 +#: ../src/option.c:1643 msgid "Show paned dialog options" msgstr "Показывать параметры диалога с панелями" #. Adds picture option entries -#: ../src/option.c:1579 +#: ../src/option.c:1649 msgid "Picture dialog options" msgstr "Параметры диалога показа картинки" -#: ../src/option.c:1579 +#: ../src/option.c:1649 msgid "Show picture dialog options" msgstr "Показывать параметры диалога отображения картинки" #. Adds print option entries -#: ../src/option.c:1585 +#: ../src/option.c:1655 msgid "Print dialog options" msgstr "Параметры диалога печати" -#: ../src/option.c:1585 +#: ../src/option.c:1655 msgid "Show print dialog options" msgstr "Показывать параметры диалога печати" #. Adds progress option entries -#: ../src/option.c:1591 +#: ../src/option.c:1661 msgid "Progress options" msgstr "Параметры хода процесса" -#: ../src/option.c:1591 +#: ../src/option.c:1661 msgid "Show progress options" msgstr "Показывать параметры хода процесса" #. Adds scale option entries -#: ../src/option.c:1597 +#: ../src/option.c:1667 msgid "Scale options" msgstr "Параметры масштаба" -#: ../src/option.c:1597 +#: ../src/option.c:1667 msgid "Show scale options" msgstr "Показывать параметры масштаба" #. Adds text option entries -#: ../src/option.c:1603 +#: ../src/option.c:1673 msgid "Text information options" msgstr "Параметры текстовой информации" -#: ../src/option.c:1603 +#: ../src/option.c:1673 msgid "Show text information options" msgstr "Показывать параметры текстовой информации" #. Adds sourceview option entries -#: ../src/option.c:1610 +#: ../src/option.c:1680 msgid "SourceView options" msgstr "Параметры SourceView" -#: ../src/option.c:1610 +#: ../src/option.c:1680 msgid "Show SourceView options" msgstr "Показывать параметры SourceView" #. Adds file filters option entries -#: ../src/option.c:1617 +#: ../src/option.c:1687 msgid "File filter options" msgstr "Параметры фильтров диалога выбора файла" -#: ../src/option.c:1617 +#: ../src/option.c:1687 msgid "Show file filter options" msgstr "Показывать параметры фильтров диалога выбора файлов" #. Adds miscellaneous option entries -#: ../src/option.c:1623 +#: ../src/option.c:1693 msgid "Miscellaneous options" msgstr "Дополнительные параметры" -#: ../src/option.c:1623 +#: ../src/option.c:1693 msgid "Show miscellaneous options" msgstr "Показывать дополнительные параметры" @@ -1559,7 +1615,7 @@ msgid "Name" msgstr "Название" -#: ../src/text.c:430 +#: ../src/text.c:429 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Неверная последователньость UTF-8 при чтении файла %s\n" @@ -1608,3 +1664,9 @@ #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Исследование темы иконок GTK" + +#~ msgid "Set the width" +#~ msgstr "Задать ширину окна" + +#~ msgid "Set the height" +#~ msgstr "Задать высоту окна" diff -Nru yad-0.36.3/po/uk.po yad-0.37.0/po/uk.po --- yad-0.36.3/po/uk.po 2016-04-27 16:03:24.000000000 +0000 +++ yad-0.37.0/po/uk.po 2016-08-09 08:26:34.000000000 +0000 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-26 15:58+0300\n" +"POT-Creation-Date: 2016-07-19 14:49+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky \n" "Language-Team: \n" @@ -71,53 +71,53 @@ "Вбудована підтримка GtkSpell\n" "Використовується GTK+ %d.%d.%d\n" -#: ../src/calendar.c:39 ../src/text.c:401 +#: ../src/calendar.c:39 ../src/text.c:400 #, c-format msgid "Cannot open file '%s': %s\n" msgstr "Не можу відкрити файл %s: %s\n" -#: ../src/entry.c:174 ../src/scale.c:39 +#: ../src/entry.c:172 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальне значення повинне бути більше за мінімальне.\n" # # FIXME: "Initial value IS less than minimal.\n" -#: ../src/entry.c:181 ../src/scale.c:48 +#: ../src/entry.c:179 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Початкове значення - менше за мінімальне.\n" # # FIXME: "Initial value IS greater than maximum.\n" -#: ../src/entry.c:186 ../src/scale.c:53 +#: ../src/entry.c:184 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Початкове значення - більше за максимальне.\n" -#: ../src/form.c:420 +#: ../src/form.c:429 msgid "Select files" msgstr "Вибір файлу" -#: ../src/form.c:428 +#: ../src/form.c:437 msgid "Select folders" msgstr "Вибір каталогів" -#: ../src/form.c:507 +#: ../src/form.c:516 msgid "Select or create file" msgstr "Вибір або створення файлу" -#: ../src/form.c:515 +#: ../src/form.c:524 msgid "Select or create folder" msgstr "Вибір або створення каталогу" -#: ../src/form.c:566 +#: ../src/form.c:575 msgid "Select date" msgstr "Вибір дати" -#: ../src/form.c:856 +#: ../src/form.c:865 msgid "Select file" msgstr "Вибір файлу" -#: ../src/form.c:884 +#: ../src/form.c:893 msgid "Select folder" msgstr "Вибір каталогу" @@ -133,27 +133,27 @@ msgid "Enter URI or file name:" msgstr "Введіть URI або ім'я файлу:" -#: ../src/icons.c:322 +#: ../src/icons.c:327 #, c-format msgid "Unable to parse file %s: %s\n" msgstr "Не можу розібрати файл %s: %s\n" -#: ../src/icons.c:339 +#: ../src/icons.c:344 #, c-format msgid "Unable to open directory %s: %s\n" msgstr "Не можу відкрити каталог %s: %s\n" -#: ../src/main.c:94 ../src/main.c:441 +#: ../src/main.c:110 ../src/main.c:470 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:670 ../src/main.c:677 +#: ../src/main.c:748 ../src/main.c:755 #, c-format msgid "Unable to parse YAD_OPTIONS: %s\n" msgstr "Не можу розібрати YAD_OPTIONS: %s\n" -#: ../src/main.c:688 +#: ../src/main.c:766 #, c-format msgid "Unable to parse command line: %s\n" msgstr "Не вдається розібрати командний рядок: %s\n" @@ -177,607 +177,613 @@ msgid "Yad notification" msgstr "Діалог повідомлень" -#: ../src/list.c:918 +#: ../src/list.c:930 msgid "Add row" msgstr "Додати рядок" -#: ../src/list.c:925 +#: ../src/list.c:937 msgid "Delete row" msgstr "Видалити рядок" -#: ../src/list.c:932 +#: ../src/list.c:944 msgid "Duplicate row" msgstr "Скопіювати рядок" -#: ../src/list.c:971 +#: ../src/list.c:1089 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не задані заголовки стовпчиків для діалогу зі списком\n" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "Set the dialog title" msgstr "Задати заголовок діалогу" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:80 +#: ../src/option.c:82 msgid "Set the window icon" msgstr "Задати іконку діалогу" -#: ../src/option.c:80 +#: ../src/option.c:82 msgid "ICONPATH" msgstr "ІКОНКА" -#: ../src/option.c:82 -msgid "Set the width" +#: ../src/option.c:84 +msgid "Set the window width" msgstr "Задати ширину вікна" -#: ../src/option.c:82 +#: ../src/option.c:84 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:84 -msgid "Set the height" +#: ../src/option.c:86 +msgid "Set the window height" msgstr "Задати висоту вікна" -#: ../src/option.c:84 +#: ../src/option.c:86 msgid "HEIGHT" msgstr "ВИСОТА" -#: ../src/option.c:86 +#: ../src/option.c:88 +msgid "Set the X position of a window" +msgstr "Задати позицію вікна по X" + +#: ../src/option.c:88 ../src/option.c:90 ../src/option.c:120 +#: ../src/option.c:153 ../src/option.c:169 ../src/option.c:311 +#: ../src/option.c:317 ../src/option.c:390 ../src/option.c:398 +#: ../src/option.c:400 ../src/option.c:402 ../src/option.c:404 +#: ../src/option.c:406 ../src/option.c:408 ../src/option.c:412 +#: ../src/option.c:430 ../src/option.c:451 ../src/option.c:483 +msgid "NUMBER" +msgstr "ЧИСЛО" + +#: ../src/option.c:90 +msgid "Set the Y position of a window" +msgstr "Задати позицію вікна по Y" + +#: ../src/option.c:92 msgid "Set the window geometry" msgstr "Задати геометрію вікна" -#: ../src/option.c:86 +#: ../src/option.c:92 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:88 +#: ../src/option.c:94 msgid "Set dialog timeout in seconds" msgstr "Задати час роботи діалогу в секундах" -#: ../src/option.c:88 +#: ../src/option.c:94 msgid "TIMEOUT" msgstr "ЗАТРИМКА" -#: ../src/option.c:90 +#: ../src/option.c:96 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показник часу, який залишився (top, bottom, left, right)" -#: ../src/option.c:90 ../src/option.c:457 +#: ../src/option.c:96 ../src/option.c:473 msgid "POS" msgstr "ПОЗИЦІЯ" -#: ../src/option.c:92 +#: ../src/option.c:98 msgid "Set the dialog text" msgstr "Задати текст діалогу" -#: ../src/option.c:92 ../src/option.c:102 ../src/option.c:251 -#: ../src/option.c:253 ../src/option.c:255 ../src/option.c:291 -#: ../src/option.c:394 ../src/option.c:485 ../src/option.c:500 +#: ../src/option.c:98 ../src/option.c:108 ../src/option.c:257 +#: ../src/option.c:259 ../src/option.c:261 ../src/option.c:297 +#: ../src/option.c:410 ../src/option.c:501 ../src/option.c:516 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:94 +#: ../src/option.c:100 msgid "Set the dialog text alignment (left, center, right, fill)" msgstr "Задати вирівнювання тексту діалогу (left, center, right, fill)" -#: ../src/option.c:94 ../src/option.c:108 ../src/option.c:193 -#: ../src/option.c:303 ../src/option.c:328 ../src/option.c:380 -#: ../src/option.c:416 ../src/option.c:433 ../src/option.c:455 -#: ../src/option.c:465 ../src/option.c:475 ../src/option.c:544 +#: ../src/option.c:100 ../src/option.c:114 ../src/option.c:199 +#: ../src/option.c:309 ../src/option.c:334 ../src/option.c:384 +#: ../src/option.c:394 ../src/option.c:432 ../src/option.c:449 +#: ../src/option.c:471 ../src/option.c:481 ../src/option.c:491 +#: ../src/option.c:560 ../src/option.c:600 ../src/option.c:602 msgid "TYPE" msgstr "ТИП" -#: ../src/option.c:96 +#: ../src/option.c:102 msgid "Set the dialog image" msgstr "Задати зображення діалогу" -#: ../src/option.c:96 ../src/option.c:261 ../src/option.c:265 +#: ../src/option.c:102 ../src/option.c:267 ../src/option.c:271 msgid "IMAGE" msgstr "ЗОБРАЖЕННЯ" -#: ../src/option.c:98 +#: ../src/option.c:104 msgid "Show image above main widget" msgstr "Показувати зображення над основним віджетом" -#: ../src/option.c:100 +#: ../src/option.c:106 msgid "Use specified icon theme instead of default" msgstr "Використовувати вказану тему іконок" -#: ../src/option.c:100 +#: ../src/option.c:106 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:102 +#: ../src/option.c:108 msgid "Hide main widget with expander" msgstr "Приховати головний віджет" -#: ../src/option.c:104 +#: ../src/option.c:110 msgid "Add dialog button (may be used multiple times)" msgstr "Додати кнопку (може використовуватись декілька разів)" -#: ../src/option.c:104 +#: ../src/option.c:110 msgid "NAME:ID" msgstr "ІМ'Я:ID" -#: ../src/option.c:106 +#: ../src/option.c:112 msgid "Don't show buttons" msgstr "Не показувати кнопки" -#: ../src/option.c:108 +#: ../src/option.c:114 msgid "Set buttons layout type (spread, edge, start, end or center)" msgstr "Задати тип розміщення кнопок (spread, edge, start, end або center)" # # (розкидано, по краю, на початку, по центру) -#: ../src/option.c:110 +#: ../src/option.c:116 msgid "Don't use pango markup language in dialog's text" msgstr "Не використовувати розмітку pango в тексті" -#: ../src/option.c:112 +#: ../src/option.c:118 msgid "Don't close dialog if Escape was pressed" msgstr "Не закривати діалог, якшо натиснуто Escape" -#: ../src/option.c:114 +#: ../src/option.c:120 msgid "Set window borders" msgstr "Встановити межі вікна" -#: ../src/option.c:114 ../src/option.c:145 ../src/option.c:163 -#: ../src/option.c:305 ../src/option.c:311 ../src/option.c:382 -#: ../src/option.c:384 ../src/option.c:386 ../src/option.c:388 -#: ../src/option.c:390 ../src/option.c:392 ../src/option.c:396 -#: ../src/option.c:414 ../src/option.c:435 ../src/option.c:467 -msgid "NUMBER" -msgstr "ЧИСЛО" - -#: ../src/option.c:116 +#: ../src/option.c:122 msgid "Always print result" msgstr "Завжди виводити результат" -#: ../src/option.c:118 +#: ../src/option.c:124 msgid "Dialog text can be selected" msgstr "Текст діалогу може буди виділеним" -#: ../src/option.c:121 +#: ../src/option.c:127 msgid "Set window sticky" msgstr "Вікно на всіх стільницях" -#: ../src/option.c:123 +#: ../src/option.c:129 msgid "Set window unresizable" msgstr "Незмінний розмір вікна" -#: ../src/option.c:125 +#: ../src/option.c:131 msgid "Place window on top" msgstr "Розташувати вікно над іншими" -#: ../src/option.c:127 +#: ../src/option.c:133 msgid "Place window on center of screen" msgstr "Розташувати вікно по центру екрана" -#: ../src/option.c:129 +#: ../src/option.c:135 msgid "Place window at the mouse position" msgstr "Розташувати вікно в положенні мишки" -#: ../src/option.c:131 +#: ../src/option.c:137 msgid "Set window undecorated" msgstr "Прибрати декорації вікна" -#: ../src/option.c:133 +#: ../src/option.c:139 msgid "Don't show window in taskbar" msgstr "Не показувати вікна в панелі завдань" -#: ../src/option.c:135 +#: ../src/option.c:141 msgid "Set window maximized" msgstr "Задати вікну максимальний розмір" -#: ../src/option.c:137 +#: ../src/option.c:143 msgid "Set window fulscreen" msgstr "Розгорнути вікно на весь екран" -#: ../src/option.c:139 +#: ../src/option.c:145 msgid "Don't focus dialog window" msgstr "Не надавати фокус вікну діалогу" -#: ../src/option.c:141 +#: ../src/option.c:147 +msgid "Close window when it sets unfocused" +msgstr "Закрити вікно при втраті фокусу" + +#: ../src/option.c:149 msgid "Open window as a splashscreen" msgstr "Відкрити вікно у режимі splashscreen" -#: ../src/option.c:143 +#: ../src/option.c:151 msgid "Special type of dialog for XEMBED" msgstr "Особливий режим діалогу для вбудовування" -#: ../src/option.c:143 ../src/option.c:191 +#: ../src/option.c:151 ../src/option.c:197 msgid "KEY" msgstr "КЛЮЧ" -#: ../src/option.c:145 +#: ../src/option.c:153 msgid "Tab nubmer of this dialog" msgstr "Номер вкладки для цього діалогу" -#: ../src/option.c:148 +#: ../src/option.c:156 msgid "XID of parent window" msgstr "Ідентифікатор батьківського вікна" -#: ../src/option.c:150 +#: ../src/option.c:158 msgid "Send SIGNAL to parent" msgstr "Послати СИГНАЛ батьківському процесу" -#: ../src/option.c:150 +#: ../src/option.c:158 msgid "SIGNAL" msgstr "СИГНАЛ" -#: ../src/option.c:152 +#: ../src/option.c:160 msgid "Print X Window Id to the stderr" msgstr "Вивести ідентифікатор вікна на stderr" -#: ../src/option.c:155 -msgid "Add path for search icons by name" -msgstr "Додати каталог для пошуку іконок" - -#: ../src/option.c:155 -msgid "PATH" -msgstr "КАТАЛОГ" - -#: ../src/option.c:161 +#: ../src/option.c:167 msgid "Set the format for the returned date" msgstr "Задати формат відображення дати" -#: ../src/option.c:161 ../src/option.c:348 +#: ../src/option.c:167 ../src/option.c:354 msgid "PATTERN" msgstr "ШАБЛОН" -#: ../src/option.c:163 +#: ../src/option.c:169 msgid "Set presicion of floating numbers (default - 3)" msgstr "Задати точнісь чисел з плаваючою точкою (за умовчанням - 3)" -#: ../src/option.c:165 +#: ../src/option.c:171 msgid "Set command handler" msgstr "Задати команду-обробник" -#: ../src/option.c:165 ../src/option.c:263 ../src/option.c:267 -#: ../src/option.c:398 ../src/option.c:400 +#: ../src/option.c:171 ../src/option.c:269 ../src/option.c:273 +#: ../src/option.c:414 ../src/option.c:416 msgid "CMD" msgstr "КОМАНДА" -#: ../src/option.c:167 +#: ../src/option.c:173 msgid "Listen for data on stdin" msgstr "Читати дані зі стандартного вводу" -#: ../src/option.c:169 +#: ../src/option.c:175 msgid "Set common separator character" msgstr "Встановити загальний розділювач" -#: ../src/option.c:169 ../src/option.c:171 +#: ../src/option.c:175 ../src/option.c:177 msgid "SEPARATOR" msgstr "РОЗДІЛЮВАЧ" -#: ../src/option.c:171 +#: ../src/option.c:177 msgid "Set item separator character" msgstr "Встановити розділювач для елементів" -#: ../src/option.c:173 +#: ../src/option.c:179 msgid "Allow changes to text in some cases" msgstr "Дозволити змінювати текст у деяких режимах" -#: ../src/option.c:175 +#: ../src/option.c:181 msgid "Quote dialogs output" msgstr "Виводити значення у лапках" -#: ../src/option.c:177 +#: ../src/option.c:183 msgid "Output number instead of text for combo-box" msgstr "Виводити число замість тексту для списку значень" -#: ../src/option.c:179 +#: ../src/option.c:185 msgid "Specify font name to use" msgstr "Задати ім'я використовуємого шрифту" -#: ../src/option.c:179 +#: ../src/option.c:185 msgid "FONTNAME" msgstr "НАЗВА_ШРИФТУ" -#: ../src/option.c:181 +#: ../src/option.c:187 msgid "Allow multiple selection" msgstr "Дозволити вибір декількох елементів" -#: ../src/option.c:183 +#: ../src/option.c:189 msgid "Enable preview" msgstr "Додати попередній перегляд" -#: ../src/option.c:185 +#: ../src/option.c:191 msgid "Show hidden files in file selection dialogs" msgstr "Відобразити скриті файли у діалозі вибору файла" -#: ../src/option.c:187 +#: ../src/option.c:193 msgid "Set source filename" msgstr "Задати ім'я файлу" -#: ../src/option.c:187 ../src/option.c:213 ../src/option.c:227 -#: ../src/option.c:582 ../src/option.c:588 +#: ../src/option.c:193 ../src/option.c:219 ../src/option.c:233 +#: ../src/option.c:598 ../src/option.c:610 msgid "FILENAME" msgstr "НАЗВА ФАЙЛУ" -#: ../src/option.c:189 +#: ../src/option.c:195 msgid "Set vertical orientation" msgstr "Викорістовувати вертикальну орієнтацію" -#: ../src/option.c:191 +#: ../src/option.c:197 msgid "Identifier of embedded dialogs" msgstr "Ідентифікатор діалогів що вбудовуваються" -#: ../src/option.c:193 +#: ../src/option.c:199 msgid "Set extended completion for entries (any, all, or regex)" msgstr "Задати розширене доповнення для текстових полів (any, all або regex)" -#: ../src/option.c:196 +#: ../src/option.c:202 msgid "Enable spell check for text" msgstr "Дозволити перевірку правопису" -#: ../src/option.c:198 +#: ../src/option.c:204 msgid "Set spell checking language" msgstr "Задати мову для перевірки правопису" -#: ../src/option.c:198 +#: ../src/option.c:204 msgid "LANGUAGE" msgstr "МОВА" -#: ../src/option.c:205 +#: ../src/option.c:211 msgid "Display calendar dialog" msgstr "Відобразити діалог для вибору дати" -#: ../src/option.c:207 +#: ../src/option.c:213 msgid "Set the calendar day" msgstr "Задати календарний день" -#: ../src/option.c:207 +#: ../src/option.c:213 msgid "DAY" msgstr "ДЕНЬ" -#: ../src/option.c:209 +#: ../src/option.c:215 msgid "Set the calendar month" msgstr "Задати календарний місяць" -#: ../src/option.c:209 +#: ../src/option.c:215 msgid "MONTH" msgstr "МІСЯЦЬ" -#: ../src/option.c:211 +#: ../src/option.c:217 msgid "Set the calendar year" msgstr "Задати календарний рік" -#: ../src/option.c:211 +#: ../src/option.c:217 msgid "YEAR" msgstr "РІК" -#: ../src/option.c:213 +#: ../src/option.c:219 msgid "Set the filename with dates details" msgstr "Задати назву файлу з описом дат" -#: ../src/option.c:219 +#: ../src/option.c:225 msgid "Display color selection dialog" msgstr "Відобразити діалог для вибору кольору" -#: ../src/option.c:221 +#: ../src/option.c:227 msgid "Alias for --color" msgstr "Синонім для --color" -#: ../src/option.c:223 +#: ../src/option.c:229 msgid "Set initial color value" msgstr "Задати початковий колір" -#: ../src/option.c:223 ../src/option.c:538 ../src/option.c:540 -#: ../src/option.c:554 +#: ../src/option.c:229 ../src/option.c:554 ../src/option.c:556 +#: ../src/option.c:570 msgid "COLOR" msgstr "КОЛІР" -#: ../src/option.c:225 +#: ../src/option.c:231 msgid "Show system palette in color dialog" msgstr "Відобразити системну палітру" -#: ../src/option.c:227 +#: ../src/option.c:233 msgid "Set path to palette file. Default - " msgstr "Задати шлях до файлу кольорів. Без назви - " -#: ../src/option.c:229 +#: ../src/option.c:235 msgid "Expand user palette" msgstr "Розкривати палітру користувача" -#: ../src/option.c:231 +#: ../src/option.c:237 msgid "Set output mode to MODE. Values are hex (default) or rgb" msgstr "" "Встановити режим вивода в РЕЖИМ. Значення - hex (за умовчанням) або rgb" -#: ../src/option.c:231 +#: ../src/option.c:237 msgid "MODE" msgstr "РЕЖИМ" -#: ../src/option.c:233 +#: ../src/option.c:239 msgid "Use #rrrrggggbbbb format instead of #rrggbb" msgstr "Використовувати формат #rrrrggggbbbb замість #rrggbb" -#: ../src/option.c:235 +#: ../src/option.c:241 msgid "Add opacity to output color value" msgstr "Додати прозорість до значення кольору" -#: ../src/option.c:241 +#: ../src/option.c:247 msgid "Display drag-n-drop box" msgstr "Відобразити діалог для перехоплення dnd" -#: ../src/option.c:243 +#: ../src/option.c:249 msgid "Use dialog text as tooltip" msgstr "Використовувати текст діалогу в якості підказки" -#: ../src/option.c:249 +#: ../src/option.c:255 msgid "Display text entry or combo-box dialog" msgstr "Відобразити діалог для вводу тексту або вибору варіанта" -#: ../src/option.c:251 +#: ../src/option.c:257 msgid "Set the entry label" msgstr "Задати мітку поля вводу" -#: ../src/option.c:253 +#: ../src/option.c:259 msgid "Set the entry text" msgstr "Задати текст для поля вводу" -#: ../src/option.c:255 +#: ../src/option.c:261 msgid "Hide the entry text" msgstr "Приховати введений текст (Пароль)" -#: ../src/option.c:257 +#: ../src/option.c:263 msgid "Use completion instead of combo-box" msgstr "Використовувати автозаповнення замість списку значень" -#: ../src/option.c:259 +#: ../src/option.c:265 msgid "Use spin button for text entry" msgstr "Використовувати числове поле замість тексту" -#: ../src/option.c:261 +#: ../src/option.c:267 msgid "Set the left entry icon" msgstr "Задати ліву іконку" -#: ../src/option.c:263 +#: ../src/option.c:269 msgid "Set the left entry icon action" msgstr "Дія для лівої іконки" -#: ../src/option.c:265 +#: ../src/option.c:271 msgid "Set the right entry icon" msgstr "Задати праву іконку" -#: ../src/option.c:267 +#: ../src/option.c:273 msgid "Set the right entry icon action" msgstr "Дія для правої іконки" -#: ../src/option.c:273 +#: ../src/option.c:279 msgid "Display file selection dialog" msgstr "Відобразити діалог для вибору файла" -#: ../src/option.c:275 +#: ../src/option.c:281 msgid "Alias for --file" msgstr "Синонім для --file" -#: ../src/option.c:277 +#: ../src/option.c:283 msgid "Activate directory-only selection" msgstr "Активувати виділення тільки по каталогах" -#: ../src/option.c:279 +#: ../src/option.c:285 msgid "Activate save mode" msgstr "Активувати режим зберігання" -#: ../src/option.c:281 +#: ../src/option.c:287 msgid "Confirm file selection if filename already exists" msgstr "Підтвердити вибір файлу, якщо файл вже існує" -#: ../src/option.c:281 +#: ../src/option.c:287 msgid "[TEXT]" msgstr "[ТЕКСТ]" -#: ../src/option.c:287 +#: ../src/option.c:293 msgid "Display font selection dialog" msgstr "Відобразити діалог для вибору шрифту" -#: ../src/option.c:289 +#: ../src/option.c:295 msgid "Alias for --font" msgstr "Синонім для --font" -#: ../src/option.c:291 +#: ../src/option.c:297 msgid "Set text string for preview" msgstr "Задати текстову стрічку для передогляду" -#: ../src/option.c:293 +#: ../src/option.c:299 msgid "Separate output of font description" msgstr "Розділяти вивід описа шрифта" -#: ../src/option.c:299 +#: ../src/option.c:305 msgid "Display form dialog" msgstr "Відобразити діалог форми вводу" -#: ../src/option.c:301 +#: ../src/option.c:307 msgid "Add field to form (see man page for list of possible types)" msgstr "" "Додати поле до форми (дивись сторінку керівництва для отримання списку типів)" -#: ../src/option.c:301 ../src/option.c:412 +#: ../src/option.c:307 ../src/option.c:428 msgid "LABEL[:TYPE]" msgstr "МІТКА[:ТИП]" -#: ../src/option.c:303 +#: ../src/option.c:309 msgid "Set alignment of filed labels (left, center or right)" msgstr "Задати вирівнювання міток полів (left, center або right)" -#: ../src/option.c:305 +#: ../src/option.c:311 msgid "Set number of columns in form" msgstr "Задати кількість стовпчиків у формі" -#: ../src/option.c:307 +#: ../src/option.c:313 msgid "Make form scrollable" msgstr "Додати прокрутку до форми" -#: ../src/option.c:309 +#: ../src/option.c:315 msgid "Order output fields by rows" msgstr "Упорядкувати виведення по рядках" -#: ../src/option.c:311 +#: ../src/option.c:317 msgid "Set focused field" msgstr "Задати поле що отримує фокус" -#: ../src/option.c:313 +#: ../src/option.c:319 msgid "Cycled reading of stdin data" msgstr "Циклічне читання зі стандартного вводу" -#: ../src/option.c:320 +#: ../src/option.c:326 msgid "Display HTML dialog" msgstr "Відобразити HTML діалог" -#: ../src/option.c:322 +#: ../src/option.c:328 msgid "Open specified location" msgstr "Відкрити вказану адресу" -#: ../src/option.c:324 +#: ../src/option.c:330 msgid "Turn on browser mode" msgstr "Ввімкнути режим браузеру" -#: ../src/option.c:326 +#: ../src/option.c:332 msgid "Print clicked uri to stdout" msgstr "Друкувати натиснуті зсилки" -#: ../src/option.c:328 +#: ../src/option.c:334 msgid "Set mime type of input stream data" msgstr "Задати тип mime для вхідних даних" -#: ../src/option.c:330 +#: ../src/option.c:336 msgid "Set encoding of input stream data" msgstr "Задати кодування для вхідних даних" -#: ../src/option.c:330 +#: ../src/option.c:336 msgid "ENCODING" msgstr "КОДУВАННЯ" -#: ../src/option.c:337 +#: ../src/option.c:343 msgid "Display icons box dialog" msgstr "Відобразити діалог з іконками швидкого доступу" -#: ../src/option.c:339 +#: ../src/option.c:345 msgid "Read data from .desktop files in specified directory" msgstr "Читати дані з файлів .desktop у вказаному каталозі" -#: ../src/option.c:339 +#: ../src/option.c:345 msgid "DIR" msgstr "КАТАЛОГ" -#: ../src/option.c:341 +#: ../src/option.c:347 msgid "Use compact (list) view" msgstr "Використовувати компактний вигляд (список)" -#: ../src/option.c:343 +#: ../src/option.c:349 msgid "Use GenericName field instead of Name for icon label" msgstr "Використовувати поле GenericName замість Name для мітки" -#: ../src/option.c:345 +#: ../src/option.c:351 msgid "Set the width of dialog items" msgstr "Задати ширину елемента діалогу" -#: ../src/option.c:348 +#: ../src/option.c:354 #, no-c-format msgid "" "Use specified pattern for launch command in terminal (default: xterm -e %s)" @@ -785,66 +791,90 @@ "Використовувати вказаний шаблон для запуску в терміналі (без шаблону: xterm -" "e %s)" -#: ../src/option.c:350 +#: ../src/option.c:356 msgid "Sort items by name instead of filename" msgstr "Сортувати по полю Назва замість назви файлу" -#: ../src/option.c:352 +#: ../src/option.c:358 msgid "Sort items in descending order" msgstr "Сортувати в порядку спадання" -#: ../src/option.c:354 +#: ../src/option.c:360 msgid "Activate items by single click" msgstr "Активувати елемент одним натисненням" -#: ../src/option.c:357 +#: ../src/option.c:363 msgid "Watch fot changes in directory" msgstr "Слідкувати за змінами в каталозі" -#: ../src/option.c:364 +#: ../src/option.c:370 msgid "Display list dialog" msgstr "Відобразити діалог зі списком" -#: ../src/option.c:366 +#: ../src/option.c:372 msgid "Set the column header (see man page for list of possible types)" msgstr "" "Задати заголовок стовпчика (дивись сторінку керівництва для отримання списку " "типів)" -#: ../src/option.c:366 +#: ../src/option.c:372 msgid "COLUMN[:TYPE]" msgstr "СТОВПЧИК[:ТИП]" -#: ../src/option.c:368 +#: ../src/option.c:374 msgid "Use checkboxes for first column" msgstr "Використовувати відмітки для першого стовпчика" -#: ../src/option.c:370 +#: ../src/option.c:376 msgid "Use radioboxes for first column" msgstr "Використовувати перемикач для першого стовпчика" -#: ../src/option.c:372 +#: ../src/option.c:378 msgid "Don't show column headers" msgstr "Не показувати заголовки стовпчиків" -#: ../src/option.c:374 +#: ../src/option.c:380 msgid "Disable clickable column headers" msgstr "Заборонити натискати на заголовок" -#: ../src/option.c:376 +#: ../src/option.c:382 msgid "Disable rules hints" msgstr "Заборонити розмальовку стрічок" -#: ../src/option.c:378 +#: ../src/option.c:384 +msgid "Set grid lines (hor[izontal], vert[ical] or both)" +msgstr "Задати роздільні лінії (hor[izontal], vert[ical] або both)" + +#: ../src/option.c:386 msgid "Print all data from list" msgstr "Виводити таблицю повністю" -#: ../src/option.c:380 +#: ../src/option.c:388 +msgid "Set the list of editable columns" +msgstr "Задати список стопчиків для редагування" + +#: ../src/option.c:388 ../src/option.c:392 ../src/option.c:396 +msgid "LIST" +msgstr "СПИСОК" + +#: ../src/option.c:390 +msgid "Set the width of a column for start wrapping text" +msgstr "Задати ширину стовпчика для переносу тексту" + +#: ../src/option.c:392 +msgid "Set the list of wrapped columns" +msgstr "Задати список стовпчиків для переносу" + +#: ../src/option.c:394 msgid "Set ellipsize mode for text columns (none, start, middle or end)" msgstr "" "Задати тип урізання для текстових стовпчиків (none, start, middle або end)" -#: ../src/option.c:382 +#: ../src/option.c:396 +msgid "Set the list of ellipsized columns" +msgstr "Задати список стовпчиків для урізання" + +#: ../src/option.c:398 msgid "" "Print a specific column. By default or if 0 is specified will be printed all " "columns" @@ -852,15 +882,15 @@ "Виводити тільки вказаний стовпчик. Без вказівки або якщо стовпчик дорівнює " "0, будуть виведені усі стовпчики" -#: ../src/option.c:384 +#: ../src/option.c:400 msgid "Hide a specific column" msgstr "Сховати вказаний стовпчик" -#: ../src/option.c:386 +#: ../src/option.c:402 msgid "Set the column expandable by default. 0 sets all columns expandable" msgstr "Задати стовпчик, який розширюється. 0 розширює всі стовпчики" -#: ../src/option.c:388 +#: ../src/option.c:404 msgid "" "Set the quick search column. Default is first column. Set it to 0 for " "disable searching" @@ -868,614 +898,640 @@ "Задати стовпчик швидкого пошуку. Без вказівки використовується перший " "стовпчик. 0 забороняє пошук" -#: ../src/option.c:390 +#: ../src/option.c:406 msgid "Set the tooltip column" msgstr "Задати стовпчик підказок" -#: ../src/option.c:392 +#: ../src/option.c:408 msgid "Set the row separator column" msgstr "Задати стовпчик розділювача стрічок" -#: ../src/option.c:394 +#: ../src/option.c:410 msgid "Set the row separator value" msgstr "Задати значення розділювача стрічок" -#: ../src/option.c:396 +#: ../src/option.c:412 msgid "Set the limit of rows in list" msgstr "Задати кількість рядків у списку" -#: ../src/option.c:398 +#: ../src/option.c:414 msgid "Set double-click action" msgstr "Дія для подвійного натискання мишки" -#: ../src/option.c:400 +#: ../src/option.c:416 msgid "Set select action" msgstr "Дія при виділенні стрічки" -#: ../src/option.c:402 +#: ../src/option.c:418 msgid "Use regex in search" msgstr "Використовувати регулярні вирази в пошуку" -#: ../src/option.c:404 +#: ../src/option.c:420 msgid "Disable selection" msgstr "Заборонити виділення" -#: ../src/option.c:410 +#: ../src/option.c:426 msgid "Display multi progress bars dialog" msgstr "Відобразити діалог з декількома індикаторами виконання" -#: ../src/option.c:412 -msgid "Add the progress bar (norm, rtl or pulse)" -msgstr "Додати індикатор виконання (norm, rtl або pulse)" +#: ../src/option.c:428 +msgid "Add the progress bar (norm, rtl, pulse or perm)" +msgstr "Додати індикатор виконання (norm, rtl, pulse або perm)" -#: ../src/option.c:414 +#: ../src/option.c:430 msgid "Watch for specific bar for auto close" msgstr "Слідкувати за певним індикатором для автозакриття" -#: ../src/option.c:416 +#: ../src/option.c:432 msgid "Set alignment of bar labels (left, center or right)" msgstr "Задати вирівнювання міток індикаторів (left, center або right)" -#: ../src/option.c:419 +#: ../src/option.c:435 #, no-c-format msgid "Dismiss the dialog when 100% of all bars has been reached" msgstr "Закрити діалог по досягненні 100% усіма індикаторами" -#: ../src/option.c:422 ../src/option.c:495 +#: ../src/option.c:438 ../src/option.c:511 msgid "Kill parent process if cancel button is pressed" msgstr "Завершити батьківський процес, якщо натиснута кнопка відміни" -#: ../src/option.c:429 +#: ../src/option.c:445 msgid "Display notebook dialog" msgstr "Відобразити діалог із вкладинками" -#: ../src/option.c:431 +#: ../src/option.c:447 msgid "Add a tab to notebook" msgstr "Додати вкладку" -#: ../src/option.c:431 +#: ../src/option.c:447 msgid "LABEL" msgstr "МІТКА" -#: ../src/option.c:433 +#: ../src/option.c:449 msgid "Set position of a notebook tabs (top, bottom, left or right)" msgstr "Задати позицію ярлика вкладки (top, bottom, left, або right)" -#: ../src/option.c:435 +#: ../src/option.c:451 msgid "Set tab borders" msgstr "Задати межі вкладок" -#: ../src/option.c:441 +#: ../src/option.c:457 msgid "Display notification" msgstr "Відобразити діалог повідомлень" -#: ../src/option.c:443 +#: ../src/option.c:459 msgid "Set initial popup menu" msgstr "Задати початкове меню" -#: ../src/option.c:443 +#: ../src/option.c:459 msgid "STRING" msgstr "РЯДОК" -#: ../src/option.c:445 +#: ../src/option.c:461 msgid "Disable exit on middle click" msgstr "Заборонити вихід середньою кнопкою мишки" -#: ../src/option.c:447 +#: ../src/option.c:463 msgid "Doesn't show icon at startup" msgstr "Не показувати іконку при старті" -#: ../src/option.c:453 +#: ../src/option.c:469 msgid "Display paned dialog" msgstr "Відобразити діалог з панелями" -#: ../src/option.c:455 +#: ../src/option.c:471 msgid "Set orientation (hor[izontal] or vert[ical])" msgstr "Задати оріентицію (hor[izontal] або vert[ical])" -#: ../src/option.c:457 +#: ../src/option.c:473 msgid "Set initial splitter position" msgstr "Задати початкову позицію розділювача" -#: ../src/option.c:463 +#: ../src/option.c:479 msgid "Display picture dialog" msgstr "Відобразити діалог з картинкою" -#: ../src/option.c:465 +#: ../src/option.c:481 msgid "Set initial size (fit or orig)" msgstr "Задати початковий розмір картинки" -#: ../src/option.c:467 +#: ../src/option.c:483 msgid "Set increment for picture scaling (default - 5)" msgstr "Задати інкремент для зміни розміру картинки (за умовчанням - 5)" -#: ../src/option.c:473 +#: ../src/option.c:489 msgid "Display printing dialog" msgstr "Відобразити діалог друку" -#: ../src/option.c:475 +#: ../src/option.c:491 msgid "Set source type (text, image or raw)" msgstr "Задати тип даних (text, image або raw)" -#: ../src/option.c:477 +#: ../src/option.c:493 msgid "Add headers to page" msgstr "Додати колонтитули до сторінки" -#: ../src/option.c:483 +#: ../src/option.c:499 msgid "Display progress indication dialog" msgstr "Відобразити діалог прогресу" -#: ../src/option.c:485 +#: ../src/option.c:501 msgid "Set progress text" msgstr "Показувати текст на індикаторі" -#: ../src/option.c:487 +#: ../src/option.c:503 msgid "Set initial percentage" msgstr "Задати початковий процент" -#: ../src/option.c:487 +#: ../src/option.c:503 msgid "PERCENTAGE" msgstr "ВІДСОТКИ" -#: ../src/option.c:489 +#: ../src/option.c:505 msgid "Pulsate progress bar" msgstr "Пульсовий індикатор виконання" -#: ../src/option.c:492 +#: ../src/option.c:508 #, no-c-format msgid "Dismiss the dialog when 100% has been reached" msgstr "Закрити діалог по досягненні 100%" -#: ../src/option.c:498 +#: ../src/option.c:514 msgid "Right-To-Left progress bar direction" msgstr "Напрямок індикатору Справа-Наліво" -#: ../src/option.c:500 +#: ../src/option.c:516 msgid "Show log window" msgstr "Відобразити вікно журналу" -#: ../src/option.c:502 +#: ../src/option.c:518 msgid "Expand log window" msgstr "Розгорнути вікно журналу" -#: ../src/option.c:504 +#: ../src/option.c:520 msgid "Place log window above progress bar" msgstr "Розмістити вікно жуналу поверх індикатора виконання" -#: ../src/option.c:506 +#: ../src/option.c:522 msgid "Height of log window" msgstr "Висота вікна журналу" -#: ../src/option.c:512 +#: ../src/option.c:528 msgid "Display scale dialog" msgstr "Відобразити діалог масштабу" -#: ../src/option.c:514 +#: ../src/option.c:530 msgid "Set initial value" msgstr "Задати початкове значення" -#: ../src/option.c:514 ../src/option.c:516 ../src/option.c:518 -#: ../src/option.c:520 ../src/option.c:522 +#: ../src/option.c:530 ../src/option.c:532 ../src/option.c:534 +#: ../src/option.c:536 ../src/option.c:538 msgid "VALUE" msgstr "ЗНАЧЕННЯ" -#: ../src/option.c:516 +#: ../src/option.c:532 msgid "Set minimum value" msgstr "Задати мінімальне значення" -#: ../src/option.c:518 +#: ../src/option.c:534 msgid "Set maximum value" msgstr "Задати максимальне значення" -#: ../src/option.c:520 +#: ../src/option.c:536 msgid "Set step size" msgstr "Задати крок" -#: ../src/option.c:522 +#: ../src/option.c:538 msgid "Set paging size" msgstr "Задати крок сторінки" -#: ../src/option.c:524 +#: ../src/option.c:540 msgid "Print partial values" msgstr "Виводити часткові значення" -#: ../src/option.c:526 +#: ../src/option.c:542 msgid "Hide value" msgstr "Сховати значення" -#: ../src/option.c:528 +#: ../src/option.c:544 msgid "Invert direction" msgstr "Зворотній напрямок" -#: ../src/option.c:530 +#: ../src/option.c:546 msgid "Add mark to scale (may be used multiple times)" msgstr "Додати мітку шкали (може використовуватись декілька разів)" -#: ../src/option.c:530 +#: ../src/option.c:546 msgid "NAME:VALUE" msgstr "НАЗВА:ЗНАЧЕННЯ" -#: ../src/option.c:536 +#: ../src/option.c:552 msgid "Display text information dialog" msgstr "Відобразити діалог з текстовою інформацією" -#: ../src/option.c:538 +#: ../src/option.c:554 msgid "Use specified color for text" msgstr "Використовувати вказаний колір тексту" -#: ../src/option.c:540 +#: ../src/option.c:556 msgid "Use specified color for background" msgstr "Використовувати вказаний колір фону" -#: ../src/option.c:542 +#: ../src/option.c:558 msgid "Enable text wrapping" msgstr "Дозволити перенос тексту" -#: ../src/option.c:544 +#: ../src/option.c:560 msgid "Set justification (left, right, center or fill)" msgstr "Встановити вирівнювання (left, right, center або fill)" -#: ../src/option.c:546 +#: ../src/option.c:562 msgid "Set text margins" msgstr "Встановити відступи" -#: ../src/option.c:546 +#: ../src/option.c:562 msgid "SIZE" msgstr "РОЗМІР" -#: ../src/option.c:548 +#: ../src/option.c:564 msgid "Autoscroll to end of text" msgstr "Автопрокрутка в кінець тексту" -#: ../src/option.c:550 +#: ../src/option.c:566 msgid "Show cursor in read-only mode" msgstr "Відображувати курсор у режимі тільки для читання" -#: ../src/option.c:552 +#: ../src/option.c:568 msgid "Make URI clickable" msgstr "Зробити посилання активними" -#: ../src/option.c:554 +#: ../src/option.c:570 msgid "Use specified color for links" msgstr "Використовувати вказаний колір для посилань" -#: ../src/option.c:561 +#: ../src/option.c:577 msgid "Use specified langauge for syntax highlighting" msgstr "Використовувати вказану мову для підсвітки синтаксису" -#: ../src/option.c:561 +#: ../src/option.c:577 msgid "LANG" msgstr "МОВА" -#: ../src/option.c:568 +#: ../src/option.c:584 msgid "Sets a filename filter" msgstr "Задати фільтр файлів по масці" -#: ../src/option.c:568 +#: ../src/option.c:584 msgid "NAME | PATTERN1 PATTERN2 ..." msgstr "НАЗВА | ШАБЛОН1 ШАБЛОН2 ..." -#: ../src/option.c:570 +#: ../src/option.c:586 msgid "Sets a mime-type filter" msgstr "Задати фільтр файлів по типу mime" -#: ../src/option.c:570 +#: ../src/option.c:586 msgid "NAME | MIME1 MIME2 ..." msgstr "НАЗВА | ТИП1 ТИП2 ..." -#: ../src/option.c:572 +#: ../src/option.c:588 msgid "Add filter for images" msgstr "Додати фільтр для зображень" -#: ../src/option.c:572 +#: ../src/option.c:588 msgid "NAME" msgstr "ІМ'Я" -#: ../src/option.c:578 +#: ../src/option.c:594 msgid "Show about dialog" msgstr "Показати діалог 'Про програму'" -#: ../src/option.c:580 +#: ../src/option.c:596 msgid "Print version" msgstr "Вивести версію" -#: ../src/option.c:582 +#: ../src/option.c:598 msgid "Load additional GTK settings from file" msgstr "Завантажити додаткові налаштування GTK з файлу" -#: ../src/option.c:588 +#: ../src/option.c:600 +msgid "Set policy for horizontal scrollbars (auto, always, never)" +msgstr "Задати тип горизонтальної прокрутки (auto, always, never)" + +#: ../src/option.c:602 +msgid "Set policy for vertical scrollbars (auto, always, never)" +msgstr "Задати тип вертикальної прокрутки (auto, always, never)" + +#: ../src/option.c:604 +msgid "Add path for search icons by name" +msgstr "Додати каталог для пошуку іконок" + +#: ../src/option.c:604 +msgid "PATH" +msgstr "КАТАЛОГ" + +#: ../src/option.c:610 msgid "Load extra arguments from file" msgstr "Завантажити додаткові аргументи з файлу" -#: ../src/option.c:629 ../src/option.c:926 +#: ../src/option.c:651 ../src/option.c:950 #, c-format msgid "Unknown align type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:790 +#: ../src/option.c:814 #, c-format msgid "Mark %s doesn't have a value\n" msgstr "Помітці %s не надано значення\n" -#: ../src/option.c:827 +#: ../src/option.c:851 msgid "Images" msgstr "Зображення" -#: ../src/option.c:892 +#: ../src/option.c:916 #, c-format msgid "Unknown color mode: %s\n" msgstr "Невідомий режим кольору: '%s'\n" -#: ../src/option.c:911 +#: ../src/option.c:935 #, c-format msgid "Unknown buttons layout type: %s\n" msgstr "Невідомий тип розміщення кнопок: %s\n" -#: ../src/option.c:943 +#: ../src/option.c:967 #, c-format msgid "Unknown justification type: %s\n" msgstr "Невідомий тип вирівнювання: %s\n" -#: ../src/option.c:960 +#: ../src/option.c:984 #, c-format msgid "Unknown tab position type: %s\n" msgstr "Невідомий тип позиції вкладки: %s\n" -#: ../src/option.c:996 +#: ../src/option.c:1020 #, c-format msgid "Unknown ellipsize type: %s\n" msgstr "Невідомий тип урізання: %s\n" -#: ../src/option.c:1009 +#: ../src/option.c:1033 #, c-format msgid "Unknown orientation: %s\n" msgstr "Невідома орієнтація: %s\n" -#: ../src/option.c:1024 +#: ../src/option.c:1048 #, c-format msgid "Unknown source type: %s\n" msgstr "Невідомий тип даних: %s\n" -#: ../src/option.c:1035 +#: ../src/option.c:1059 msgid "Progress log" msgstr "Вікно журналу" -#: ../src/option.c:1048 +#: ../src/option.c:1072 #, c-format msgid "Unknown size type: %s\n" msgstr "Невідомий тип розміру: %s\n" -#: ../src/option.c:1072 +#: ../src/option.c:1096 #, c-format msgid "Unknown completion type: %s\n" msgstr "Невідомий тип доповнення: %s\n" -#: ../src/option.c:1171 +#: ../src/option.c:1111 +#, c-format +msgid "Unknown grid lines type: %s\n" +msgstr "Невідомий тип розподільних ліній: %s\n" + +#: ../src/option.c:1128 +#, c-format +msgid "Unknown scrollbar policy type: %s\n" +msgstr "Невідомий тип прокрутки: %s\n" + +#: ../src/option.c:1230 #, c-format msgid "Unknown signal: %s\n" msgstr "Невідомий сигнал: %s\n" -#: ../src/option.c:1339 +#: ../src/option.c:1404 msgid "File exist. Overwrite?" msgstr "Файл існує. Перезаписати?" -#: ../src/option.c:1475 +#: ../src/option.c:1545 msgid "- Yet another dialoging program" msgstr "- Програма для відображення діалогів" #. Adds general option entries -#: ../src/option.c:1479 +#: ../src/option.c:1549 msgid "General options" msgstr "Основні параметри" -#: ../src/option.c:1479 +#: ../src/option.c:1549 msgid "Show general options" msgstr "Показувати основні параметри" #. Adds common option entries -#: ../src/option.c:1485 +#: ../src/option.c:1555 msgid "Common options" msgstr "Загальні параметри" -#: ../src/option.c:1485 +#: ../src/option.c:1555 msgid "Show common options" msgstr "Показувати загальні параметри діалогів" #. Adds calendar option entries -#: ../src/option.c:1491 +#: ../src/option.c:1561 msgid "Calendar options" msgstr "Параметри календаря" -#: ../src/option.c:1491 +#: ../src/option.c:1561 msgid "Show calendar options" msgstr "Показувати параметри календаря" #. Adds color option entries -#: ../src/option.c:1497 +#: ../src/option.c:1567 msgid "Color selection options" msgstr "Параметри діалогу вибору кольору" -#: ../src/option.c:1497 +#: ../src/option.c:1567 msgid "Show color selection options" msgstr "Показувати параметри діалогу вибору кольору" #. Adds dnd option entries -#: ../src/option.c:1503 +#: ../src/option.c:1573 msgid "DND options" msgstr "Параметри DND" -#: ../src/option.c:1503 +#: ../src/option.c:1573 msgid "Show drag-n-drop options" msgstr "Показувати параметри dnd" #. Adds entry option entries -#: ../src/option.c:1509 +#: ../src/option.c:1579 msgid "Text entry options" msgstr "Параметри вводу тексту" -#: ../src/option.c:1509 +#: ../src/option.c:1579 msgid "Show text entry options" msgstr "Показувати параметри вводу тексту" #. Adds file selection option entries -#: ../src/option.c:1515 +#: ../src/option.c:1585 msgid "File selection options" msgstr "Параметри діалогу вибору файлів" -#: ../src/option.c:1515 +#: ../src/option.c:1585 msgid "Show file selection options" msgstr "Показувати параметри діалогу вибору файлів" #. Add font selection option entries -#: ../src/option.c:1521 +#: ../src/option.c:1591 msgid "Font selection options" msgstr "Параметри діалогу вибору шрифту" -#: ../src/option.c:1521 +#: ../src/option.c:1591 msgid "Show font selection options" msgstr "Показувати параметри діалоги вибору шрифту" #. Add form option entries -#: ../src/option.c:1527 +#: ../src/option.c:1597 msgid "Form options" msgstr "Параметри діалогу форми" -#: ../src/option.c:1527 +#: ../src/option.c:1597 msgid "Show form options" msgstr "Показувати параметри діалогу форми" #. Add html options entries -#: ../src/option.c:1534 +#: ../src/option.c:1604 msgid "HTML options" msgstr "Параметри HTML діалогу" -#: ../src/option.c:1534 +#: ../src/option.c:1604 msgid "Show HTML options" msgstr "Показувати параметри HTML діалогу" #. Add icons option entries -#: ../src/option.c:1541 +#: ../src/option.c:1611 msgid "Icons box options" msgstr "Параметри діалогу іконок" -#: ../src/option.c:1541 +#: ../src/option.c:1611 msgid "Show icons box options" msgstr "Показувати параметри діалогу іконок швидкого доступу" #. Adds list option entries -#: ../src/option.c:1547 +#: ../src/option.c:1617 msgid "List options" msgstr "Параметри списку" -#: ../src/option.c:1547 +#: ../src/option.c:1617 msgid "Show list options" msgstr "Показувати параметри списку" #. Adds multi progress option entries -#: ../src/option.c:1553 +#: ../src/option.c:1623 msgid "Multi progress bars options" msgstr "Параметри діалогу з декількома індикаторами" -#: ../src/option.c:1554 +#: ../src/option.c:1624 msgid "Show multi progress bars options" msgstr "Показувати параметри діалогу з декількома індикаторами" #. Adds notebook option entries -#: ../src/option.c:1560 +#: ../src/option.c:1630 msgid "Notebook options" msgstr "Параметри діалогу з вкладками" -#: ../src/option.c:1560 +#: ../src/option.c:1630 msgid "Show notebook dialog options" msgstr "Показувати параметри діалогу з вкладками" #. Adds notification option entries -#: ../src/option.c:1566 +#: ../src/option.c:1636 msgid "Notification icon options" msgstr "Параметри іконки повідомлень" -#: ../src/option.c:1567 +#: ../src/option.c:1637 msgid "Show notification icon options" msgstr "Показувати параметри іконки повідомлень" #. Adds paned option entries -#: ../src/option.c:1573 +#: ../src/option.c:1643 msgid "Paned dialog options" msgstr "Параметри діалогу з панелями" -#: ../src/option.c:1573 +#: ../src/option.c:1643 msgid "Show paned dialog options" msgstr "Показувати параметри діалогу з панелями" #. Adds picture option entries -#: ../src/option.c:1579 +#: ../src/option.c:1649 msgid "Picture dialog options" msgstr "Параметри діалогу з картинкою" -#: ../src/option.c:1579 +#: ../src/option.c:1649 msgid "Show picture dialog options" msgstr "Показувати параметри діалогу відображення картинки" #. Adds print option entries -#: ../src/option.c:1585 +#: ../src/option.c:1655 msgid "Print dialog options" msgstr "Параметри діалогу друку" -#: ../src/option.c:1585 +#: ../src/option.c:1655 msgid "Show print dialog options" msgstr "Показувати параметри діалогу друку" #. Adds progress option entries -#: ../src/option.c:1591 +#: ../src/option.c:1661 msgid "Progress options" msgstr "Параметри прогресу" -#: ../src/option.c:1591 +#: ../src/option.c:1661 msgid "Show progress options" msgstr "Показувати параметри прогресу" #. Adds scale option entries -#: ../src/option.c:1597 +#: ../src/option.c:1667 msgid "Scale options" msgstr "Параметри масштабу" -#: ../src/option.c:1597 +#: ../src/option.c:1667 msgid "Show scale options" msgstr "Показувати параметри масштабу" #. Adds text option entries -#: ../src/option.c:1603 +#: ../src/option.c:1673 msgid "Text information options" msgstr "Параметри текстової інформації" -#: ../src/option.c:1603 +#: ../src/option.c:1673 msgid "Show text information options" msgstr "Показувати параметри текстової інформації" #. Adds sourceview option entries -#: ../src/option.c:1610 +#: ../src/option.c:1680 msgid "SourceView options" msgstr "Параметри SourceView" -#: ../src/option.c:1610 +#: ../src/option.c:1680 msgid "Show SourceView options" msgstr "Показувати параметри SourceView" #. Adds file filters option entries -#: ../src/option.c:1617 +#: ../src/option.c:1687 msgid "File filter options" msgstr "Параметри фільтрів для діалогу вибору файлів" -#: ../src/option.c:1617 +#: ../src/option.c:1687 msgid "Show file filter options" msgstr "Показувати параметри фільтрів для діалогу вибору файлів" #. Adds miscellaneous option entries -#: ../src/option.c:1623 +#: ../src/option.c:1693 msgid "Miscellaneous options" msgstr "Додаткові параметри" -#: ../src/option.c:1623 +#: ../src/option.c:1693 msgid "Show miscellaneous options" msgstr "Показувати додаткові параметри" @@ -1564,7 +1620,7 @@ msgid "Name" msgstr "Назва" -#: ../src/text.c:430 +#: ../src/text.c:429 #, c-format msgid "Invalid UTF-8 data encountered reading file %s\n" msgstr "Неправильна послідовність UTF-8 при читанні файлу %s\n" @@ -1613,3 +1669,9 @@ #: ../data/yad-icon-browser.desktop.in.h:2 msgid "Inspect GTK Icon Theme" msgstr "Перегляд теми іконок GTK" + +#~ msgid "Set the width" +#~ msgstr "Задати ширину вікна" + +#~ msgid "Set the height" +#~ msgstr "Задати висоту вікна" diff -Nru yad-0.36.3/src/calendar.c yad-0.37.0/src/calendar.c --- yad-0.36.3/src/calendar.c 2016-02-21 09:15:43.000000000 +0000 +++ yad-0.37.0/src/calendar.c 2016-06-29 08:57:16.000000000 +0000 @@ -82,7 +82,7 @@ double_click_cb (GtkWidget * w, gpointer data) { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } GtkWidget * diff -Nru yad-0.36.3/src/color.c yad-0.37.0/src/color.c --- yad-0.36.3/src/color.c 2016-02-21 10:45:16.000000000 +0000 +++ yad-0.37.0/src/color.c 2016-06-29 10:19:57.000000000 +0000 @@ -155,7 +155,7 @@ /* create color list */ sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); gtk_widget_set_size_request (sw, -1, 75); gtk_container_add (GTK_CONTAINER (exp), sw); diff -Nru yad-0.36.3/src/entry.c yad-0.37.0/src/entry.c --- yad-0.36.3/src/entry.c 2016-04-30 11:01:42.000000000 +0000 +++ yad-0.37.0/src/entry.c 2016-06-29 08:57:16.000000000 +0000 @@ -17,8 +17,6 @@ * Copyright (C) 2008-2016, Victor Ananjevsky */ -#include - #include "yad.h" static GtkWidget *entry; @@ -28,7 +26,7 @@ entry_activate_cb (GtkEntry * entry, gpointer data) { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } static gboolean @@ -41,7 +39,7 @@ #endif { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); return TRUE; } return FALSE; diff -Nru yad-0.36.3/src/file.c yad-0.37.0/src/file.c --- yad-0.36.3/src/file.c 2016-03-02 14:14:44.000000000 +0000 +++ yad-0.37.0/src/file.c 2016-06-29 08:57:16.000000000 +0000 @@ -27,11 +27,11 @@ file_activated_cb (GtkFileChooser * chooser, gpointer data) { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } gboolean -file_confirm_overwrite (GtkDialog * dlg) +file_confirm_overwrite (GtkWidget * dlg) { if (options.file_data.save && options.file_data.confirm_overwrite && !options.common_data.multi) { diff -Nru yad-0.36.3/src/form.c yad-0.37.0/src/form.c --- yad-0.36.3/src/form.c 2016-04-30 11:07:01.000000000 +0000 +++ yad-0.37.0/src/form.c 2016-06-29 10:20:31.000000000 +0000 @@ -400,7 +400,7 @@ form_activate_cb (GtkEntry * entry, gpointer data) { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } static void @@ -718,7 +718,7 @@ { GtkWidget *sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_NONE); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), tbl); w = sw; @@ -1079,7 +1079,7 @@ sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); gtk_box_pack_start (GTK_BOX (b), sw, TRUE, TRUE, 0); e = gtk_text_view_new (); diff -Nru yad-0.36.3/src/html.c yad-0.37.0/src/html.c --- yad-0.36.3/src/html.c 2016-04-30 13:42:01.000000000 +0000 +++ yad-0.37.0/src/html.c 2016-08-09 08:26:34.000000000 +0000 @@ -20,11 +20,11 @@ #include #include +#include "yad.h" + #include #include -#include "yad.h" - static WebKitWebView *view; static GString *inbuf; @@ -267,7 +267,7 @@ const gchar *enc; sw = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); view = WEBKIT_WEB_VIEW (webkit_web_view_new ()); gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (view)); diff -Nru yad-0.36.3/src/icons.c yad-0.37.0/src/icons.c --- yad-0.36.3/src/icons.c 2016-05-11 16:44:46.000000000 +0000 +++ yad-0.37.0/src/icons.c 2016-06-29 10:20:21.000000000 +0000 @@ -285,7 +285,7 @@ } else ent->comment = g_strdup (ent->name); - + /* parse command or url */ if (type == TYPE_APP) { @@ -399,7 +399,7 @@ w = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), options.hscroll_policy, options.vscroll_policy); store = gtk_list_store_new (NUM_COLS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_BOOLEAN); diff -Nru yad-0.36.3/src/list.c yad-0.37.0/src/list.c --- yad-0.36.3/src/list.c 2016-04-27 16:03:24.000000000 +0000 +++ yad-0.37.0/src/list.c 2016-06-29 10:20:42.000000000 +0000 @@ -21,7 +21,6 @@ #include #include -#include #include "yad.h" @@ -29,6 +28,8 @@ static gint fore_col, back_col, font_col; +static gulong select_hndl = 0; + static gboolean list_activate_cb (GtkWidget *widget, GdkEventKey *event, gpointer data) { @@ -44,7 +45,7 @@ if (event->state & GDK_CONTROL_MASK) { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } else return FALSE; @@ -52,7 +53,7 @@ else { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } return TRUE; @@ -293,7 +294,7 @@ case YAD_COLUMN_SIZE: case YAD_COLUMN_FLOAT: renderer = gtk_cell_renderer_text_new (); - if (options.common_data.editable) + if (col->editable) { g_object_set (G_OBJECT (renderer), "editable", TRUE, NULL); g_signal_connect (renderer, "edited", G_CALLBACK (cell_edited_cb), NULL); @@ -322,7 +323,7 @@ break; default: renderer = gtk_cell_renderer_text_new (); - if (options.common_data.editable) + if (col->editable) { g_object_set (G_OBJECT (renderer), "editable", TRUE, NULL); g_signal_connect (renderer, "edited", G_CALLBACK (cell_edited_cb), NULL); @@ -331,7 +332,12 @@ column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "text", i, NULL); else column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "markup", i, NULL); - g_object_set (G_OBJECT (renderer), "ellipsize", options.list_data.ellipsize, NULL); + g_object_set (G_OBJECT (renderer), "ellipsize", col->ellipsize, NULL); + if (col->wrap) + { + g_object_set (G_OBJECT (renderer), "wrap-width", options.list_data.wrap_width, NULL); + g_object_set (G_OBJECT (renderer), "wrap-mode", PANGO_WRAP_WORD_CHAR, NULL); + } if (fore_col != -1) gtk_tree_view_column_add_attribute (column, renderer, "foreground", fore_col); if (back_col != -1) @@ -408,11 +414,17 @@ } strip_new_line (string->str); + + /* clear list if ^L received */ if (string->str[0] == '\014') { - /* clear list if ^L received */ + GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view)); + if (select_hndl) + g_signal_handler_block (G_OBJECT (sel), select_hndl); gtk_list_store_clear (GTK_LIST_STORE (model)); row_count = column_count = 0; + if (select_hndl) + g_signal_handler_unblock (G_OBJECT (sel), select_hndl); continue; } @@ -741,7 +753,7 @@ } } else if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } } @@ -955,6 +967,112 @@ return (strcmp (name, options.list_data.sep_value) == 0); } +static inline void +parse_cols_props () +{ + /* set editable property for columns */ + if (options.common_data.editable) + { + if (options.list_data.editable_cols) + { + gchar **cnum; + guint i = 0; + + cnum = g_strsplit (options.list_data.editable_cols, ",", -1); + + while (cnum[i]) + { + gint num = atoi (cnum[i]); + if (num) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, num - 1); + if (col) + col->editable = TRUE; + } + i++; + } + g_strfreev (cnum); + } + else + { + GSList *c; + for (c = options.list_data.columns; c; c = c->next) + { + YadColumn *col = (YadColumn *) c->data; + col->editable = TRUE; + } + } + } + + /* set wrap property for columns */ + if (options.list_data.wrap_width > 0) + { + if (options.list_data.wrap_cols) + { + gchar **cnum; + guint i = 0; + + cnum = g_strsplit (options.list_data.wrap_cols, ",", -1); + + while (cnum[i]) + { + gint num = atoi (cnum[i]); + if (num) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, num - 1); + if (col) + col->wrap = TRUE; + } + i++; + } + g_strfreev (cnum); + } + else + { + GSList *c; + for (c = options.list_data.columns; c; c = c->next) + { + YadColumn *col = (YadColumn *) c->data; + col->wrap = TRUE; + } + } + } + + /* set ellipsize property for columns */ + if (options.list_data.ellipsize) + { + if (options.list_data.ellipsize_cols) + { + gchar **cnum; + guint i = 0; + + cnum = g_strsplit (options.list_data.ellipsize_cols, ",", -1); + + while (cnum[i]) + { + gint num = atoi (cnum[i]); + if (num) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, num - 1); + if (col) + col->ellipsize = TRUE; + } + i++; + } + g_strfreev (cnum); + } + else + { + GSList *c; + for (c = options.list_data.columns; c; c = c->next) + { + YadColumn *col = (YadColumn *) c->data; + col->ellipsize = TRUE; + } + } + } +} + GtkWidget * list_create_widget (GtkWidget * dlg) { @@ -972,9 +1090,12 @@ return NULL; } + parse_cols_props (); + + /* create widget */ w = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), options.hscroll_policy, options.vscroll_policy); model = create_model (n_columns); @@ -982,6 +1103,7 @@ gtk_widget_set_name (list_view, "yad-list-widget"); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (list_view), !options.list_data.no_headers); gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (list_view), options.list_data.rules_hint); + gtk_tree_view_set_grid_lines (GTK_TREE_VIEW (list_view), options.list_data.grid_lines); gtk_tree_view_set_reorderable (GTK_TREE_VIEW (list_view), options.common_data.editable); g_object_unref (model); @@ -1025,7 +1147,7 @@ gtk_tree_selection_set_mode (sel, GTK_SELECTION_MULTIPLE); if (!options.common_data.multi && options.list_data.select_action) - g_signal_connect (G_OBJECT (sel), "changed", G_CALLBACK (select_cb), NULL); + select_hndl = g_signal_connect (G_OBJECT (sel), "changed", G_CALLBACK (select_cb), NULL); g_signal_connect (G_OBJECT (list_view), "row-activated", G_CALLBACK (double_click_cb), dlg); g_signal_connect (G_OBJECT (list_view), "key-press-event", G_CALLBACK (list_activate_cb), dlg); diff -Nru yad-0.36.3/src/main.c yad-0.37.0/src/main.c --- yad-0.36.3/src/main.c 2016-04-30 18:05:34.000000000 +0000 +++ yad-0.37.0/src/main.c 2016-08-09 08:26:34.000000000 +0000 @@ -36,19 +36,19 @@ YadOptions options; GtkWidget *dialog = NULL; +static gint ret = YAD_RESPONSE_ESC; + YadNTabs *tabs; gint t_sem; -void print_result (void); - #ifndef G_OS_WIN32 static void sa_usr1 (gint sig) { if (options.plug != -1) - print_result (); + yad_print_result (); else - gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } static void @@ -57,10 +57,26 @@ if (options.plug != -1) gtk_main_quit (); else - gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_CANCEL); + yad_exit (YAD_RESPONSE_CANCEL); } #endif +static gboolean +keys_cb (GtkWidget *w, GdkEventKey *ev, gpointer d) +{ +#if GTK_CHECK_VERSION(2,24,0) + if (ev->keyval == GDK_KEY_Escape) +#else + if (ev->keyval == GDK_Escape) +#endif + { + if (options.plug == -1 || !options.data.no_escape) + yad_exit (YAD_RESPONSE_ESC); + return TRUE; + } + return FALSE; +} + static void btn_cb (GtkWidget *b, gchar *cmd) { @@ -69,7 +85,7 @@ else { gint resp = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (b), "resp")); - gtk_dialog_response (GTK_DIALOG (dialog), resp); + yad_exit (resp); } } @@ -81,7 +97,7 @@ if (options.data.timeout < count) { - gtk_dialog_response (GTK_DIALOG (dialog), YAD_RESPONSE_TIMEOUT); + yad_exit (YAD_RESPONSE_TIMEOUT); return FALSE; } @@ -102,6 +118,14 @@ return TRUE; } +static gboolean +unfocus_cb (GtkWidget *w, GdkEventFocus *ev, gpointer d) +{ + if (options.data.close_on_unfocus) + gtk_main_quit (); + return FALSE; +} + #if !GTK_CHECK_VERSION(3,0,0) static void text_size_allocate_cb (GtkWidget * w, GtkAllocation * al, gpointer data) @@ -113,20 +137,17 @@ } #endif -static void -dlg_response_cb (GtkDialog *dlg, gint id, gint *data) +void +yad_exit (gint id) { if (options.mode == YAD_MODE_FILE) { /* show custom confirmation dialog */ - if (!file_confirm_overwrite (dlg)) - { - g_signal_stop_emission_by_name (dlg, "response"); - return; - } + if (!file_confirm_overwrite (dialog)) + return; } - *data = id; + ret = id; gtk_main_quit (); } @@ -270,16 +291,17 @@ if (options.data.image_on_top) { #if !GTK_CHECK_VERSION(3,0,0) - layout = gtk_vbox_new (FALSE, 0); - box = gtk_hbox_new (FALSE, 0); + layout = gtk_vbox_new (FALSE, 5); + box = gtk_hbox_new (FALSE, 5); #else - layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); + layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); #endif + if (image) gtk_box_pack_start (GTK_BOX (box), image, FALSE, FALSE, 2); if (text) - gtk_box_pack_start (GTK_BOX (box), text, TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (box), text, TRUE, TRUE, 2); gtk_box_pack_start (GTK_BOX (layout), box, FALSE, FALSE, 0); if (imw) @@ -288,19 +310,20 @@ else { #if !GTK_CHECK_VERSION(3,0,0) - layout = gtk_hbox_new (FALSE, 0); - box = gtk_vbox_new (FALSE, 0); + layout = gtk_hbox_new (FALSE, 5); + box = gtk_vbox_new (FALSE, 5); #else - layout = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + layout = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); #endif + if (text) gtk_box_pack_start (GTK_BOX (box), text, FALSE, FALSE, 0); if (imw) gtk_box_pack_start (GTK_BOX (box), imw, TRUE, TRUE, 0); if (image) - gtk_box_pack_start (GTK_BOX (layout), image, FALSE, FALSE, 2); + gtk_box_pack_start (GTK_BOX (layout), image, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (layout), box, TRUE, TRUE, 0); } @@ -310,17 +333,19 @@ static GtkWidget * create_dialog (void) { - GtkWidget *dlg, *vbox, *bbox, *layout; + GtkWidget *dlg, *vbox, *layout; /* create dialog window */ - dlg = gtk_dialog_new (); + dlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); if (options.data.splash) gtk_window_set_type_hint (GTK_WINDOW (dlg), GDK_WINDOW_TYPE_HINT_SPLASHSCREEN); - else - gtk_window_set_type_hint (GTK_WINDOW (dlg), GDK_WINDOW_TYPE_HINT_NORMAL); gtk_window_set_title (GTK_WINDOW (dlg), options.data.dialog_title); gtk_widget_set_name (dlg, "yad-dialog-window"); + g_signal_connect (G_OBJECT (dlg), "delete-event", G_CALLBACK (gtk_main_quit), NULL); + g_signal_connect (G_OBJECT (dlg), "key-press-event", G_CALLBACK (keys_cb), NULL); + g_signal_connect (G_OBJECT (dlg), "focus-out-event", G_CALLBACK (unfocus_cb), NULL); + #ifndef G_OS_WIN32 /* FIXME: is that very useful !? */ if (options.parent) @@ -331,9 +356,6 @@ } #endif - if (options.data.no_escape) - g_signal_connect (G_OBJECT (dlg), "close", G_CALLBACK (g_signal_stop_emission_by_name), "close"); - /* set window icon */ if (options.data.window_icon) { @@ -344,8 +366,8 @@ } /* set window borders */ - if (options.data.borders == -1) - options.data.borders = (gint) gtk_container_get_border_width (GTK_CONTAINER (dlg)); + if (options.data.borders < 0) + options.data.borders = 2; gtk_container_set_border_width (GTK_CONTAINER (dlg), (guint) options.data.borders); /* set window size and position */ @@ -367,7 +389,14 @@ gtk_window_set_skip_pager_hint (GTK_WINDOW (dlg), options.data.skip_taskbar); gtk_window_set_accept_focus (GTK_WINDOW (dlg), options.data.focus); - vbox = gtk_dialog_get_content_area (GTK_DIALOG (dlg)); + /* create box */ +#if !GTK_CHECK_VERSION(3,0,0) + vbox = gtk_vbox_new (FALSE, 2); +#else + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); +#endif + gtk_container_add (GTK_CONTAINER (dlg), vbox); + layout = create_layout (dlg); /* create timeout indicator widget */ @@ -465,24 +494,31 @@ else gtk_box_pack_start (GTK_BOX (vbox), layout, TRUE, TRUE, 0); - /* get buttons container */ - bbox = gtk_dialog_get_action_area (GTK_DIALOG (dlg)); - #ifdef HAVE_HTML /* enable no-buttons mode if --browser is specified and sets no custom buttons */ if (options.mode == YAD_MODE_HTML && options.html_data.browser && !options.data.buttons) options.data.no_buttons = TRUE; #endif - /* add buttons */ if (!options.data.no_buttons) { + GtkWidget *btn; + /* create buttons container */ +#if !GTK_CHECK_VERSION(3,0,0) + GtkWidget *bbox = gtk_hbutton_box_new (); +#else + GtkWidget *bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); +#endif + gtk_container_set_border_width (GTK_CONTAINER (bbox), 2); + gtk_box_set_spacing (GTK_BOX (bbox), 5); + gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), options.data.buttons_layout); + + /* add buttons */ if (options.data.buttons) { GSList *tmp = options.data.buttons; do { - GtkWidget *btn; YadButton *b = (YadButton *) tmp->data; btn = gtk_button_new (); @@ -500,34 +536,89 @@ { if (options.mode == YAD_MODE_PROGRESS || options.mode == YAD_MODE_MULTI_PROGRESS || options.mode == YAD_MODE_DND || options.mode == YAD_MODE_PICTURE) - gtk_dialog_add_buttons (GTK_DIALOG (dlg), GTK_STOCK_CLOSE, YAD_RESPONSE_OK, NULL); + { + /* add close button */ + btn = gtk_button_new_from_stock (GTK_STOCK_CLOSE); + g_object_set_data (G_OBJECT (btn), "resp", GINT_TO_POINTER (YAD_RESPONSE_OK)); + g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), NULL); + gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); + + } else { if (gtk_alternative_dialog_button_order (NULL)) - gtk_dialog_add_buttons (GTK_DIALOG (dlg), - GTK_STOCK_OK, YAD_RESPONSE_OK, GTK_STOCK_CANCEL, YAD_RESPONSE_CANCEL, NULL); + { + /* add ok button */ + btn = gtk_button_new_from_stock (GTK_STOCK_OK); + g_object_set_data (G_OBJECT (btn), "resp", GINT_TO_POINTER (YAD_RESPONSE_OK)); + g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), NULL); + gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); + + /* add cancel button */ + btn = gtk_button_new_from_stock (GTK_STOCK_CANCEL); + g_object_set_data (G_OBJECT (btn), "resp", GINT_TO_POINTER (YAD_RESPONSE_CANCEL)); + g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), NULL); + gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); + } else - gtk_dialog_add_buttons (GTK_DIALOG (dlg), - GTK_STOCK_CANCEL, YAD_RESPONSE_CANCEL, GTK_STOCK_OK, YAD_RESPONSE_OK, NULL); + { + /* add cancel button */ + btn = gtk_button_new_from_stock (GTK_STOCK_CANCEL); + g_object_set_data (G_OBJECT (btn), "resp", GINT_TO_POINTER (YAD_RESPONSE_CANCEL)); + g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), NULL); + gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); + + /*add ok button */ + btn = gtk_button_new_from_stock (GTK_STOCK_OK); + g_object_set_data (G_OBJECT (btn), "resp", GINT_TO_POINTER (YAD_RESPONSE_OK)); + g_signal_connect (G_OBJECT (btn), "clicked", G_CALLBACK (btn_cb), NULL); + gtk_box_pack_start (GTK_BOX (bbox), btn, FALSE, FALSE, 0); + } } - gtk_dialog_set_default_response (GTK_DIALOG (dlg), YAD_RESPONSE_OK); } - gtk_button_box_set_layout (GTK_BUTTON_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dlg))), - options.data.buttons_layout); + /* add buttons box to main window */ + gtk_box_pack_start (GTK_BOX (vbox), bbox, FALSE, FALSE, 0); } /* show widgets */ gtk_widget_show_all (vbox); - /* parse geometry, if given. must be after showing widget */ - if (options.data.geometry && !options.data.maximized && !options.data.fullscreen) + /* parse geometry or move window, if given. must be after showing widget */ + if (!options.data.maximized && !options.data.fullscreen) { - gtk_widget_realize (dlg); - gtk_window_parse_geometry (GTK_WINDOW (dlg), options.data.geometry); + if (options.data.geometry) + { + gtk_widget_realize (dlg); + gtk_window_parse_geometry (GTK_WINDOW (dlg), options.data.geometry); + gtk_widget_show (dlg); + } + else + { + gtk_widget_show (dlg); + if (options.data.use_posx || options.data.use_posy) + { + gint ww, wh; + gtk_window_get_size (GTK_WINDOW (dlg), &ww, &wh); + /* place window to specified coordinates */ + if (!options.data.use_posx) + gtk_window_get_position (GTK_WINDOW (dlg), &options.data.posx, NULL); + if (!options.data.use_posy) + gtk_window_get_position (GTK_WINDOW (dlg), NULL, &options.data.posy); + if (options.data.posx < 0) + { + gint sw = gdk_screen_get_width (gdk_screen_get_default ()); + options.data.posx = sw - ww + options.data.posx; + } + if (options.data.posy < 0) + { + gint sh = gdk_screen_get_height (gdk_screen_get_default ()); + options.data.posy = sh - wh + options.data.posy; + } + gtk_window_move (GTK_WINDOW (dlg), options.data.posx, options.data.posy); + } + } } - gtk_widget_show (dlg); - - if (options.data.no_buttons) - gtk_widget_hide (bbox); + else + gtk_widget_show (dlg); /* set maximized or fixed size after showing widget */ if (options.data.maximized) @@ -586,7 +677,7 @@ } void -print_result (void) +yad_print_result (void) { switch (options.mode) { @@ -634,7 +725,6 @@ GError *err = NULL; gint w, h; gchar *str; - gint ret = YAD_RESPONSE_ESC; setlocale (LC_ALL, ""); @@ -787,8 +877,6 @@ default: dialog = create_dialog (); - g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (dlg_response_cb), &ret); - gtk_widget_show_all (dialog); #ifndef G_OS_WIN32 /* add YAD_XID variable */ @@ -814,15 +902,15 @@ if (ret != YAD_RESPONSE_TIMEOUT && ret != YAD_RESPONSE_ESC) { if (options.data.always_print) - print_result (); + yad_print_result (); else { /* standard OK button pressed */ if (ret == YAD_RESPONSE_OK && options.data.buttons == NULL) - print_result (); + yad_print_result (); /* custom even button pressed */ else if (!(ret & 1)) - print_result (); + yad_print_result (); } } #ifndef G_OS_WIN32 diff -Nru yad-0.36.3/src/multi-progress.c yad-0.37.0/src/multi-progress.c --- yad-0.36.3/src/multi-progress.c 2016-02-21 09:12:53.000000000 +0000 +++ yad-0.37.0/src/multi-progress.c 2016-08-09 08:26:34.000000000 +0000 @@ -30,6 +30,13 @@ static guint nbars = 0; static gboolean +pulsate_progress_bar (GtkProgressBar *bar) +{ + gtk_progress_bar_pulse (bar); + return TRUE; +} + +static gboolean handle_stdin (GIOChannel * channel, GIOCondition condition, gpointer data) { float percentage = 0.0; @@ -83,13 +90,11 @@ if (value[1] && value[1][0] == '#') { - gchar *match, *p; + gchar *match; /* We have a comment, so let's try to change the label */ match = g_strcompress (value[1] + 1); - p = g_strrstr (match, "\n"); - if (p) - *p = '\0'; + strip_new_line (match); gtk_progress_bar_set_text (pb, match); g_free (match); } @@ -97,6 +102,29 @@ { if (value[1] && b->type == YAD_PROGRESS_PULSE) gtk_progress_bar_pulse (pb); + else if (value[1] && b->type == YAD_PROGRESS_PERM) + { + guint id; + + if (strncmp (value[1], "start", 5) == 0) + { + id = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (pb), "id")); + if (id == 0) + { + id = g_timeout_add (100, (GSourceFunc) pulsate_progress_bar, pb); + g_object_set_data (G_OBJECT (pb), "id", GINT_TO_POINTER (id)); + } + } + else if (strncmp (value[1], "stop", 4) == 0) + { + id = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (pb), "id")); + if (id > 0) + { + g_source_remove (id); + g_object_set_data (G_OBJECT (pb), "id", GINT_TO_POINTER (0)); + } + } + } else { if (!value[1] || !g_ascii_isdigit (*value[1])) @@ -145,7 +173,7 @@ } if (need_close && close) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } } } diff -Nru yad-0.36.3/src/option.c yad-0.37.0/src/option.c --- yad-0.36.3/src/option.c 2016-04-23 04:59:06.000000000 +0000 +++ yad-0.37.0/src/option.c 2016-08-09 08:26:34.000000000 +0000 @@ -43,11 +43,15 @@ static gboolean set_print_type (const gchar *, const gchar *, gpointer, GError **); static gboolean set_progress_log (const gchar *, const gchar *, gpointer, GError **); static gboolean set_size (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_posx (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_posy (const gchar *, const gchar *, gpointer, GError **); #ifndef G_OS_WIN32 static gboolean parse_signal (const gchar *, const gchar *, gpointer, GError **); #endif static gboolean add_image_path (const gchar *, const gchar *, gpointer, GError **); static gboolean set_complete_type (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_grid_lines (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_scroll_policy (const gchar *, const gchar *, gpointer, GError **); static gboolean about_mode = FALSE; static gboolean version_mode = FALSE; @@ -79,9 +83,13 @@ { "window-icon", 0, 0, G_OPTION_ARG_FILENAME, &options.data.window_icon, N_("Set the window icon"), N_("ICONPATH") }, { "width", 0, 0, G_OPTION_ARG_INT, &options.data.width, - N_("Set the width"), N_("WIDTH") }, + N_("Set the window width"), N_("WIDTH") }, { "height", 0, 0, G_OPTION_ARG_INT, &options.data.height, - N_("Set the height"), N_("HEIGHT") }, + N_("Set the window height"), N_("HEIGHT") }, + { "posx", 0, 0, G_OPTION_ARG_CALLBACK, set_posx, + N_("Set the X position of a window"), N_("NUMBER") }, + { "posy", 0, 0, G_OPTION_ARG_CALLBACK, set_posy, + N_("Set the Y position of a window"), N_("NUMBER") }, { "geometry", 0, 0, G_OPTION_ARG_STRING, &options.data.geometry, N_("Set the window geometry"), N_("WxH+X+Y") }, { "timeout", 0, 0, G_OPTION_ARG_INT, &options.data.timeout, @@ -137,6 +145,8 @@ N_("Set window fulscreen"), NULL }, { "no-focus", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.data.focus, N_("Don't focus dialog window"), NULL }, + { "close-on-unfocus", 0, 0, G_OPTION_ARG_NONE, &options.data.close_on_unfocus, + N_("Close window when it sets unfocused"), NULL }, { "splash", 0, 0, G_OPTION_ARG_NONE, &options.data.splash, N_("Open window as a splashscreen"), NULL }, { "plug", 0, 0, G_OPTION_ARG_INT, &options.plug, @@ -151,8 +161,6 @@ { "print-xid", 0, 0, G_OPTION_ARG_NONE, &options.print_xid, N_("Print X Window Id to the stderr"), NULL }, #endif - { "image-path", 0, 0, G_OPTION_ARG_CALLBACK, add_image_path, - N_("Add path for search icons by name"), N_("PATH") }, { NULL } }; @@ -374,10 +382,20 @@ N_("Disable clickable column headers"), NULL }, { "no-rules-hint", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &options.list_data.rules_hint, N_("Disable rules hints"), NULL }, + { "grid-lines", 0, 0, G_OPTION_ARG_CALLBACK, set_grid_lines, + N_("Set grid lines (hor[izontal], vert[ical] or both)"), N_("TYPE") }, { "print-all", 0, 0, G_OPTION_ARG_NONE, &options.list_data.print_all, N_("Print all data from list"), NULL }, + { "editable-cols", 0, 0, G_OPTION_ARG_STRING, &options.list_data.editable_cols, + N_("Set the list of editable columns"), N_("LIST") }, + { "wrap-width", 0, 0, G_OPTION_ARG_INT, &options.list_data.wrap_width, + N_("Set the width of a column for start wrapping text"), N_("NUMBER") }, + { "wrap-cols", 0, 0, G_OPTION_ARG_STRING, &options.list_data.wrap_cols, + N_("Set the list of wrapped columns"), N_("LIST") }, { "ellipsize", 0, 0, G_OPTION_ARG_CALLBACK, set_ellipsize, N_("Set ellipsize mode for text columns (none, start, middle or end)"), N_("TYPE") }, + { "ellipsize-cols", 0, 0, G_OPTION_ARG_STRING, &options.list_data.ellipsize_cols, + N_("Set the list of ellipsized columns"), N_("LIST") }, { "print-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.print_column, N_("Print a specific column. By default or if 0 is specified will be printed all columns"), N_("NUMBER") }, { "hide-column", 0, 0, G_OPTION_ARG_INT, &options.list_data.hide_column, @@ -409,7 +427,7 @@ { "multi-progress", 0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &multi_progress_mode, N_("Display multi progress bars dialog"), NULL }, { "bar", 0, 0, G_OPTION_ARG_CALLBACK, add_bar, - N_("Add the progress bar (norm, rtl or pulse)"), N_("LABEL[:TYPE]") }, + N_("Add the progress bar (norm, rtl, pulse or perm)"), N_("LABEL[:TYPE]") }, { "watch-bar", 0, 0, G_OPTION_ARG_INT, &options.multi_progress_data.watch_bar, N_("Watch for specific bar for auto close"), N_("NUMBER") }, { "align", 0, G_OPTION_FLAG_NOALIAS, G_OPTION_ARG_CALLBACK, set_align, @@ -580,6 +598,12 @@ N_("Print version"), NULL }, { "gtkrc", 0, 0, G_OPTION_ARG_FILENAME, &options.gtkrc_file, N_("Load additional GTK settings from file"), N_("FILENAME") }, + { "hscroll-policy", 0, 0, G_OPTION_ARG_CALLBACK, set_scroll_policy, + N_("Set policy for horizontal scrollbars (auto, always, never)"), N_("TYPE") }, + { "vscroll-policy", 0, 0, G_OPTION_ARG_CALLBACK, set_scroll_policy, + N_("Set policy for vertical scrollbars (auto, always, never)"), N_("TYPE") }, + { "image-path", 0, 0, G_OPTION_ARG_CALLBACK, add_image_path, + N_("Add path for search icons by name"), N_("PATH") }, { NULL } }; @@ -754,6 +778,8 @@ bar->type = YAD_PROGRESS_RTL; else if (strcasecmp (bstr[1], "PULSE") == 0) bar->type = YAD_PROGRESS_PULSE; + else if (strcasecmp (bstr[1], "PERM") == 0) + bar->type = YAD_PROGRESS_PERM; else bar->type = YAD_PROGRESS_NORMAL; } @@ -1051,6 +1077,20 @@ } static gboolean +set_posx (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + options.data.use_posx = TRUE; + options.data.posx = atol (value); +} + +static gboolean +set_posy (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + options.data.use_posy = TRUE; + options.data.posy = atol (value); +} + +static gboolean add_image_path (const gchar * option_name, const gchar * value, gpointer data, GError ** err) { if (value) @@ -1074,6 +1114,41 @@ return TRUE; } +static gboolean +set_grid_lines (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + if (strncasecmp (value, "hor", 3) == 0) + options.list_data.grid_lines = GTK_TREE_VIEW_GRID_LINES_HORIZONTAL; + else if (strncasecmp (value, "vert", 4) == 0) + options.list_data.grid_lines = GTK_TREE_VIEW_GRID_LINES_VERTICAL; + else if (strncasecmp (value, "both", 4) == 0) + options.list_data.grid_lines = GTK_TREE_VIEW_GRID_LINES_BOTH; + else + g_printerr (_("Unknown grid lines type: %s\n"), value); + + return TRUE; +} + +static gboolean +set_scroll_policy (const gchar * option_name, const gchar * value, gpointer data, GError ** err) +{ + GtkPolicyType pt = GTK_POLICY_AUTOMATIC; + + if (strcmp (value, "auto") == 0) + pt = GTK_POLICY_AUTOMATIC; + else if (strcmp (value, "always") == 0) + pt = GTK_POLICY_ALWAYS; + else if (strcmp (value, "never") == 0) + pt = GTK_POLICY_NEVER; + else + g_printerr (_("Unknown scrollbar policy type: %s\n"), value); + + if (option_name[0] == 'h') + options.hscroll_policy = pt; + else + options.vscroll_policy = pt; +} + #ifndef G_OS_WIN32 static gboolean parse_signal (const gchar * option_name, const gchar * value, gpointer data, GError ** err) @@ -1237,6 +1312,9 @@ options.print_xid = FALSE; #endif + options.hscroll_policy = GTK_POLICY_AUTOMATIC; + options.vscroll_policy = GTK_POLICY_AUTOMATIC; + /* plug settings */ options.plug = -1; options.tabnum = 0; @@ -1246,6 +1324,10 @@ options.data.window_icon = "yad"; options.data.width = settings.width; options.data.height = settings.height; + options.data.use_posx = FALSE; + options.data.posx = 0; + options.data.use_posy = FALSE; + options.data.posy = 0; options.data.geometry = NULL; options.data.dialog_text = NULL; options.data.text_align = GTK_JUSTIFY_LEFT; @@ -1258,7 +1340,7 @@ options.data.buttons = NULL; options.data.no_buttons = FALSE; options.data.buttons_layout = GTK_BUTTONBOX_END; - options.data.borders = -1; + options.data.borders = 2; options.data.no_markup = FALSE; options.data.no_escape = FALSE; options.data.always_print = FALSE; @@ -1276,6 +1358,7 @@ options.data.fullscreen = FALSE; options.data.splash = FALSE; options.data.focus = TRUE; + options.data.close_on_unfocus = FALSE; /* Initialize common data */ options.common_data.uri = NULL; @@ -1382,6 +1465,7 @@ options.list_data.radiobox = FALSE; options.list_data.print_all = FALSE; options.list_data.rules_hint = TRUE; + options.list_data.grid_lines = GTK_TREE_VIEW_GRID_LINES_NONE; options.list_data.print_column = 0; options.list_data.hide_column = 0; options.list_data.expand_column = -1; // must be -1 for disable expand by default (keep the original behavior) @@ -1390,7 +1474,11 @@ options.list_data.sep_column = 0; options.list_data.sep_value = NULL; options.list_data.limit = 0; + options.list_data.editable_cols = NULL; + options.list_data.wrap_width = 0; + options.list_data.wrap_cols = NULL; options.list_data.ellipsize = PANGO_ELLIPSIZE_NONE; + options.list_data.ellipsize_cols = NULL; options.list_data.dclick_action = NULL; options.list_data.select_action = NULL; options.list_data.regex_search = FALSE; diff -Nru yad-0.36.3/src/picture.c yad-0.37.0/src/picture.c --- yad-0.36.3/src/picture.c 2016-02-21 09:17:30.000000000 +0000 +++ yad-0.37.0/src/picture.c 2016-06-29 10:21:26.000000000 +0000 @@ -260,7 +260,7 @@ sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_NONE); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); viewport = gtk_viewport_new (gtk_scrolled_window_get_hadjustment (GTK_SCROLLED_WINDOW (sw)), gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (sw))); diff -Nru yad-0.36.3/src/progress.c yad-0.37.0/src/progress.c --- yad-0.36.3/src/progress.c 2016-02-21 09:17:45.000000000 +0000 +++ yad-0.37.0/src/progress.c 2016-06-29 10:21:38.000000000 +0000 @@ -119,7 +119,7 @@ { gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), 1.0); if (options.progress_data.autoclose && options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); } else gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progress_bar), percentage / 100.0); @@ -142,7 +142,7 @@ } if (options.progress_data.autoclose && options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); g_io_channel_shutdown (channel, TRUE, NULL); return FALSE; @@ -193,7 +193,7 @@ sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), options.hscroll_policy, options.vscroll_policy); gtk_container_add (GTK_CONTAINER (ex), sw); progress_log = gtk_text_view_new (); diff -Nru yad-0.36.3/src/text.c yad-0.37.0/src/text.c --- yad-0.36.3/src/text.c 2016-05-11 16:44:46.000000000 +0000 +++ yad-0.37.0/src/text.c 2016-06-29 10:21:49.000000000 +0000 @@ -19,7 +19,6 @@ #include -#include #include #include "yad.h" @@ -170,7 +169,7 @@ #endif { if (options.plug == -1) - gtk_dialog_response (GTK_DIALOG (data), YAD_RESPONSE_OK); + yad_exit (YAD_RESPONSE_OK); return TRUE; } @@ -467,7 +466,7 @@ w = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (w), GTK_SHADOW_ETCHED_IN); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w), options.hscroll_policy, options.vscroll_policy); #ifdef HAVE_SOURCEVIEW text_buffer = (GObject *) gtk_source_buffer_new (NULL); diff -Nru yad-0.36.3/src/util.c yad-0.37.0/src/util.c --- yad-0.36.3/src/util.c 2016-04-30 05:55:28.000000000 +0000 +++ yad-0.37.0/src/util.c 2016-08-09 08:26:34.000000000 +0000 @@ -455,6 +455,10 @@ strcpy (res + i, "\\t"); i += 2; break; + case '\\': + strcpy (res + i, "\\\\"); + i += 2; + break; default: *(res + i) = *buf; i++; diff -Nru yad-0.36.3/src/yad.h yad-0.37.0/src/yad.h --- yad-0.36.3/src/yad.h 2016-04-30 05:55:28.000000000 +0000 +++ yad-0.37.0/src/yad.h 2016-08-09 08:26:34.000000000 +0000 @@ -29,6 +29,7 @@ #include #include +#include #if GTK_CHECK_VERSION(3,0,0) #include @@ -142,7 +143,8 @@ typedef enum { YAD_PROGRESS_NORMAL = 0, YAD_PROGRESS_RTL, - YAD_PROGRESS_PULSE + YAD_PROGRESS_PULSE, + YAD_PROGRESS_PERM } YadProgressType; typedef enum { @@ -171,6 +173,9 @@ typedef struct { gchar *name; YadColumnType type; + gboolean wrap; + gboolean ellipsize; + gboolean editable; } YadColumn; typedef struct { @@ -188,6 +193,10 @@ gchar *window_icon; gint width; gint height; + gboolean use_posx; + gint posx; + gboolean use_posy; + gint posy; gchar *geometry; guint timeout; gchar *to_indicator; @@ -217,6 +226,7 @@ gboolean fullscreen; gboolean splash; gboolean focus; + gboolean close_on_unfocus; } YadData; typedef struct { @@ -308,6 +318,7 @@ gboolean radiobox; gboolean print_all; gboolean rules_hint; + GtkTreeViewGridLines grid_lines; gint print_column; gint hide_column; gint expand_column; @@ -316,7 +327,11 @@ gint sep_column; gchar *sep_value; guint limit; + gchar *editable_cols; + gint wrap_width; + gchar *wrap_cols; PangoEllipsizeMode ellipsize; + gchar *ellipsize_cols; gchar *dclick_action; gchar *select_action; gboolean regex_search; @@ -461,6 +476,9 @@ gchar *gtkrc_file; + GtkPolicyType hscroll_policy; + GtkPolicyType vscroll_policy; + gchar *rest_file; gchar **extra_data; @@ -513,6 +531,8 @@ void yad_options_init (void); GOptionContext *yad_create_context (void); void yad_set_mode (void); +void yad_print_result (void); +void yad_exit (gint id); GtkWidget *calendar_create_widget (GtkWidget *dlg); GtkWidget *color_create_widget (GtkWidget *dlg); @@ -533,7 +553,7 @@ GtkWidget *scale_create_widget (GtkWidget *dlg); GtkWidget *text_create_widget (GtkWidget *dlg); -gboolean file_confirm_overwrite (GtkDialog *dlg); +gboolean file_confirm_overwrite (GtkWidget *dlg); void notebook_swallow_childs (void); void paned_swallow_childs (void); void picture_fit_to_window (void);