Projects
Extra
yad
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
yad.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Apr 08 00:00:00 UTC 2011 - detlef@links2linux.de + +- new upstream version <0.10.1> + * fix URI handling in dnd dialog for non-gtk applications + * fix sizing for gtk3 builds + +------------------------------------------------------------------- Fri Apr 01 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <0.10.0>
View file
yad.spec
Changed
@@ -1,7 +1,7 @@ # norootforbuild Name: yad -Version: 0.10.0 +Version: 0.10.1 Release: 1 Summary: A fork of Zenity with many improvements
View file
yad-0.10.0.tar.bz2/ChangeLog -> yad-0.10.1.tar.bz2/ChangeLog
Changed
@@ -1,3 +1,20 @@ +2011-04-05 04:10 ananasik + + * src/main.c: fix issue 51 + +2011-04-04 10:38 ananasik + + * configure.ac, src/dnd.c: fix issue 50 + +2011-03-29 04:05 ananasik + + * src/dnd.c: some cleanups + +2011-03-28 10:39 ananasik + + * ChangeLog, NEWS, po/de.po, po/ru.po, po/sk.po, po/uk.po: release + 0.10.0 + 2011-03-28 10:34 ananasik * src/dnd.c: fix dnd behavior
View file
yad-0.10.0.tar.bz2/NEWS -> yad-0.10.1.tar.bz2/NEWS
Changed
@@ -1,3 +1,7 @@ +Version 0.10.1 + - fix URI handling in dnd dialog for non-gtk applications + - fix sizing for gtk3 builds + Version 0.10.0 - fix in markup tooltips in list and icons dialogs - limits for number of rows in lists
View file
yad-0.10.0.tar.bz2/configure -> yad-0.10.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.10.0. +# Generated by GNU Autoconf 2.68 for YAD 0.10.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.10.0' -PACKAGE_STRING='YAD 0.10.0' +PACKAGE_VERSION='0.10.1' +PACKAGE_STRING='YAD 0.10.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.10.0 to adapt to many kinds of systems. +\`configure' configures YAD 0.10.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.10.0:";; + short | recursive ) echo "Configuration of YAD 0.10.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.10.0 +YAD configure 0.10.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.10.0, which was +It was created by YAD $as_me 0.10.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.10.0' + VERSION='0.10.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.10.0, which was +This file was extended by YAD $as_me 0.10.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.10.0 +YAD config.status 0.10.1 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"
View file
yad-0.10.0.tar.bz2/configure.ac -> yad-0.10.1.tar.bz2/configure.ac
Changed
@@ -1,4 +1,4 @@ -AC_INIT(YAD, 0.10.0, http://code.google.com/p/yad/issues/entry, yad, http://code.google.com/p/yad) +AC_INIT(YAD, 0.10.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.10.0.tar.bz2/src/dnd.c -> yad-0.10.1.tar.bz2/src/dnd.c
Changed
@@ -16,23 +16,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Copyright (C) 2008-2011, Victor Ananjevsky <ananasik@gmail.com> - * */ /* code for working with dnd targets gets from gnome-terminal */ #include "yad.h" -enum { - TARGET_MOZ_URL, - TARGET_NS_URL -}; - -static GtkTargetEntry tgt = { - { "text/x-moz-url", 0, TARGET_MOZ_URL }, - { "_NETSCAPE_URL", 0, TARGET_NS_URL } -}; - static void drop_data_cb (GtkWidget *w, GdkDragContext *dc, gint x, gint y, GtkSelectionData *sel, guint info, guint t, gpointer data) @@ -54,7 +43,7 @@ uris = gtk_selection_data_get_uris (sel); if (!uris) - return; + return; while (urisi) { @@ -77,75 +66,9 @@ } else if (gtk_targets_include_text (&stgt, 1)) { - gchar *str, *dstr; - str = gtk_selection_data_get_text (sel); if (str) { - dstr = g_uri_unescape_string (str, NULL); - if (options.common_data.command) - { - gchar *action = g_strdup_printf ("%s '%s'", options.common_data.command, dstr); - g_spawn_command_line_async (action, NULL); - g_free (action); - } - else - { - g_printf ("%s\n", dstr); - fflush (stdout); - } - g_free (dstr); - g_free(str); - } - } - else - { - gchar *str = NULL; - - switch (info) - { - case TARGET_MOZ_URL: - { - gchar *nl; - gsize len; - - /* MOZ_URL is in UCS-2 but in format 8. BROKEN! - * - * The data contains the URL, a \n, then the title of the web page. - */ - if (sfmt != 8 || slen == 0 || (slen % 2) != 0) - return; - - if ((str = g_utf16_to_utf8 ((const gunichar2*) sdata, slen / 2, - NULL, NULL, NULL)) == NULL) - return; - - nl = strchr (str, '\n'); - if (nl) *nl = '\0'; - - break; - } - case TARGET_NS_URL: - { - gchar *nl; - gsize len; - - /* The data contains the URL, a \n, then the - * title of the web page. - */ - if (slen < 0 || sfmt != 8) - return; - - str = g_strndup ((char *) sdata, slen); - nl = strchr (str, '\n'); - if (nl) *nl = '\0'; - - break; - } - } - - if (str) - { gchar *dstr = g_uri_unescape_string (str, NULL); if (options.common_data.command) { @@ -159,7 +82,7 @@ fflush (stdout); } g_free (dstr); - g_free (str); + g_free(str); } } } @@ -174,7 +97,6 @@ tlist = gtk_target_list_new (NULL, 0); gtk_target_list_add_uri_targets (tlist, 0); gtk_target_list_add_text_targets (tlist, 0); - gtk_target_list_add_table (tlist, tgt, G_N_ELEMENTS (tgt)); tgts = gtk_target_table_new_from_list (tlist, &ntgts);
View file
yad-0.10.0.tar.bz2/src/main.c -> yad-0.10.1.tar.bz2/src/main.c
Changed
@@ -143,8 +143,8 @@ /* add top label widgets */ hbox = hbox2 = gtk_hbox_new (FALSE, 0); - gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area - (GTK_DIALOG (dlg))), hbox); + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), + hbox, TRUE, TRUE, 5); vbox = gtk_vbox_new (FALSE, 0); /* add timeout indicator */ @@ -284,7 +284,7 @@ if (options.data.geometry) gtk_window_parse_geometry (GTK_WINDOW (dlg), options.data.geometry); - gtk_widget_show_all (dlg); + gtk_widget_show (dlg); /* set timeout */ if (options.data.timeout)
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
.