commit gtk2 for openSUSE:Factory
Hello community, here is the log from the commit of package gtk2 for openSUSE:Factory checked in at 2013-10-31 16:03:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtk2 (Old) and /work/SRC/openSUSE:Factory/.gtk2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gtk2" Changes: -------- --- /work/SRC/openSUSE:Factory/gtk2/gtk2.changes 2013-10-14 09:27:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gtk2.new/gtk2.changes 2013-10-31 16:03:14.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Oct 30 20:56:50 UTC 2013 - mgorse@suse.com + +- Add gtk2-print-to-file.patch: fix printing to file with no + directory specified (bnc#839089). + +------------------------------------------------------------------- New: ---- gtk2-print-to-file.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk2.spec ++++++ --- /var/tmp/diff_new_pack.aSMIqC/_old 2013-10-31 16:03:15.000000000 +0100 +++ /var/tmp/diff_new_pack.aSMIqC/_new 2013-10-31 16:03:15.000000000 +0100 @@ -51,6 +51,8 @@ # be here instead. # PATCH-FIX-OPENSUSE gtk-path-local.patch Search in /usr/local/%{_lib} by default. bnc369696 bgo534474 Patch53: gtk-path-local.patch +# PATCH-FIX-UPSTREAM gtk2-print-to-file.patch bnc#839089 bgo#710746 bgo#711177 mgorse@suse.com -- Fix printing to file with no directory specified. bnc839089 bgo711177 +Patch54: gtk2-print-to-file.patch BuildRequires: atk-devel BuildRequires: cairo-devel BuildRequires: cups-devel @@ -327,6 +329,7 @@ %patch23 -p1 %patch24 -p1 %patch53 +%patch54 -p1 gnome-patch-translation-update %build ++++++ gtk2-print-to-file.patch ++++++
When printing to a file, the filename was not being propagated if a directory was not specified. https://bugzilla.gnome.org/show_bug.cgi?id=711177 --- gtk/gtkprinteroptionwidget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c index 2f43edf..12fdd6f 100644 --- a/gtk/gtkprinteroptionwidget.c +++ b/gtk/gtkprinteroptionwidget.c @@ -521,7 +521,13 @@ filesave_changed_cb (GtkWidget *button, if (g_uri_parse_scheme (file) != NULL) uri = g_strdup (file); else - uri = g_build_path ("/", gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (priv->combo)), file, NULL); + { + const gchar *chooser_uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (priv->combo)); + if (chooser_uri) + uri = g_build_path ("/", chooser_uri, file, NULL); + else + uri = g_filename_to_uri (file, NULL, NULL); + } } if (uri) -- 1.8.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de