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 12
View file
yad.changes
Changed
@@ -1,3 +1,8 @@ +Mon May 16 00:00:00 UTC 2011 - detlef@links2linux.de + +- new upstream version <0.11.0> + +------------------------------------------------------------------- Sat Apr 16 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <0.10.2>
View file
yad.spec
Changed
@@ -1,7 +1,7 @@ # norootforbuild Name: yad -Version: 0.10.2 +Version: 0.11.0 Release: 1 Summary: A fork of Zenity with many improvements
View file
yad-0.10.2.tar.bz2/ChangeLog -> yad-0.11.0.tar.bz2/ChangeLog
Changed
@@ -1,3 +1,32 @@ +2011-04-25 13:12 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 --search-column option to list + dialog + +2011-04-24 06:50 ananasik + + * src/entry.c, src/form.c, src/main.c: add markup to entry and form + labels + +2011-04-20 18:04 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 --elipsize option to list dialog + +2011-04-20 07:47 ananasik + + * configure.ac, 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 --skip-taskbar option + +2011-04-16 11:13 ananasik + + * src/dnd.c, src/main.c: cleanups + +2011-04-16 08:46 ananasik + + * ChangeLog: release 0.10.2 + 2011-04-16 08:45 ananasik * NEWS:
View file
yad-0.10.2.tar.bz2/aclocal.m4 -> yad-0.11.0.tar.bz2/aclocal.m4
Changed
@@ -1003,8 +1003,8 @@ dnl IT_PROG_INTLTOOL(MINIMUM-VERSION, no-xml) # serial 40 IT_PROG_INTLTOOL AC_DEFUN(IT_PROG_INTLTOOL, -AC_PREREQ(2.50) -AC_REQUIRE(AM_NLS) +AC_PREREQ(2.50)dnl +AC_REQUIRE(AM_NLS)dnl case "$am__api_version" in 1.01234) @@ -1149,7 +1149,7 @@ # AC_DEFUN(IT_PO_SUBDIR, AC_PREREQ(2.53)dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. - +dnl dnl The following CONFIG_COMMANDS should be exetuted at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE( @@ -1173,7 +1173,7 @@ rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ) -) +)dnl ) # _IT_SUBST(VARIABLE)
View file
yad-0.10.2.tar.bz2/configure -> yad-0.11.0.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.10.2. +# Generated by GNU Autoconf 2.68 for YAD 0.11.0. # # 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.10.2' -PACKAGE_STRING='YAD 0.10.2' +PACKAGE_VERSION='0.11.0' +PACKAGE_STRING='YAD 0.11.0' 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.10.2 to adapt to many kinds of systems. +\`configure' configures YAD 0.11.0 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.10.2:";; + short | recursive ) echo "Configuration of YAD 0.11.0:";; 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.10.2 +YAD configure 0.11.0 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.10.2, which was +It was created by YAD $as_me 0.11.0, 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.10.2' + VERSION='0.11.0' cat >>confdefs.h <<_ACEOF @@ -3748,8 +3748,6 @@ - - case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 @@ -4293,8 +4291,6 @@ - - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -6975,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.10.2, which was +This file was extended by YAD $as_me 0.11.0, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7042,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.10.2 +YAD config.status 0.11.0 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"
View file
yad-0.10.2.tar.bz2/configure.ac -> yad-0.11.0.tar.bz2/configure.ac
Changed
@@ -1,4 +1,4 @@ -AC_INIT(YAD, 0.10.2, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) +AC_INIT(YAD, 0.11.0, 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.10.2.tar.bz2/data/yad.1 -> yad-0.11.0.tar.bz2/data/yad.1
Changed
@@ -135,6 +135,9 @@ .B \-\-undecorated Make window undecorated (remove title and window borders). .TP +.B \-\-skip-taskbar +Don't show window in taskbar and pager. +.TP .B \-\-geometry=WIDTHxHEIGHT+X+Y Use standard X Window geometry notation for placing dialog. When this option is used, \fIwidth\fP, \fIheidht\fP, \fImouse\fP and \fIcenter\fP options are @@ -322,8 +325,14 @@ .B \-\-expand\-column=NUMBER Set the column expandable by default. \fI0\fP sets all columns expandable. .TP +.B \-\-search\-column=NUMBER +Set the quick search column. \fI0\fP mean to disable searching. By default search mades on first column. +.TP .B \-\-limit=NUMBER 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 \-\-ellipsize=TYPE +Set ellipsize mode for text columns. \fITYPE\fP may be \fINONE\fP, \fISTART\fP, \fIMIDDLE\fP or \fIEND\fP. .PP Notification options
View file
yad-0.10.2.tar.bz2/po/de.po -> yad-0.11.0.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-03-28 13:36+0300\n" +"POT-Creation-Date: 2011-04-25 16:09+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" @@ -64,27 +64,27 @@ "\n" "Basiert auf Zenity-Code\n" -#: ../src/entry.c:93 ../src/scale.c:39 +#: ../src/entry.c:97 ../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:99 ../src/scale.c:48 +#: ../src/entry.c:103 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "" -#: ../src/entry.c:104 ../src/scale.c:53 +#: ../src/entry.c:108 ../src/scale.c:53 #, fuzzy, c-format msgid "Initial value greater than maximum.\n" msgstr "Der Maximalwert muß kleiner als der Minimalwert sein.\n" -#: ../src/form.c:103 +#: ../src/form.c:100 #, fuzzy msgid "Select file" msgstr "Datei öffnen" -#: ../src/form.c:113 +#: ../src/form.c:106 msgid "Select folder" msgstr "" @@ -98,7 +98,7 @@ msgid "Unable to open directory %s: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" -#: ../src/main.c:69 ../src/main.c:163 +#: ../src/main.c:69 ../src/main.c:165 #, c-format msgid "%d sec" msgstr "" @@ -108,7 +108,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Fehler beim Laden von Fenster-Symbol %s: %s\n" -#: ../src/main.c:380 +#: ../src/main.c:382 #, c-format msgid "Unable parse command line: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" @@ -132,780 +132,800 @@ msgid "Yad notification" msgstr "Yad Benachrichtigung" -#: ../src/list.c:483 +#: ../src/list.c:508 msgid "Add row" msgstr "Reihe hinzufügen" -#: ../src/list.c:492 +#: ../src/list.c:517 msgid "Delete row" msgstr "Reihe löschen" -#: ../src/list.c:521 +#: ../src/list.c:546 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Keine Spaltentitel für Listendialog angegeben\n" -#: ../src/option.c:54 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Dialogtitel angeben" -#: ../src/option.c:55 +#: ../src/option.c:56 msgid "TITLE" msgstr "TITEL" -#: ../src/option.c:60 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:61 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "SYMBOLPFAD" -#: ../src/option.c:66 +#: ../src/option.c:67 msgid "Set the width" msgstr "Breite angeben" -#: ../src/option.c:67 +#: ../src/option.c:68 msgid "WIDTH" msgstr "BREITE" -#: ../src/option.c:72 +#: ../src/option.c:73 msgid "Set the height" msgstr "Höhe angeben" -#: ../src/option.c:73 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "HÖHE" -#: ../src/option.c:78 +#: ../src/option.c:79 #, fuzzy msgid "Set the window geometry" msgstr "Fenster-Symbol angeben" -#: ../src/option.c:79 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "" -#: ../src/option.c:84 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Ablaufzeit in Sekunden angeben" -#: ../src/option.c:85 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ABLAUFZEIT" -#: ../src/option.c:90 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "" -#: ../src/option.c:91 +#: ../src/option.c:92 msgid "POS" msgstr "" -#: ../src/option.c:96 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Dialogtext angeben" -#: ../src/option.c:97 ../src/option.c:290 ../src/option.c:296 -#: ../src/option.c:302 ../src/option.c:406 ../src/option.c:632 +#: ../src/option.c:98 ../src/option.c:297 ../src/option.c:303 +#: ../src/option.c:309 ../src/option.c:413 ../src/option.c:651 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:102 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Dialog-Symbol angeben" -#: ../src/option.c:103 +#: ../src/option.c:104 msgid "IMAGE" msgstr "SYMBOL" -#: ../src/option.c:108 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "" -#: ../src/option.c:114 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "" -#: ../src/option.c:115 +#: ../src/option.c:116 msgid "THEME" msgstr "" -#: ../src/option.c:120 +#: ../src/option.c:121 msgid "Add dialog button (may be used multiple times)" msgstr "Dialog-Schaltfläche hinzufügen (Auch mehrmals)" -#: ../src/option.c:121 +#: ../src/option.c:122 msgid "NAME:ID" msgstr "NAME:ID" -#: ../src/option.c:126 +#: ../src/option.c:127
View file
yad-0.10.2.tar.bz2/po/ru.po -> yad-0.11.0.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-03-28 13:36+0300\n" +"POT-Creation-Date: 2011-04-25 16:09+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Russian\n" @@ -66,26 +66,26 @@ "\n" "Основан на коде Zenity\n" -#: ../src/entry.c:93 ../src/scale.c:39 +#: ../src/entry.c:97 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальное значение должно быть больше, чем минимальное.\n" -#: ../src/entry.c:99 ../src/scale.c:48 +#: ../src/entry.c:103 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Начальное значение меньше минимального.\n" -#: ../src/entry.c:104 ../src/scale.c:53 +#: ../src/entry.c:108 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Начальное значение больше маскимального.\n" -#: ../src/form.c:103 +#: ../src/form.c:100 msgid "Select file" msgstr "Выбрать файл" -#: ../src/form.c:113 +#: ../src/form.c:106 msgid "Select folder" msgstr "Выбрать каталог" @@ -99,7 +99,7 @@ msgid "Unable to open directory %s: %s\n" msgstr "Не могу открыть каталог %s: %s\n" -#: ../src/main.c:69 ../src/main.c:163 +#: ../src/main.c:69 ../src/main.c:165 #, c-format msgid "%d sec" msgstr "%d сек" @@ -109,7 +109,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Ошибка при загрузке иконки окна %s: %s\n" -#: ../src/main.c:380 +#: ../src/main.c:382 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" @@ -133,383 +133,387 @@ msgid "Yad notification" msgstr "Диалог уведомлений" -#: ../src/list.c:483 +#: ../src/list.c:508 msgid "Add row" msgstr "Добавить строку" -#: ../src/list.c:492 +#: ../src/list.c:517 msgid "Delete row" msgstr "Удалить строку" -#: ../src/list.c:521 +#: ../src/list.c:546 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не заданы заголовоки колонок для диалога со списком\n" -#: ../src/option.c:54 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Задать заголовок диалога" -#: ../src/option.c:55 +#: ../src/option.c:56 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:60 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Задать значок диалога" -#: ../src/option.c:61 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "ЗНАЧОК" -#: ../src/option.c:66 +#: ../src/option.c:67 msgid "Set the width" msgstr "Задать ширину окна" -#: ../src/option.c:67 +#: ../src/option.c:68 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:72 +#: ../src/option.c:73 msgid "Set the height" msgstr "Задать высоту окна" -#: ../src/option.c:73 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "ВЫСОТА" -#: ../src/option.c:78 +#: ../src/option.c:79 msgid "Set the window geometry" msgstr "Задать геометрию окна" -#: ../src/option.c:79 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:84 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Задать время работы диалога в секундах" -#: ../src/option.c:85 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ЗАДЕРЖКА" -#: ../src/option.c:90 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показать индикатор задержки (top, bottom, left, right)" -#: ../src/option.c:91 +#: ../src/option.c:92 msgid "POS" msgstr "ПОЗИЦИЯ" -#: ../src/option.c:96 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Задать текст диалога" -#: ../src/option.c:97 ../src/option.c:290 ../src/option.c:296 -#: ../src/option.c:302 ../src/option.c:406 ../src/option.c:632 +#: ../src/option.c:98 ../src/option.c:297 ../src/option.c:303 +#: ../src/option.c:309 ../src/option.c:413 ../src/option.c:651 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:102 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Задать картинку диалога" -#: ../src/option.c:103 +#: ../src/option.c:104 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:108 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "Показывать картинку над основным виджетом" -#: ../src/option.c:114 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Использовать указанную тему иконок" -#: ../src/option.c:115 +#: ../src/option.c:116 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:120 +#: ../src/option.c:121 msgid "Add dialog button (may be used multiple times)" msgstr "Добавить кнопку (может использоваться несколько раз)" -#: ../src/option.c:121 +#: ../src/option.c:122 msgid "NAME:ID" msgstr "ИМЯ:ID" -#: ../src/option.c:126 +#: ../src/option.c:127 msgid "Don't show buttons" msgstr "Не показывать кнопки"
View file
yad-0.10.2.tar.bz2/po/sk.po -> yad-0.11.0.tar.bz2/po/sk.po
Changed
@@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: YAD 0.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-03-28 13:36+0300\n" +"POT-Creation-Date: 2011-04-25 16:09+0300\n" "PO-Revision-Date: 2011-03-27 18:30+0200\n" "Last-Translator: Slavko <linux@slavino.sk>\n" "Language-Team: Slovak <nomail>\n" @@ -64,26 +64,26 @@ "\n" "Založený na kóde Zenity\n" -#: ../src/entry.c:93 ../src/scale.c:39 +#: ../src/entry.c:97 ../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:99 ../src/scale.c:48 +#: ../src/entry.c:103 ../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:104 ../src/scale.c:53 +#: ../src/entry.c:108 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Maximálna hodnota je väčšia ako minimálna.\n" -#: ../src/form.c:103 +#: ../src/form.c:100 msgid "Select file" msgstr "Vyberte súbor" -#: ../src/form.c:113 +#: ../src/form.c:106 msgid "Select folder" msgstr "Vyberte pole" @@ -97,7 +97,7 @@ msgid "Unable to open directory %s: %s\n" msgstr "Nemožno otvoriť adresár %s: %s\n" -#: ../src/main.c:69 ../src/main.c:163 +#: ../src/main.c:69 ../src/main.c:165 #, c-format msgid "%d sec" msgstr "%d s" @@ -107,7 +107,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Chyba načítania ikony okna %s: %s\n" -#: ../src/main.c:380 +#: ../src/main.c:382 #, c-format msgid "Unable parse command line: %s\n" msgstr "Nemožno spracovať príkazový riadok: %s\n" @@ -131,433 +131,442 @@ msgid "Yad notification" msgstr "Yad upozornenie" -#: ../src/list.c:483 +#: ../src/list.c:508 msgid "Add row" msgstr "Pridať riadok" -#: ../src/list.c:492 +#: ../src/list.c:517 msgid "Delete row" msgstr "Odstrániť riadok" -#: ../src/list.c:521 +#: ../src/list.c:546 #, 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:54 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Nastaviť názov dialógu" -#: ../src/option.c:55 +#: ../src/option.c:56 msgid "TITLE" msgstr "NÁZOV" -#: ../src/option.c:60 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Nastaviť ikonu okna" -#: ../src/option.c:61 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "CESTA_IKON" -#: ../src/option.c:66 +#: ../src/option.c:67 msgid "Set the width" msgstr "Nastaviť šírku" -#: ../src/option.c:67 +#: ../src/option.c:68 msgid "WIDTH" msgstr "ŠÍRKA" -#: ../src/option.c:72 +#: ../src/option.c:73 msgid "Set the height" msgstr "Nastaviť šírku" -#: ../src/option.c:73 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "VÝŠKA" -#: ../src/option.c:78 +#: ../src/option.c:79 msgid "Set the window geometry" msgstr "Nastaviť geometriu okna" -#: ../src/option.c:79 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "WxH+X+Y" -#: ../src/option.c:84 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Nastaviť časový limit dialógu s" -#: ../src/option.c:85 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ČASLIMIT" -#: ../src/option.c:90 +#: ../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)" -#: ../src/option.c:91 +#: ../src/option.c:92 msgid "POS" msgstr "POZÍCIA" -#: ../src/option.c:96 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Nastaviť text dialógu" -#: ../src/option.c:97 ../src/option.c:290 ../src/option.c:296 -#: ../src/option.c:302 ../src/option.c:406 ../src/option.c:632 +#: ../src/option.c:98 ../src/option.c:297 ../src/option.c:303 +#: ../src/option.c:309 ../src/option.c:413 ../src/option.c:651 msgid "TEXT" msgstr "TEXT" -#: ../src/option.c:102 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Nastaviť obrázok dialógu" -#: ../src/option.c:103 +#: ../src/option.c:104 msgid "IMAGE" msgstr "OBRÁZOK" -#: ../src/option.c:108 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "Zobraziť obrázok nad hlavným widgetom" -#: ../src/option.c:114 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Použiť zadanú tému ikon, namiesto predvolenej" -#: ../src/option.c:115 +#: ../src/option.c:116 msgid "THEME" msgstr "TÉMA" -#: ../src/option.c:120 +#: ../src/option.c:121 msgid "Add dialog button (may be used multiple times)" msgstr "Pridať tlačidlo dialógu (možno použiť viackrát)" -#: ../src/option.c:121 +#: ../src/option.c:122 msgid "NAME:ID" msgstr "MENO:ID" -#: ../src/option.c:126 +#: ../src/option.c:127 msgid "Don't show buttons" msgstr "Nezobrazovať tlačidlá"
View file
yad-0.10.2.tar.bz2/po/uk.po -> yad-0.11.0.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-03-28 13:36+0300\n" +"POT-Creation-Date: 2011-04-25 16:09+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Ukrainian\n" @@ -63,26 +63,26 @@ "\n" "Базується на коді Zenity\n" -#: ../src/entry.c:93 ../src/scale.c:39 +#: ../src/entry.c:97 ../src/scale.c:39 #, c-format msgid "Maximum value must be greater than minimum value.\n" msgstr "Максимальне значення повинно бути більше, ніж мінімальне.\n" -#: ../src/entry.c:99 ../src/scale.c:48 +#: ../src/entry.c:103 ../src/scale.c:48 #, c-format msgid "Initial value less than minimal.\n" msgstr "Початкове значення менше за мінімальне.\n" -#: ../src/entry.c:104 ../src/scale.c:53 +#: ../src/entry.c:108 ../src/scale.c:53 #, c-format msgid "Initial value greater than maximum.\n" msgstr "Початкове значенння більше за маскимальне.\n" -#: ../src/form.c:103 +#: ../src/form.c:100 msgid "Select file" msgstr "Обрати файл" -#: ../src/form.c:113 +#: ../src/form.c:106 msgid "Select folder" msgstr "Обрати каталог" @@ -96,7 +96,7 @@ msgid "Unable to open directory %s: %s\n" msgstr "Не можу відкрити каталог %s: %s\n" -#: ../src/main.c:69 ../src/main.c:163 +#: ../src/main.c:69 ../src/main.c:165 #, c-format msgid "%d sec" msgstr "%d сек" @@ -106,7 +106,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Помилка при загрузці іконки вікна %s: %s\n" -#: ../src/main.c:380 +#: ../src/main.c:382 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не вдається розібрати командну строку: %s\n" @@ -130,383 +130,387 @@ msgid "Yad notification" msgstr "Діалог повідомлень" -#: ../src/list.c:483 +#: ../src/list.c:508 msgid "Add row" msgstr "Добавити строку" -#: ../src/list.c:492 +#: ../src/list.c:517 msgid "Delete row" msgstr "Видалити строку" -#: ../src/list.c:521 +#: ../src/list.c:546 #, c-format msgid "No column titles specified for List dialog.\n" msgstr "Не задані заголовоки колонок для діалога зі списком\n" -#: ../src/option.c:54 +#: ../src/option.c:55 msgid "Set the dialog title" msgstr "Задати заголовок діалога" -#: ../src/option.c:55 +#: ../src/option.c:56 msgid "TITLE" msgstr "ЗАГОЛОВОК" -#: ../src/option.c:60 +#: ../src/option.c:61 msgid "Set the window icon" msgstr "Задати іконку діалога" -#: ../src/option.c:61 +#: ../src/option.c:62 msgid "ICONPATH" msgstr "ІКОНКА" -#: ../src/option.c:66 +#: ../src/option.c:67 msgid "Set the width" msgstr "Задати ширину вікна" -#: ../src/option.c:67 +#: ../src/option.c:68 msgid "WIDTH" msgstr "ШИРИНА" -#: ../src/option.c:72 +#: ../src/option.c:73 msgid "Set the height" msgstr "Задати висоту вікна" -#: ../src/option.c:73 +#: ../src/option.c:74 msgid "HEIGHT" msgstr "ВИСОТА" -#: ../src/option.c:78 +#: ../src/option.c:79 msgid "Set the window geometry" msgstr "Задати геометрію вікна" -#: ../src/option.c:79 +#: ../src/option.c:80 msgid "WxH+X+Y" msgstr "ВxШ+X+Y" -#: ../src/option.c:84 +#: ../src/option.c:85 msgid "Set dialog timeout in seconds" msgstr "Задати врем'я роботи діалога в секундах" -#: ../src/option.c:85 +#: ../src/option.c:86 msgid "TIMEOUT" msgstr "ЗАТРИМКА" -#: ../src/option.c:90 +#: ../src/option.c:91 msgid "Show remaining time indicator (top, bottom, left, right)" msgstr "Показувати індикатор затримки (top, bottom, left, right)" -#: ../src/option.c:91 +#: ../src/option.c:92 msgid "POS" msgstr "ПОЗИЦІЯ" -#: ../src/option.c:96 +#: ../src/option.c:97 msgid "Set the dialog text" msgstr "Задати текст діалога" -#: ../src/option.c:97 ../src/option.c:290 ../src/option.c:296 -#: ../src/option.c:302 ../src/option.c:406 ../src/option.c:632 +#: ../src/option.c:98 ../src/option.c:297 ../src/option.c:303 +#: ../src/option.c:309 ../src/option.c:413 ../src/option.c:651 msgid "TEXT" msgstr "ТЕКСТ" -#: ../src/option.c:102 +#: ../src/option.c:103 msgid "Set the dialog image" msgstr "Задати картинку діалога" -#: ../src/option.c:103 +#: ../src/option.c:104 msgid "IMAGE" msgstr "КАРТИНКА" -#: ../src/option.c:108 +#: ../src/option.c:109 msgid "Show image above main widget" msgstr "Показувати картинку над основним віджетом" -#: ../src/option.c:114 +#: ../src/option.c:115 msgid "Use specified icon theme instead of default" msgstr "Використовувати вказану тему іконок" -#: ../src/option.c:115 +#: ../src/option.c:116 msgid "THEME" msgstr "ТЕМА" -#: ../src/option.c:120 +#: ../src/option.c:121 msgid "Add dialog button (may be used multiple times)" msgstr "Додати кнопку (може використовуватись декілька разів)" -#: ../src/option.c:121 +#: ../src/option.c:122 msgid "NAME:ID" msgstr "ИМ'Я:ID" -#: ../src/option.c:126 +#: ../src/option.c:127 msgid "Don't show buttons" msgstr "Не показувати кнопки"
View file
yad-0.10.2.tar.bz2/src/dnd.c -> yad-0.11.0.tar.bz2/src/dnd.c
Changed
@@ -27,14 +27,9 @@ GtkSelectionData *sel, guint info, guint t, gpointer data) { gchar *str = NULL; - const guchar *sdata; GdkAtom stgt; - gint slen, sfmt; - sdata = gtk_selection_data_get_data (sel); stgt = gtk_selection_data_get_target (sel); - slen = gtk_selection_data_get_length (sel); - sfmt = gtk_selection_data_get_format (sel); if (gtk_targets_include_uri (&stgt, 1)) {
View file
yad-0.10.2.tar.bz2/src/entry.c -> yad-0.11.0.tar.bz2/src/entry.c
Changed
@@ -61,7 +61,11 @@ if (options.entry_data.entry_label) { - GtkWidget *l = gtk_label_new (options.entry_data.entry_label); + GtkWidget *l = gtk_label_new (NULL); + if (!options.data.no_markup) + gtk_label_set_markup (GTK_LABEL (l), options.entry_data.entry_label); + else + gtk_label_set_text (GTK_LABEL (l), options.entry_data.entry_label); gtk_box_pack_start (GTK_BOX (w), l, FALSE, FALSE, 1); } @@ -161,7 +165,7 @@ gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE); if (options.entry_data.entry_text) - gtk_entry_set_text (GTK_ENTRY (entry), options.entry_data.entry_text); + gtk_entry_set_text (GTK_ENTRY (entry), options.entry_data.entry_text); if (options.entry_data.hide_text) g_object_set (G_OBJECT (entry), "visibility", FALSE, NULL);
View file
yad-0.10.2.tar.bz2/src/form.c -> yad-0.11.0.tar.bz2/src/form.c
Changed
@@ -46,15 +46,24 @@ { YadField *fld = g_slist_nth_data (options.form_data.fields, i); + /* add field label */ + if (fld->type != YAD_FIELD_CHECK) + { + l = gtk_label_new (NULL); + if (!options.data.no_markup) + gtk_label_set_markup (GTK_LABEL (l), fld->name); + else + gtk_label_set_text (GTK_LABEL (l), fld->name); + gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); + gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); + } + + /* add field entry */ switch (fld->type) { case YAD_FIELD_SIMPLE: case YAD_FIELD_HIDDEN: case YAD_FIELD_READ_ONLY: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - e = gtk_entry_new (); g_signal_connect (G_OBJECT (e), "activate", G_CALLBACK (form_activate_cb), dlg); if (fld->type == YAD_FIELD_HIDDEN) @@ -66,10 +75,6 @@ break; case YAD_FIELD_NUM: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - e = gtk_spin_button_new_with_range (0.0, 65525.0, 1.0); gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); fields = g_slist_append (fields, e); @@ -82,10 +87,6 @@ break; case YAD_FIELD_COMBO: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - #if GTK_CHECK_VERSION(2,24,0) e = gtk_combo_box_text_new (); #else @@ -96,40 +97,24 @@ break; case YAD_FIELD_FILE: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - e = gtk_file_chooser_button_new (_("Select file"), GTK_FILE_CHOOSER_ACTION_OPEN); gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); fields = g_slist_append (fields, e); break; case YAD_FIELD_DIR: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - e = gtk_file_chooser_button_new (_("Select folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); fields = g_slist_append (fields, e); break; case YAD_FIELD_FONT: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - e = gtk_font_button_new (); gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); fields = g_slist_append (fields, e); break; case YAD_FIELD_COLOR: - l = gtk_label_new (fld->name); - gtk_misc_set_alignment (GTK_MISC (l), options.form_data.align, 0.5); - gtk_table_attach (GTK_TABLE (w), l, 0, 1, i, i + 1, GTK_FILL, 0, 5, 5); - e = gtk_color_button_new (); gtk_table_attach (GTK_TABLE (w), e, 1, 2, i, i + 1, GTK_EXPAND | GTK_FILL, 0, 5, 5); fields = g_slist_append (fields, e);
View file
yad-0.10.2.tar.bz2/src/list.c -> yad-0.11.0.tar.bz2/src/list.c
Changed
@@ -91,6 +91,87 @@ gtk_tree_path_free (path); } +static void +tooltip_cb (GtkWidget * w, gint x, gint y, + gboolean kmode, GtkTooltip * tip, + gpointer data) +{ + GtkTreeModel *model = NULL; + GtkTreePath *path = NULL; + GtkTreeIter iter; + + if (gtk_tree_view_get_tooltip_context (GTK_TREE_VIEW (list_view), &x, &y, kmode, + &model, &path, &iter)) + { + GtkTreeViewColumn *col = NULL; + GList *cols, *node; + guint colx = 0; + + /* find current column */ + cols = gtk_tree_view_get_columns (GTK_TREE_VIEW (list_view)); + for (node = cols; node != NULL && col == NULL; node = node->next) + { + GtkTreeViewColumn *checkcol = (GtkTreeViewColumn*) node->data; + + if (x >= colx && x < (colx + gtk_tree_view_column_get_width (checkcol))) + col = checkcol; + else + colx += gtk_tree_view_column_get_width (checkcol); + } + g_list_free(cols); + + /* set tolltip */ + if (col) + { + gint cnum; + GList *cells; + GtkCellRenderer *cell; + YadColumn *yc; + gchar *text = NULL; + + cells = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (col)); + cell = GTK_CELL_RENDERER (g_list_nth_data (cells, 0)); + cnum = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (cell), "column")); + g_list_free (cells); + + yc = (YadColumn *) g_slist_nth_data (options.list_data.columns, cnum); + switch (yc->type) + { + case YAD_COLUMN_NUM: + { + gint64 nval; + gtk_tree_model_get (model, &iter, cnum, &nval, -1); + text = g_strdup_printf ("%d", nval); + break; + } + case YAD_COLUMN_FLOAT: + { + gdouble nval; + gtk_tree_model_get (model, &iter, cnum, &nval, -1); + text = g_strdup_printf ("%lf", nval); + break; + } + case YAD_COLUMN_TOOLTIP: + case YAD_COLUMN_TEXT: + { + gchar *cval, *uval; + gtk_tree_model_get (model, &iter, cnum, &cval, -1); + uval = unescape_markup (cval); + text = g_strdup_printf ("%s", uval); + g_free (uval); + break; + } + } + + if (text) + { + gtk_tooltip_set_markup (tip, text); + g_free (text); + } + } + } +} + static GtkTreeModel * create_model (gint n_columns) { @@ -98,7 +179,7 @@ GType *ctypes; gint i; - ctypes = g_new0 (GType, n_columns); + ctypes = g_new0 (GType, n_columns + 1); if (options.list_data.checkbox) { @@ -143,8 +224,9 @@ break; } } + ctypesn_columns = PANGO_TYPE_ELLIPSIZE_MODE; - store = gtk_list_store_newv (n_columns, ctypes); + store = gtk_list_store_newv (n_columns + 1, ctypes); return GTK_TREE_MODEL (store); } @@ -210,6 +292,7 @@ g_signal_connect (renderer, "edited", G_CALLBACK (cell_edited_cb), NULL); } column = gtk_tree_view_column_new_with_attributes (col->name, renderer, "markup", i, NULL); + gtk_tree_view_column_add_attribute (column, renderer, "ellipsize", n_columns); if (fore_col != -1) gtk_tree_view_column_add_attribute (column, renderer, "foreground", fore_col); if (back_col != -1) @@ -217,7 +300,7 @@ if (font_col != -1) gtk_tree_view_column_add_attribute (column, renderer, "font", font_col); gtk_tree_view_column_set_sort_column_id (column, i); - gtk_tree_view_column_set_resizable (column, TRUE); + gtk_tree_view_column_set_resizable (column, TRUE); break; } gtk_tree_view_append_column (GTK_TREE_VIEW (list_view), column); @@ -229,6 +312,14 @@ gtk_tree_view_column_set_expand (column, TRUE); } } + + if (options.list_data.checkbox && !options.list_data.search_column) + options.list_data.search_column += 1; + if (options.list_data.search_column <= n_columns) + { + options.list_data.search_column -= 1; + gtk_tree_view_set_search_column (GTK_TREE_VIEW (list_view), options.list_data.search_column); + } } static gboolean @@ -286,6 +377,9 @@ if (column_count == n_columns) { + /* add eliipsize */ + gtk_list_store_set (GTK_LIST_STORE (model), &iter, column_count, + options.list_data.ellipsize, -1); /* We're starting a new row */ column_count = 0; row_count++; @@ -411,6 +505,8 @@ } i++; } + /* set ellipsize */ + gtk_list_store_set (GTK_LIST_STORE (model), &iter, n_columns, options.list_data.ellipsize, -1); } if (settings.always_selected) @@ -586,6 +682,13 @@ break; } } + /* set tooltip callback if no tooltip column */ + if (i == n_columns) + { + gtk_widget_set_has_tooltip (list_view, TRUE); + g_signal_connect (G_OBJECT (list_view), "query-tooltip", + G_CALLBACK (tooltip_cb), NULL); + } return w; } @@ -649,7 +752,7 @@ print_col (model, iter, col - 1); else { - for (i = 0; i < gtk_tree_model_get_n_columns (model); i++) + for (i = 0; i < gtk_tree_model_get_n_columns (model) - 1; i++) print_col (model, iter, i); } g_printf ("\n"); @@ -659,7 +762,7 @@ print_all (GtkTreeModel *model) { GtkTreeIter iter; - gint i, cols = gtk_tree_model_get_n_columns (model); + gint i, cols = gtk_tree_model_get_n_columns (model) - 1; if (gtk_tree_model_get_iter_first (model, &iter)) { @@ -722,7 +825,7 @@ if (chk) { gint i; - for (i = 0; i < gtk_tree_model_get_n_columns (model); i++) + for (i = 0; i < gtk_tree_model_get_n_columns (model) - 1; i++) print_col (model, &iter, i); g_printf ("\n"); }
View file
yad-0.10.2.tar.bz2/src/main.c -> yad-0.11.0.tar.bz2/src/main.c
Changed
@@ -117,7 +117,9 @@ gtk_window_set_resizable (GTK_WINDOW (dlg), !options.data.fixed); gtk_window_set_keep_above (GTK_WINDOW (dlg), options.data.ontop); gtk_window_set_decorated (GTK_WINDOW (dlg), !options.data.undecorated); - + gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), options.data.skip_taskbar); + gtk_window_set_skip_pager_hint (GTK_WINDOW (dlg), options.data.skip_taskbar); + /* set window size and position */ if (!options.data.geometry) { @@ -191,10 +193,10 @@ { gchar *buf = g_strcompress (options.data.dialog_text); text = gtk_label_new (NULL); - if (options.data.no_markup) - gtk_label_set_text (GTK_LABEL (text), buf); - else + if (!options.data.no_markup) gtk_label_set_markup (GTK_LABEL (text), buf); + else + gtk_label_set_text (GTK_LABEL (text), buf); gtk_misc_set_alignment (GTK_MISC (text), 0.0, 0.5); if (options.data.image_on_top) gtk_box_pack_start (GTK_BOX (hbox2), text, FALSE, FALSE, 2);
View file
yad-0.10.2.tar.bz2/src/option.c -> yad-0.11.0.tar.bz2/src/option.c
Changed
@@ -29,6 +29,7 @@ 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 about_mode = FALSE; static gboolean version_mode = FALSE; @@ -182,6 +183,12 @@ &options.data.undecorated, N_("Set window undecorated"), NULL }, + { "skip-taskbar", 0, + 0, + G_OPTION_ARG_NONE, + &options.data.skip_taskbar, + N_("Don't show window in taskbar"), + NULL }, { "kill-parent", 0, 0, G_OPTION_ARG_NONE, @@ -556,6 +563,12 @@ &options.list_data.print_all, N_("Print all data from list"), NULL }, + { "ellipsize", 0, + 0, + G_OPTION_ARG_CALLBACK, + set_ellipsize, + N_("Set ellipsize mode for text columns (TYPE - NONE, START, MIDDLE or END)"), + N_("TYPE") }, { "print-column", 0, 0, G_OPTION_ARG_INT, @@ -574,6 +587,12 @@ &options.list_data.expand_column, N_("Set the column expandable by default. 0 sets all columns expandable"), N_("NUMBER") }, + { "search-column", 0, + 0, + G_OPTION_ARG_INT, + &options.list_data.search_column, + N_("Set the quick search column. Default is first column. Set it to 0 for disable searching"), + N_("NUMBER") }, { "limit", 0, 0, G_OPTION_ARG_INT, @@ -993,6 +1012,25 @@ return TRUE; } +static gboolean +set_ellipsize (const gchar *option_name, + const gchar *value, + gpointer data, GError **err) +{ + if (g_ascii_strcasecmp (value, "none") == 0) + options.list_data.ellipsize = PANGO_ELLIPSIZE_NONE; + else if (g_ascii_strcasecmp (value, "start") == 0) + options.list_data.ellipsize = PANGO_ELLIPSIZE_START; + else if (g_ascii_strcasecmp (value, "middle") == 0) + options.list_data.ellipsize = PANGO_ELLIPSIZE_MIDDLE; + else if (g_ascii_strcasecmp (value, "end") == 0) + options.list_data.ellipsize = PANGO_ELLIPSIZE_END; + else + g_printerr (_("Unknown ellipsize type: %s\n"), value); + + return TRUE; +} + void yad_set_mode (void) { @@ -1063,6 +1101,7 @@ options.data.center = FALSE; options.data.mouse = FALSE; options.data.undecorated = FALSE; + options.data.skip_taskbar = FALSE; /* Initialize common data */ options.common_data.uri = NULL; @@ -1123,8 +1162,10 @@ options.list_data.print_all = FALSE; options.list_data.print_column = 0; options.list_data.hide_column = 0; - options.list_data.expand_column = -1; + options.list_data.expand_column = -1; // must be -1 for disable expand by default (keep the original behavior) + options.list_data.search_column = 0; options.list_data.limit = 0; + options.list_data.ellipsize = PANGO_ELLIPSIZE_NONE; /* Initialize notification data */ options.notification_data.listen = FALSE;
View file
yad-0.10.2.tar.bz2/src/yad.h -> yad-0.11.0.tar.bz2/src/yad.h
Changed
@@ -126,6 +126,7 @@ gboolean center; gboolean mouse; gboolean undecorated; + gboolean skip_taskbar; } YadData; typedef struct { @@ -183,10 +184,12 @@ gboolean no_headers; gboolean checkbox; gboolean print_all; - guint print_column; - guint hide_column; - guint expand_column; + gint print_column; + gint hide_column; + gint expand_column; + gint search_column; guint limit; + PangoEllipsizeMode ellipsize; } YadListData; 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
.