Projects
Extra
yad
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 15
View file
yad.changes
Changed
@@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Sat Jun 18 00:00:00 UTC 2011 - detlef@links2linux.de + +- new upstream version <0.12.2> + + * wrap dialog text when width or geometry specified + * fix icon handling in motification + * fix timeout indicator orientation + * fix typo in man page and russian translation + +------------------------------------------------------------------- Tue Jun 07 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <0.12.1>
View file
yad.spec
Changed
@@ -1,8 +1,8 @@ # norootforbuild Name: yad -Version: 0.12.1 -Release: 2 +Version: 0.12.2 +Release: 1 Summary: A fork of Zenity with many improvements License: GPLv3
View file
yad-0.12.1.tar.bz2/ChangeLog -> yad-0.12.2.tar.bz2/ChangeLog
Changed
@@ -1,3 +1,52 @@ +2011-06-18 17:57 ananasik + + * src/main.c: fix previous commit + +2011-06-18 17:50 ananasik + + * src/main.c: fix timeout indication orientation + +2011-06-18 17:39 ananasik + + * po/de.po, po/ru.po, po/sk.po, po/uk.po: fix typo in russian + translation + +2011-06-18 17:36 ananasik + + * data/yad.1: fix markup in man page + +2011-06-17 10:59 ananasik + + * src/notification.c: fix initial set of notification icon + +2011-06-16 13:54 ananasik + + * src/notification.c: fix icon handling in notification + +2011-06-16 13:12 ananasik + + * src/main.c: fix previous commit + +2011-06-16 13:11 ananasik + + * src/main.c: enable text wrap when geometry specified + +2011-06-11 05:34 ananasik + + * TODO: update TODO + +2011-06-07 15:37 ananasik + + * configure.ac: fix builds with gtk3 + +2011-06-06 03:46 ananasik + + * src/form.c: remove deprecated functions for build with gtk+-3 + +2011-06-04 05:51 ananasik + + * ChangeLog, NEWS, configure.ac, src/Makefile.am: release 0.12.0 + 2011-05-30 07:04 ananasik * configure.ac, data/yad.1, po/de.po, po/ru.po, po/sk.po, po/uk.po,
View file
yad-0.12.1.tar.bz2/NEWS -> yad-0.12.2.tar.bz2/NEWS
Changed
@@ -1,3 +1,12 @@ +Version 0.12.2 + - wrap dialog text when width or geometry specified + - fix icon handling in motification + - fix timeout indicator orientation + - fix typo in man page and russian translation + +Version 0.12.1 + - fix builds with gtk3 + Version 0.12.0 - add icons to entry dialog - add --details option to calendar dialog
View file
yad-0.12.1.tar.bz2/TODO -> yad-0.12.2.tar.bz2/TODO
Changed
@@ -1,3 +1,4 @@ - Parse ESC sequences in text-info dialog +- Add ability to cutomize yad's look&feel through gtkrc
View file
yad-0.12.1.tar.bz2/configure -> yad-0.12.2.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.12.1. +# Generated by GNU Autoconf 2.68 for YAD 0.12.2. # # 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.12.1' -PACKAGE_STRING='YAD 0.12.1' +PACKAGE_VERSION='0.12.2' +PACKAGE_STRING='YAD 0.12.2' 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.12.1 to adapt to many kinds of systems. +\`configure' configures YAD 0.12.2 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.12.1:";; + short | recursive ) echo "Configuration of YAD 0.12.2:";; 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.12.1 +YAD configure 0.12.2 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.12.1, which was +It was created by YAD $as_me 0.12.2, 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.12.1' + VERSION='0.12.2' 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.12.1, which was +This file was extended by YAD $as_me 0.12.2, 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.12.1 +YAD config.status 0.12.2 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"
View file
yad-0.12.1.tar.bz2/configure.ac -> yad-0.12.2.tar.bz2/configure.ac
Changed
@@ -1,4 +1,4 @@ -AC_INIT(YAD, 0.12.1, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) +AC_INIT(YAD, 0.12.2, 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.12.1.tar.bz2/data/yad.1 -> yad-0.12.2.tar.bz2/data/yad.1
Changed
@@ -299,8 +299,8 @@ \fIFL\fP - file selection button. \fIDIR\fP - directory selection button. \fIFN\fP - font selection button. -\fMFL\fP - select multiple files. Value of this field is a list of files separated by \fIitem-separator\fP. -\fDT\fP - date field. +\fIMFL\fP - select multiple files. Value of this field is a list of files separated by \fIitem-separator\fP. +\fIDT\fP - date field. \fICLR\fP - color selection button. .TP .B \-\-align=TYPE
View file
yad-0.12.1.tar.bz2/po/de.po -> yad-0.12.2.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-05-30 10:02+0300\n" +"POT-Creation-Date: 2011-06-18 20:38+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" @@ -89,17 +89,17 @@ msgid "Select files" msgstr "Datei öffnen" -#: ../src/form.c:85 +#: ../src/form.c:90 #, fuzzy msgid "Select date" msgstr "Datei öffnen" -#: ../src/form.c:205 +#: ../src/form.c:210 #, fuzzy msgid "Select file" msgstr "Datei öffnen" -#: ../src/form.c:211 +#: ../src/form.c:216 msgid "Select folder" msgstr "" @@ -123,7 +123,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Fehler beim Laden von Fenster-Symbol %s: %s\n" -#: ../src/main.c:384 +#: ../src/main.c:386 #, c-format msgid "Unable parse command line: %s\n" msgstr "Kann Befehlszeile nicht einlesen: %s\n" @@ -133,17 +133,17 @@ msgid "Could not load notification icon '%s': %s\n" msgstr "Kann Benachrichtigungs-Symbol '%s' nicht laden: %s" -#: ../src/notification.c:239 +#: ../src/notification.c:236 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Ungültiger UTF-8 Eintrag im Tool-Tip!\n" -#: ../src/notification.c:292 +#: ../src/notification.c:289 #, c-format msgid "Unknown command '%s'\n" msgstr "Befehl '%s' unbekannt\n" -#: ../src/notification.c:328 +#: ../src/notification.c:325 msgid "Yad notification" msgstr "Yad Benachrichtigung"
View file
yad-0.12.1.tar.bz2/po/ru.po -> yad-0.12.2.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-05-30 10:02+0300\n" +"POT-Creation-Date: 2011-06-18 20:38+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Russian\n" @@ -90,15 +90,15 @@ msgid "Select files" msgstr "Выбрать файлы" -#: ../src/form.c:85 +#: ../src/form.c:90 msgid "Select date" msgstr "Выбрать дату" -#: ../src/form.c:205 +#: ../src/form.c:210 msgid "Select file" msgstr "Выбрать файл" -#: ../src/form.c:211 +#: ../src/form.c:216 msgid "Select folder" msgstr "Выбрать каталог" @@ -122,7 +122,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Ошибка при загрузке иконки окна %s: %s\n" -#: ../src/main.c:384 +#: ../src/main.c:386 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не удается разобрать командную строку: %s\n" @@ -132,17 +132,17 @@ msgid "Could not load notification icon '%s': %s\n" msgstr "Не удается загрузить иконку '%s': %s\n" -#: ../src/notification.c:239 +#: ../src/notification.c:236 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неверная последовательность UTF-8 в подсказке!\n" -#: ../src/notification.c:292 +#: ../src/notification.c:289 #, c-format msgid "Unknown command '%s'\n" msgstr "Неизвестная команда '%s'\n" -#: ../src/notification.c:328 +#: ../src/notification.c:325 msgid "Yad notification" msgstr "Диалог уведомлений" @@ -521,7 +521,7 @@ #: ../src/option.c:478 msgid "Set separator character for combobox or scale data" -msgstr "Установить раздяеляющий символ для данных списка или числового поля" +msgstr "Установить разделяющий символ для данных списка или числового поля" #: ../src/option.c:494 msgid "Display icons box dialog"
View file
yad-0.12.1.tar.bz2/po/sk.po -> yad-0.12.2.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-05-30 10:02+0300\n" +"POT-Creation-Date: 2011-06-18 20:38+0300\n" "PO-Revision-Date: 2011-03-27 18:30+0200\n" "Last-Translator: Slavko <linux@slavino.sk>\n" "Language-Team: Slovak <nomail>\n" @@ -89,16 +89,16 @@ msgid "Select files" msgstr "Vyberte súbor" -#: ../src/form.c:85 +#: ../src/form.c:90 #, fuzzy msgid "Select date" msgstr "Vyberte pole" -#: ../src/form.c:205 +#: ../src/form.c:210 msgid "Select file" msgstr "Vyberte súbor" -#: ../src/form.c:211 +#: ../src/form.c:216 msgid "Select folder" msgstr "Vyberte pole" @@ -122,7 +122,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Chyba načítania ikony okna %s: %s\n" -#: ../src/main.c:384 +#: ../src/main.c:386 #, c-format msgid "Unable parse command line: %s\n" msgstr "Nemožno spracovať príkazový riadok: %s\n" @@ -132,17 +132,17 @@ msgid "Could not load notification icon '%s': %s\n" msgstr "Nemožno načítať ikonu upozornenia '%s': %s\n" -#: ../src/notification.c:239 +#: ../src/notification.c:236 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Neplatné UTF-8 v nástrojovom tipe!\n" -#: ../src/notification.c:292 +#: ../src/notification.c:289 #, c-format msgid "Unknown command '%s'\n" msgstr "Neznámy príkaz '%s'\n" -#: ../src/notification.c:328 +#: ../src/notification.c:325 msgid "Yad notification" msgstr "Yad upozornenie"
View file
yad-0.12.1.tar.bz2/po/uk.po -> yad-0.12.2.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-05-30 10:02+0300\n" +"POT-Creation-Date: 2011-06-18 20:38+0300\n" "PO-Revision-Date: 2009-04-30 16:47+0300\n" "Last-Translator: Victor Ananjevsky <ananasik@gmail.com>\n" "Language-Team: Ukrainian\n" @@ -87,15 +87,15 @@ msgid "Select files" msgstr "Обрати файли" -#: ../src/form.c:85 +#: ../src/form.c:90 msgid "Select date" msgstr "Обрати дату" -#: ../src/form.c:205 +#: ../src/form.c:210 msgid "Select file" msgstr "Обрати файл" -#: ../src/form.c:211 +#: ../src/form.c:216 msgid "Select folder" msgstr "Обрати каталог" @@ -119,7 +119,7 @@ msgid "Error loading window icon %s: %s\n" msgstr "Помилка при загрузці іконки вікна %s: %s\n" -#: ../src/main.c:384 +#: ../src/main.c:386 #, c-format msgid "Unable parse command line: %s\n" msgstr "Не вдається розібрати командну строку: %s\n" @@ -129,17 +129,17 @@ msgid "Could not load notification icon '%s': %s\n" msgstr "Не вдається завантажити іконку '%s': %s\n" -#: ../src/notification.c:239 +#: ../src/notification.c:236 #, c-format msgid "Invalid UTF-8 in tooltip!\n" msgstr "Неправильна послідовність UTF-8 у підказці!\n" -#: ../src/notification.c:292 +#: ../src/notification.c:289 #, c-format msgid "Unknown command '%s'\n" msgstr "Невідома команда '%s'\n" -#: ../src/notification.c:328 +#: ../src/notification.c:325 msgid "Yad notification" msgstr "Діалог повідомлень"
View file
yad-0.12.1.tar.bz2/src/main.c -> yad-0.12.2.tar.bz2/src/main.c
Changed
@@ -16,7 +16,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> - * */ #include <locale.h> @@ -155,13 +154,33 @@ if (topb) { if (g_ascii_strcasecmp (options.data.to_indicator, "top") == 0) - gtk_box_pack_start (GTK_BOX (vbox), topb, FALSE, FALSE, 2); + { +#if !GTK_CHECK_VERSION (2,91,0) + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); +#endif + gtk_box_pack_start (GTK_BOX (vbox), topb, FALSE, FALSE, 2); + } else if (g_ascii_strcasecmp (options.data.to_indicator, "bottom") == 0) - gtk_box_pack_end (GTK_BOX (vbox), topb, FALSE, FALSE, 2); + { +#if !GTK_CHECK_VERSION (2,91,0) + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_LEFT_TO_RIGHT); +#endif + gtk_box_pack_end (GTK_BOX (vbox), topb, FALSE, FALSE, 2); + } else if (g_ascii_strcasecmp (options.data.to_indicator, "left") == 0) - gtk_box_pack_start (GTK_BOX (hbox), topb, FALSE, FALSE, 2); + { +#if !GTK_CHECK_VERSION (2,91,0) + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); +#endif + gtk_box_pack_start (GTK_BOX (hbox), topb, FALSE, FALSE, 2); + } else if (g_ascii_strcasecmp (options.data.to_indicator, "right") == 0) - gtk_box_pack_end (GTK_BOX (hbox), topb, FALSE, FALSE, 2); + { +#if !GTK_CHECK_VERSION (2,91,0) + gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (topb), GTK_PROGRESS_BOTTOM_TO_TOP); +#endif + gtk_box_pack_end (GTK_BOX (hbox), topb, FALSE, FALSE, 2); + } if (settings.show_remain) { gchar *lbl = g_strdup_printf (_("%d sec"), options.data.timeout); @@ -200,6 +219,8 @@ else gtk_label_set_text (GTK_LABEL (text), buf); gtk_misc_set_alignment (GTK_MISC (text), 0.0, 0.5); + 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); else
View file
yad-0.12.1.tar.bz2/src/notification.c -> yad-0.12.2.tar.bz2/src/notification.c
Changed
@@ -41,7 +41,7 @@ static GSList *menu_data; static gint exit_code; -static gint icon_size; +static gint icon_size = 16; static void timeout_cb (gpointer data) @@ -142,7 +142,8 @@ GtkWidget *item; int i; - g_return_if_fail (menu_data != NULL); + if (!menu_data) + return; menu = gtk_menu_new (); for (i = 0; i < g_slist_length (menu_data); i++) @@ -214,11 +215,7 @@ if (!g_ascii_strcasecmp (command, "icon")) { - while (*value && g_ascii_isspace (*value)) - value++; - - g_free (icon); - icon = g_strdup (value); + icon = g_strstrip (value); if (gtk_status_icon_get_visible (status_icon) && gtk_status_icon_is_embedded (status_icon)) @@ -332,6 +329,8 @@ if (options.common_data.command) action = g_strdup (options.common_data.command); menu_data = NULL; + + set_icon (); g_signal_connect (status_icon, "activate", G_CALLBACK (activate_cb), NULL);
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
.