Projects
Extra
yad
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 19
View file
yad.changes
Changed
@@ -1,4 +1,15 @@ ------------------------------------------------------------------- +Mon Sep 05 00:00:00 UTC 2011 - detlef@links2linux.de + +- new upstream version <0.14.1> + + * add regex search to list dialog + * add --page option for scale dialog + * add marks to scale dialog + * add expander for main widget + * bug fixes + +------------------------------------------------------------------- Tue Aug 16 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <0.13.0>
View file
yad.spec
Changed
@@ -1,7 +1,7 @@ # norootforbuild Name: yad -Version: 0.13.0 +Version: 0.14.1 Release: 1 Summary: A fork of Zenity with many improvements
View file
yad-0.13.0.tar.bz2/ChangeLog -> yad-0.14.1.tar.bz2/ChangeLog
Changed
@@ -1,3 +1,71 @@ +2011-09-05 07:09 ananasik + + * po/de.po, po/ru.po, po/sk.po, po/uk.po: update translations + +2011-09-04 18:53 ananasik + + * configure.ac: bump version to 0.14.0. prepare to next release + +2011-09-04 08:22 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/option.c, + src/scale.c, src/yad.h: add --page option to scale dialog + +2011-09-04 07:22 ananasik + + * src/main.c: remove unneeded variable + +2011-09-04 07:21 ananasik + + * src/main.c: fix placing dialog text + +2011-08-31 13:08 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/option.c, + src/scale.c, src/yad.h: add marks to scale dialog + +2011-08-31 09:48 ananasik + + * po/de.po, po/ru.po, po/sk.po, po/uk.po: update translations + +2011-08-31 09:47 ananasik + + * po/sk.po: update slovak translation + +2011-08-29 18:29 ananasik + + * src/list.c: + +2011-08-29 18:03 ananasik + + * src/list.c: + +2011-08-29 11:16 ananasik + + * src/list.c: some fixes for regex search + +2011-08-29 11:01 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/list.c, + src/option.c, src/yad.h: add regex search for list + +2011-08-28 14:16 ananasik + + * src/list.c: some fixes + +2011-08-21 12:38 ananasik + + * data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po, src/main.c, + src/option.c, src/yad.h: add expander to main widget + +2011-08-19 05:26 ananasik + + * src/list.c: fix lists tootltips + +2011-08-13 11:20 ananasik + + * ChangeLog, NEWS, configure.ac: release 0.13.0 + 2011-07-31 17:59 ananasik * src/main.c:
View file
yad-0.13.0.tar.bz2/NEWS -> yad-0.14.1.tar.bz2/NEWS
Changed
@@ -1,3 +1,10 @@ +Version 0.14.0 + - add regex search to list dialog + - add --page option for scale dialog + - add marks to scale dialog + - add expander for main widget + - bug fixes + Version 0.13.0 - fixes for icons in entry dialog - add icons for editable combo-boxes in entry dialog
View file
yad-0.13.0.tar.bz2/configure -> yad-0.14.1.tar.bz2/configure
Changed
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for YAD 0.13.0. +# Generated by GNU Autoconf 2.68 for YAD 0.14.1. # # Report bugs to <http://code.google.com/p/yad/issues/entry>. # @@ -560,8 +560,8 @@ # Identity of this package. PACKAGE_NAME='YAD' PACKAGE_TARNAME='yad' -PACKAGE_VERSION='0.13.0' -PACKAGE_STRING='YAD 0.13.0' +PACKAGE_VERSION='0.14.1' +PACKAGE_STRING='YAD 0.14.1' PACKAGE_BUGREPORT='http://code.google.com/p/yad/issues/entry' PACKAGE_URL='http://code.google.com/p/yad' @@ -1311,7 +1311,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.13.0 to adapt to many kinds of systems. +\`configure' configures YAD 0.14.1 to adapt to many kinds of systems. Usage: $0 OPTION... VAR=VALUE... @@ -1377,7 +1377,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of YAD 0.13.0:";; + short | recursive ) echo "Configuration of YAD 0.14.1:";; esac cat <<\_ACEOF @@ -1485,7 +1485,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -YAD configure 0.13.0 +YAD configure 0.14.1 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1854,7 +1854,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.13.0, which was +It was created by YAD $as_me 0.14.1, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2669,7 +2669,7 @@ # Define the identity of the package. PACKAGE='yad' - VERSION='0.13.0' + VERSION='0.14.1' cat >>confdefs.h <<_ACEOF @@ -6971,7 +6971,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.13.0, which was +This file was extended by YAD $as_me 0.14.1, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7038,7 +7038,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.13.0 +YAD config.status 0.14.1 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"
View file
yad-0.13.0.tar.bz2/configure.ac -> yad-0.14.1.tar.bz2/configure.ac
Changed
@@ -1,4 +1,4 @@ -AC_INIT(YAD, 0.13.0, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) +AC_INIT(YAD, 0.14.1, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) AM_INIT_AUTOMAKE(1.11 foreign dist-xz no-dist-gzip) AM_SILENT_RULES(yes)
View file
yad-0.13.0.tar.bz2/data/yad.1 -> yad-0.14.1.tar.bz2/data/yad.1
Changed
@@ -99,6 +99,9 @@ .B \-\-icon-theme=THEME Use specified GTK icon theme instead of default. .TP +.B \-\-expander=TEXT +Hide main widget with expander. \fITEXT\fP is an optional argument with expander's label. +.TP .B \-\-button=BUTTON:ID Add the dialog button. May be used several times. \fIID\fP is an exit code. \fIBUTTON\fP may be gtk stock item name for predefined buttons (like gtk-close or gtk-ok) or simple text label. @@ -381,6 +384,9 @@ 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. \fICMD\fP may contain a special character `%s' for setting a position for arguments. By default arguments will be concatenated to the end of \fICMD\fP. +.TP +.B \-\-regex-search +Use regular expressions in search for text fields. .PP Notification options @@ -473,6 +479,9 @@ .B \-\-step=VALUE Set step size. .TP +.B \-\-page=VALUE +Set paging size. By default page value is STEP*10. +.TP .B \-\-print\-partial Print partial values. .TP @@ -484,6 +493,9 @@ .TP .B \-\-invert Invert scale direction. +.TP +.B \-\-mark=NAME:VALUE +Add a mark to scale. May be used multiply times. \fINAME\fP is an optional arguments for set label to mark. .PP Miscellaneous options
View file
yad-0.13.0.tar.bz2/po/de.po -> yad-0.14.1.tar.bz2/po/de.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: yad\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-07-29 18:04+0300\n" +"POT-Creation-Date: 2011-09-04 21:54+0300\n" "PO-Revision-Date: 2009-11-30 16:53+0100\n" "Last-Translator: Manfred Mueller aka Quax<mmueller@live-modules.org>\n" "Language-Team: German translations at Lin2Go <mmueller@live-modules.org>\n" @@ -68,17 +68,17 @@ msgid "Cannot open file '%s': %s\n" msgstr "" -#: ../src/entry.c:145 ../src/scale.c:37 +#: ../src/entry.c:145 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" -#: ../src/entry.c:151 ../src/scale.c:46 +#: ../src/entry.c:151 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "" -#: ../src/entry.c:156 ../src/scale.c:51 +#: ../src/entry.c:156 ../src/scale.c:53 #, fuzzy, c-format msgid "Initial value greater than maximum.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" @@ -112,17 +112,12 @@ msgid "Unable to open directory %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/main.c:69 ../src/main.c:205 +#: ../src/main.c:69 ../src/main.c:196 #, c-format msgid "%d sec" msgstr "" -#: ../src/main.c:112 -#, c-format -msgid "Error loading window icon %s: %s\n" -msgstr "Fehler beim Laden von Fenster-Symbol %s: %s\n" - -#: ../src/main.c:437 +#: ../src/main.c:440 #, c-format msgid "Unable parse command line: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" @@ -146,847 +141,876 @@ msgid "Yad notification" msgstr "Yad Benachrichtigung" -#: ../src/list.c:666 +#: ../src/list.c:700 msgid "Add row" msgstr "Reihe hinzufügen" -#: ../src/list.c:675 +#: ../src/list.c:709 msgid "Delete row" msgstr "Reihe löschen" -#: ../src/list.c:704 +#: ../src/list.c:738 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Keine Spaltentitel für Listendialog angegeben\n" -#: ../src/option.c:53 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Dialogtitel angeben" -#: ../src/option.c:54 +#: ../src/option.c:56 msgid "TITLE" msgstr "TITEL" -#: ../src/option.c:59 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:60 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "SYMBOLPFAD" -#: ../src/option.c:65 +#: ../src/option.c:67 msgid "Set the width" msgstr "Breite angeben" -#: ../src/option.c:66 +#: ../src/option.c:68 msgid "WIDTH" msgstr "BREITE" -#: ../src/option.c:71 +#: ../src/option.c:73 msgid "Set the height" msgstr "Höhe angeben" -#: ../src/option.c:72 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "HÖHE" -#: ../src/option.c:77 +#: ../src/option.c:79 #, fuzzy msgid "Set the window geometry" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "" -#: ../src/option.c:83 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Ablaufzeit in Sekunden angeben" -#: ../src/option.c:84 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ABLAUFZEIT" -#: ../src/option.c:89 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "" -#: ../src/option.c:90 +#: ../src/option.c:92 msgid "POS" msgstr "" -#: ../src/option.c:95 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Dialogtext angeben" -#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 -#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 +#: ../src/option.c:98 ../src/option.c:122 ../src/option.c:323 +#: ../src/option.c:329 ../src/option.c:335 ../src/option.c:463 +#: ../src/option.c:725 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:101 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Dialog-Symbol angeben" -#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 +#: ../src/option.c:104 ../src/option.c:359 ../src/option.c:371 msgid "IMAGE" msgstr "SYMBOL" -#: ../src/option.c:107 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "" -#: ../src/option.c:113 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "" -#: ../src/option.c:114 +#: ../src/option.c:116 msgid "THEME" msgstr "" -#: ../src/option.c:119 +#: ../src/option.c:121 +msgid "Hide main widget with expander" +msgstr "" + +#: ../src/option.c:127 msgid "Add dialog button (may be used multiple times)" msgstr "Dialog-Schaltfläche hinzufügen (Auch mehrmals)" -#: ../src/option.c:120 +#: ../src/option.c:128 msgid "NAME:ID" msgstr "NAME:ID" -#: ../src/option.c:125 +#: ../src/option.c:133 msgid "Don't show buttons" msgstr "" -#: ../src/option.c:131 +#: ../src/option.c:139
View file
yad-0.13.0.tar.bz2/po/ru.po -> yad-0.14.1.tar.bz2/po/ru.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-07-29 18:04+0300\n" +"POT-Creation-Date: 2011-09-04 21:54+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Russian\n" @@ -68,17 +68,17 @@ msgid "Cannot open file '%s': %s\n" msgstr "Не могу открыть файл %s: %s\n" -#: ../src/entry.c:145 ../src/scale.c:37 +#: ../src/entry.c:145 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальное значение должно быть больше, чем минимальное.\n" -#: ../src/entry.c:151 ../src/scale.c:46 +#: ../src/entry.c:151 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Начальное значение меньше минимального.\n" -#: ../src/entry.c:156 ../src/scale.c:51 +#: ../src/entry.c:156 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Начальное значение больше маскимального.\n" @@ -109,17 +109,12 @@ msgid "Unable to open directory %s: %s\n" msgstr "Не могу открыть каталог %s: %s\n" -#: ../src/main.c:69 ../src/main.c:205 +#: ../src/main.c:69 ../src/main.c:196 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:112 -#, c-format -msgid "Error loading window icon %s: %s\n" -msgstr "Ошибка при загрузке иконки окна %s: %s\n" - -#: ../src/main.c:437 +#: ../src/main.c:440 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" @@ -143,374 +138,379 @@ msgid "Yad notification" msgstr "Диалог уведомлений" -#: ../src/list.c:666 +#: ../src/list.c:700 msgid "Add row" msgstr "Добавить строку" -#: ../src/list.c:675 +#: ../src/list.c:709 msgid "Delete row" msgstr "Удалить строку" -#: ../src/list.c:704 +#: ../src/list.c:738 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не заданы заголовоки колонок для диалога со списком\n" -#: ../src/option.c:53 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Задать заголовок диалога" -#: ../src/option.c:54 +#: ../src/option.c:56 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:59 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Задать значок диалога" -#: ../src/option.c:60 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "ЗНАЧОК" -#: ../src/option.c:65 +#: ../src/option.c:67 msgid "Set the width" msgstr "Задать ширину окна" -#: ../src/option.c:66 +#: ../src/option.c:68 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:71 +#: ../src/option.c:73 msgid "Set the height" msgstr "Задать высоту окна" -#: ../src/option.c:72 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "ВЫСОТА" -#: ../src/option.c:77 +#: ../src/option.c:79 msgid "Set the window geometry" msgstr "Задать геометрию окна" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:83 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Задать время работы диалога в секундах" -#: ../src/option.c:84 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ЗАДЕРЖКА" -#: ../src/option.c:89 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показать индикатор задержки (top, bottom, left, right)" -#: ../src/option.c:90 +#: ../src/option.c:92 msgid "POS" msgstr "ПОЗИЦИЯ" -#: ../src/option.c:95 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Задать текст диалога" -#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 -#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 +#: ../src/option.c:98 ../src/option.c:122 ../src/option.c:323 +#: ../src/option.c:329 ../src/option.c:335 ../src/option.c:463 +#: ../src/option.c:725 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:101 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Задать картинку диалога" -#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 +#: ../src/option.c:104 ../src/option.c:359 ../src/option.c:371 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:107 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "Показывать картинку над основным виджетом" -#: ../src/option.c:113 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Использовать указанную тему иконок" -#: ../src/option.c:114 +#: ../src/option.c:116 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:119 +#: ../src/option.c:121 +msgid "Hide main widget with expander" +msgstr "Спрятать основной виджет" + +#: ../src/option.c:127 msgid "Add dialog button (may be used multiple times)" msgstr "Добавить кнопку (может использоваться несколько раз)" -#: ../src/option.c:120 +#: ../src/option.c:128 msgid "NAME:ID" msgstr "ИМЯ:ID" -#: ../src/option.c:125 +#: ../src/option.c:133 msgid "Don't show buttons" msgstr "Не показывать кнопки" -#: ../src/option.c:131 +#: ../src/option.c:139 msgid "Don't use pango markup language in dialog's text"
View file
yad-0.13.0.tar.bz2/po/sk.po -> yad-0.14.1.tar.bz2/po/sk.po
Changed
@@ -6,12 +6,12 @@ # msgid "" msgstr "" -"Project-Id-Version: YAD 0.12.90\n" +"Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-07-29 18:04+0300\n" -"PO-Revision-Date: 2011-07-30 07:41+0200\n" +"POT-Creation-Date: 2011-09-04 21:54+0300\n" +"PO-Revision-Date: 2011-09-05 07:57+0200\n" "Last-Translator: Slavko <linux@slavino.sk>\n" -"Language-Team: Slovak <nomail>\n" +"Language-Team: Slovak <debian-l10n-slovak@lists.debian.org>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -66,17 +66,17 @@ msgid "Cannot open file '%s': %s\n" msgstr "Nemožno otvoriť súbor '%s': %s\n" -#: ../src/entry.c:145 ../src/scale.c:37 +#: ../src/entry.c:145 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Maximálna hodnota musí byť väčšia ako minimálna.\n" -#: ../src/entry.c:151 ../src/scale.c:46 +#: ../src/entry.c:151 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Počiatočná hodnota je menšia ako minimálna.\n" -#: ../src/entry.c:156 ../src/scale.c:51 +#: ../src/entry.c:156 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Maximálna hodnota je väčšia ako minimálna.\n" @@ -107,17 +107,12 @@ msgid "Unable to open directory %s: %s\n" msgstr "Nemožno otvoriť adresár %s: %s\n" -#: ../src/main.c:69 ../src/main.c:205 +#: ../src/main.c:69 ../src/main.c:196 #, c-format msgid "%d sec" msgstr "%d s" -#: ../src/main.c:112 -#, c-format -msgid "Error loading window icon %s: %s\n" -msgstr "Chyba načítania ikony okna %s: %s\n" - -#: ../src/main.c:437 +#: ../src/main.c:440 #, c-format msgid "Unable parse command line: %s\n" msgstr "Nemožno spracovať príkazový riadok: %s\n" @@ -139,823 +134,849 @@ #: ../src/notification.c:333 msgid "Yad notification" -msgstr "Yad upozornenie" +msgstr "Informačná ikona Yad" -#: ../src/list.c:666 +#: ../src/list.c:700 msgid "Add row" -msgstr "Pridať riadok" +msgstr "Pridá riadok" -#: ../src/list.c:675 +#: ../src/list.c:709 msgid "Delete row" -msgstr "Odstrániť riadok" +msgstr "Odstráni riadok" -#: ../src/list.c:704 +#: ../src/list.c:738 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Neboli zadané mená stĺpcov pre dialóg Zoznam.\n" -#: ../src/option.c:53 +#: ../src/option.c:55 msgid "Set the dialog title" -msgstr "Nastaviť názov dialógu" +msgstr "Nastaví názov dialógu" -#: ../src/option.c:54 +#: ../src/option.c:56 msgid "TITLE" msgstr "NÁZOV" -#: ../src/option.c:59 +#: ../src/option.c:61 msgid "Set the window icon" -msgstr "Nastaviť ikonu okna" +msgstr "Nastaví ikonu okna" -#: ../src/option.c:60 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "CESTA_IKON" -#: ../src/option.c:65 +#: ../src/option.c:67 msgid "Set the width" -msgstr "Nastaviť šírku" +msgstr "Nastaví šírku" -#: ../src/option.c:66 +#: ../src/option.c:68 msgid "WIDTH" msgstr "ŠÍRKA" -#: ../src/option.c:71 +#: ../src/option.c:73 msgid "Set the height" -msgstr "Nastaviť šírku" +msgstr "Nastaví výšku" -#: ../src/option.c:72 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "VÝŠKA" -#: ../src/option.c:77 +#: ../src/option.c:79 msgid "Set the window geometry" -msgstr "Nastaviť geometriu okna" +msgstr "Nastaví geometriu okna" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "WxH+X+Y" -#: ../src/option.c:83 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" -msgstr "Nastaviť časový limit dialógu s" +msgstr "Nastaví časový limit dialógu s" -#: ../src/option.c:84 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ČASLIMIT" -#: ../src/option.c:89 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" -msgstr "Zobraziť indikátor zostávajúceho času (top, bottom, left, right)" +msgstr "Zobrazí indikátor zostávajúceho času (top, bottom, left, right)" -#: ../src/option.c:90 +#: ../src/option.c:92 msgid "POS" msgstr "POZÍCIA" -#: ../src/option.c:95 +#: ../src/option.c:97 msgid "Set the dialog text" -msgstr "Nastaviť text dialógu" +msgstr "Nastaví text dialógu" -#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 -#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 +#: ../src/option.c:98 ../src/option.c:122 ../src/option.c:323 +#: ../src/option.c:329 ../src/option.c:335 ../src/option.c:463 +#: ../src/option.c:725 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:101 +#: ../src/option.c:103 msgid "Set the dialog image" -msgstr "Nastaviť obrázok dialógu" +msgstr "Nastaví obrázok dialógu" -#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 +#: ../src/option.c:104 ../src/option.c:359 ../src/option.c:371 msgid "IMAGE" msgstr "OBRÁZOK" -#: ../src/option.c:107 +#: ../src/option.c:109 msgid "Show image above main widget" -msgstr "Zobraziť obrázok nad hlavným widgetom" +msgstr "Zobrazí obrázok nad hlavným widgetom" -#: ../src/option.c:113 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" -msgstr "Použiť zadanú tému ikon, namiesto predvolenej" +msgstr "Použije zadanú tému ikon, namiesto predvolenej" -#: ../src/option.c:114 +#: ../src/option.c:116 msgid "THEME"
View file
yad-0.13.0.tar.bz2/po/uk.po -> yad-0.14.1.tar.bz2/po/uk.po
Changed
@@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: YAD\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-07-29 18:04+0300\n" +"POT-Creation-Date: 2011-09-04 21:54+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Ukrainian\n" @@ -66,17 +66,17 @@ msgid "Cannot open file '%s': %s\n" msgstr "Не можу відкрити файл %s: %s\n" -#: ../src/entry.c:145 ../src/scale.c:37 +#: ../src/entry.c:145 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальне значення повинно бути більше, ніж мінімальне.\n" -#: ../src/entry.c:151 ../src/scale.c:46 +#: ../src/entry.c:151 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Початкове значення менше за мінімальне.\n" -#: ../src/entry.c:156 ../src/scale.c:51 +#: ../src/entry.c:156 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Початкове значенння більше за маскимальне.\n" @@ -107,17 +107,12 @@ msgid "Unable to open directory %s: %s\n" msgstr "Не можу відкрити каталог %s: %s\n" -#: ../src/main.c:69 ../src/main.c:205 +#: ../src/main.c:69 ../src/main.c:196 #, c-format msgid "%d sec" msgstr "%d сек" -#: ../src/main.c:112 -#, c-format -msgid "Error loading window icon %s: %s\n" -msgstr "Помилка при загрузці іконки вікна %s: %s\n" - -#: ../src/main.c:437 +#: ../src/main.c:440 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не вдається розібрати командну строку: %s\n" @@ -141,374 +136,379 @@ msgid "Yad notification" msgstr "Діалог повідомлень" -#: ../src/list.c:666 +#: ../src/list.c:700 msgid "Add row" msgstr "Добавити строку" -#: ../src/list.c:675 +#: ../src/list.c:709 msgid "Delete row" msgstr "Видалити строку" -#: ../src/list.c:704 +#: ../src/list.c:738 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не задані заголовоки колонок для діалога зі списком\n" -#: ../src/option.c:53 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Задати заголовок діалога" -#: ../src/option.c:54 +#: ../src/option.c:56 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:59 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Задати іконку діалога" -#: ../src/option.c:60 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "ІКОНКА" -#: ../src/option.c:65 +#: ../src/option.c:67 msgid "Set the width" msgstr "Задати ширину вікна" -#: ../src/option.c:66 +#: ../src/option.c:68 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:71 +#: ../src/option.c:73 msgid "Set the height" msgstr "Задати висоту вікна" -#: ../src/option.c:72 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "ВИСОТА" -#: ../src/option.c:77 +#: ../src/option.c:79 msgid "Set the window geometry" msgstr "Задати геометрію вікна" -#: ../src/option.c:78 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:83 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Задати врем'я роботи діалога в секундах" -#: ../src/option.c:84 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ЗАТРИМКА" -#: ../src/option.c:89 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показувати індикатор затримки (top, bottom, left, right)" -#: ../src/option.c:90 +#: ../src/option.c:92 msgid "POS" msgstr "ПОЗИЦІЯ" -#: ../src/option.c:95 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Задати текст діалога" -#: ../src/option.c:96 ../src/option.c:315 ../src/option.c:321 -#: ../src/option.c:327 ../src/option.c:455 ../src/option.c:711 +#: ../src/option.c:98 ../src/option.c:122 ../src/option.c:323 +#: ../src/option.c:329 ../src/option.c:335 ../src/option.c:463 +#: ../src/option.c:725 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:101 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Задати картинку діалога" -#: ../src/option.c:102 ../src/option.c:351 ../src/option.c:363 +#: ../src/option.c:104 ../src/option.c:359 ../src/option.c:371 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:107 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "Показувати картинку над основним віджетом" -#: ../src/option.c:113 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Використовувати вказану тему іконок" -#: ../src/option.c:114 +#: ../src/option.c:116 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:119 +#: ../src/option.c:121 +msgid "Hide main widget with expander" +msgstr "Приховати головний віджет" + +#: ../src/option.c:127 msgid "Add dialog button (may be used multiple times)" msgstr "Додати кнопку (може використовуватись декілька разів)" -#: ../src/option.c:120 +#: ../src/option.c:128 msgid "NAME:ID" msgstr "ИМ'Я:ID" -#: ../src/option.c:125 +#: ../src/option.c:133 msgid "Don't show buttons" msgstr "Не показувати кнопки" -#: ../src/option.c:131 +#: ../src/option.c:139 msgid "Don't use pango markup language in dialog's text"
View file
yad-0.13.0.tar.bz2/src/list.c -> yad-0.14.1.tar.bz2/src/list.c
Changed
@@ -157,11 +157,9 @@ case YAD_COLUMN_TOOLTIP: case YAD_COLUMN_TEXT: { - gchar *cval, *uval; + gchar *cval; gtk_tree_model_get (model, &iter, cnum, &cval, -1); - uval = unescape_markup (cval); - text = g_strdup_printf ("%s", uval); - g_free (uval); + text = g_strdup_printf ("%s", cval); break; } } @@ -175,6 +173,40 @@ } } +static gboolean +regex_search (GtkTreeModel *model, gint col, const gchar *key, + GtkTreeIter *iter, gpointer data) +{ + static GRegex *pattern = NULL; + static guint pos = 0; + gchar *str; + + if (keypos) + { + if (pattern) + g_regex_unref (pattern); + pattern = g_regex_new (key, G_REGEX_CASELESS | G_REGEX_EXTENDED | G_REGEX_OPTIMIZE, + G_REGEX_MATCH_NOTEMPTY, NULL); + pos = strlen (key); + } + + if (pattern) + { + gboolean ret; + + gtk_tree_model_get (model, iter, col, &str, -1); + + ret = g_regex_match (pattern, str, G_REGEX_MATCH_NOTEMPTY, NULL); + /* if get it, clear key end position */ + if (!ret) + pos = 0; + + return !ret; + } + else + return TRUE; +} + static GtkTreeModel * create_model (gint n_columns) { @@ -415,7 +447,8 @@ case YAD_COLUMN_IMAGE: pb = get_pixbuf (string->str, YAD_SMALL_ICON); gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, pb, -1); - g_object_unref (pb); + if (pb) + g_object_unref (pb); break; case YAD_COLUMN_ATTR_FORE: case YAD_COLUMN_ATTR_BACK: @@ -489,7 +522,8 @@ case YAD_COLUMN_IMAGE: pb = get_pixbuf (argsi, YAD_SMALL_ICON); gtk_list_store_set (GTK_LIST_STORE (model), &iter, j, pb, -1); - g_object_unref (pb); + if (pb) + g_object_unref (pb); break; case YAD_COLUMN_ATTR_FORE: case YAD_COLUMN_ATTR_BACK: @@ -768,6 +802,17 @@ G_CALLBACK (tooltip_cb), NULL); } + /* set search function for regex search */ + if (options.list_data.search_column != -1 && options.list_data.regex_search) + { + YadColumn *col = (YadColumn *) g_slist_nth_data (options.list_data.columns, + options.list_data.search_column); + + if (col->type == YAD_COLUMN_TEXT || col->type == YAD_COLUMN_TOOLTIP) + gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (list_view), + regex_search, NULL, NULL); + } + return w; }
View file
yad-0.13.0.tar.bz2/src/main.c -> yad-0.14.1.tar.bz2/src/main.c
Changed
@@ -242,11 +242,11 @@ if (options.data.geometry || options.data.width != -1) gtk_label_set_line_wrap (GTK_LABEL (text), TRUE); if (options.data.image_on_top) - gtk_box_pack_start (GTK_BOX (hbox2), text, FALSE, FALSE, 2); + gtk_box_pack_start (GTK_BOX (hbox2), text, TRUE, TRUE, 2); else - gtk_box_pack_start (GTK_BOX (vbox), text, FALSE, FALSE, 2); - g_signal_connect_after (G_OBJECT (text), "size-allocate", - G_CALLBACK (text_size_allocate_cb), NULL); + gtk_box_pack_start (GTK_BOX (vbox), text, TRUE, TRUE, 2); + g_signal_connect (G_OBJECT (text), "size-allocate", + G_CALLBACK (text_size_allocate_cb), NULL); g_free (buf); } @@ -292,7 +292,19 @@ break; } if (main_widget) - gtk_box_pack_start (GTK_BOX (vbox), main_widget, TRUE, TRUE, 2); + { + if (options.data.expander) + { + GtkWidget *exp; + + exp = gtk_expander_new_with_mnemonic (options.data.expander); + gtk_expander_set_expanded (GTK_EXPANDER (exp), FALSE); + gtk_container_add (GTK_CONTAINER (exp), main_widget); + gtk_box_pack_start (GTK_BOX (vbox), exp, TRUE, TRUE, 2); + } + else + gtk_box_pack_start (GTK_BOX (vbox), main_widget, TRUE, TRUE, 2); + } /* add buttons */ if (!options.data.no_buttons)
View file
yad-0.13.0.tar.bz2/src/option.c -> yad-0.14.1.tar.bz2/src/option.c
Changed
@@ -22,12 +22,14 @@ static gboolean add_button (const gchar *, const gchar *, gpointer, GError **); static gboolean add_column (const gchar *, const gchar *, gpointer, GError **); static gboolean add_field (const gchar *, const gchar *, gpointer, GError **); +static gboolean add_scale_mark (const gchar *, const gchar *, gpointer, GError **); static gboolean add_palette (const gchar *, const gchar *, gpointer, GError **); static gboolean add_confirm_overwrite (const gchar *, const gchar *, gpointer, GError **); static gboolean set_align (const gchar *, const gchar *, gpointer, GError **); static gboolean set_justify (const gchar *, const gchar *, gpointer, GError **); static gboolean set_scale_value (const gchar *, const gchar *, gpointer, GError **); static gboolean set_ellipsize (const gchar *, const gchar *, gpointer, GError **); +static gboolean set_expander (const gchar *, const gchar *, gpointer, GError **); static gboolean about_mode = FALSE; static gboolean version_mode = FALSE; @@ -112,6 +114,12 @@ &options.data.icon_theme, N_("Use specified icon theme instead of default"), N_("THEME") }, + { "expander", 0, + G_OPTION_FLAG_OPTIONAL_ARG, + G_OPTION_ARG_CALLBACK, + set_expander, + N_("Hide main widget with expander"), + N_("TEXT") }, { "button", 0, 0, G_OPTION_ARG_CALLBACK, @@ -659,6 +667,12 @@ &options.list_data.dclick_action, N_("Set double-click action"), N_("CMD") }, + { "regex-search", 0, + 0, + G_OPTION_ARG_NONE, + &options.list_data.regex_search, + N_("Use regex in search"), + NULL }, { NULL } }; @@ -776,6 +790,12 @@ &options.scale_data.step, N_("Set step size"), N_("VALUE") }, + { "page", 0, + 0, + G_OPTION_ARG_INT, + &options.scale_data.page, + N_("Set paging size"), + N_("VALUE") }, { "print-partial", 0, 0, G_OPTION_ARG_NONE, @@ -800,6 +820,12 @@ &options.scale_data.invert, N_("Invert direction"), NULL }, + { "mark", 0, + 0, + G_OPTION_ARG_CALLBACK, + add_scale_mark, + N_("Add mark to scale (may be used multiple times)"), + N_("NAME:VALUE") }, { NULL } }; @@ -910,6 +936,8 @@ btn->name = g_strdup (bstr0); if (bstr1) btn->response = g_ascii_strtoll (bstr1, NULL, 10); + else + btn->response = g_slist_length (options.data.buttons); options.data.buttons = g_slist_append (options.data.buttons, btn); g_strfreev (bstr); @@ -1015,6 +1043,33 @@ } static gboolean +add_scale_mark (const gchar *option_name, + const gchar *value, + gpointer data, GError **err) +{ + YadScaleMark *mark; + gchar **mstr = split_arg (value); + + mark = g_new0 (YadScaleMark, 1); + mark->name = g_strdup (mstr0); + if (mstr1) + { + mark->value = g_ascii_strtoll (mstr1, NULL, 10); + options.scale_data.marks = g_slist_append (options.scale_data.marks, mark); + } + else + { + g_printerr (_("Mark %s doesn't have a value\n"), mark->name); + g_free (mark->name); + g_free (mark); + } + + g_strfreev (mstr); + + return TRUE; +} + +static gboolean add_palette (const gchar *option_name, const gchar *value, gpointer data, GError **err) @@ -1074,6 +1129,18 @@ } static gboolean +set_expander (const gchar *option_name, + const gchar *value, + gpointer data, GError **err) +{ + if (value) + options.data.expander = g_strdup (value); + else + options.data.expander = ""; + return TRUE; +} + +static gboolean set_scale_value (const gchar *option_name, const gchar *value, gpointer data, GError **err) @@ -1158,6 +1225,7 @@ options.data.dialog_image = NULL; options.data.image_on_top = FALSE; options.data.icon_theme = NULL; + options.data.expander = NULL; options.data.timeout = settings.timeout; options.data.to_indicator = settings.to_indicator; options.data.buttons = NULL; @@ -1249,6 +1317,7 @@ options.list_data.limit = 0; options.list_data.ellipsize = PANGO_ELLIPSIZE_NONE; options.list_data.dclick_action = NULL; + options.list_data.regex_search = FALSE; /* Initialize notification data */ options.notification_data.listen = FALSE; @@ -1268,11 +1337,13 @@ options.scale_data.min_value = 0; options.scale_data.max_value = 100; options.scale_data.step = 1; + options.scale_data.page = -1; options.scale_data.print_partial = FALSE; options.scale_data.hide_value = FALSE; options.scale_data.have_value = FALSE; options.scale_data.vertical = FALSE; options.scale_data.invert = FALSE; + options.scale_data.marks = NULL; /* Initialize text data */ options.text_data.fore = NULL;
View file
yad-0.13.0.tar.bz2/src/scale.c -> yad-0.14.1.tar.bz2/src/scale.c
Changed
@@ -31,6 +31,8 @@ scale_create_widget (GtkWidget *dlg) { GtkWidget *w; + GtkAdjustment *adj; + gint page; if (options.scale_data.min_value >= options.scale_data.max_value) { @@ -55,23 +57,26 @@ else options.scale_data.value = options.scale_data.min_value; + + page = options.scale_data.page == -1 ? options.scale_data.step * 10 : options.scale_data.page; + adj = (GtkAdjustment *) gtk_adjustment_new ((double) options.scale_data.value, + (double) options.scale_data.min_value, + (double) options.scale_data.max_value, + (double) options.scale_data.step, + (double) page, 0.0); if (options.scale_data.vertical) { - w = scale = gtk_vscale_new_with_range (options.scale_data.min_value, - options.scale_data.max_value, - options.scale_data.step); + w = scale = gtk_vscale_new (GTK_ADJUSTMENT (adj)); gtk_widget_set_name (w, "yad-vscale-widget"); gtk_range_set_inverted (GTK_RANGE (w), !options.scale_data.invert); } else { - w = scale = gtk_hscale_new_with_range (options.scale_data.min_value, - options.scale_data.max_value, - options.scale_data.step); + w = scale = gtk_hscale_new (GTK_ADJUSTMENT (adj)); gtk_widget_set_name (w, "yad-hscale-widget"); gtk_range_set_inverted (GTK_RANGE (w), options.scale_data.invert); } - gtk_range_set_value (GTK_RANGE (w), options.scale_data.value); + gtk_scale_set_digits (GTK_SCALE (w), 0); if (options.scale_data.print_partial) g_signal_connect (G_OBJECT (w), "value-changed", @@ -80,6 +85,21 @@ if (options.scale_data.hide_value) gtk_scale_set_draw_value (GTK_SCALE (w), FALSE); + /* add marks */ + if (options.scale_data.marks) + { + GtkPositionType pos; + GSList *m = options.scale_data.marks; + + pos = options.scale_data.vertical ? GTK_POS_LEFT : GTK_POS_BOTTOM; + + for (; m; m = m->next) + { + YadScaleMark *mark = (YadScaleMark *) m->data; + gtk_scale_add_mark (GTK_SCALE (w), mark->value, pos, mark->name); + } + } + return w; }
View file
yad-0.13.0.tar.bz2/src/yad.h -> yad-0.14.1.tar.bz2/src/yad.h
Changed
@@ -104,6 +104,11 @@ } YadColumn; typedef struct { + gchar *name; + gint value; +} YadScaleMark; + +typedef struct { gchar *dialog_title; gchar *window_icon; gint width; @@ -118,6 +123,7 @@ #if !GTK_CHECK_VERSION(3,0,0) gboolean dialog_sep; #endif + gchar *expander; gint borders; GSList *buttons; gboolean no_buttons; @@ -201,6 +207,7 @@ guint limit; PangoEllipsizeMode ellipsize; gchar *dclick_action; + gboolean regex_search; } YadListData; typedef struct { @@ -223,11 +230,13 @@ gint min_value; gint max_value; gint step; + gint page; gboolean print_partial; gboolean hide_value; gboolean have_value; gboolean vertical; gboolean invert; + GSList *marks; } YadScaleData; typedef struct {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.