Hello community,

here is the log from the commit of package gtk2 for openSUSE:Factory checked in 
at 2014-02-15 17:16:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-31 
16:03:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gtk2.new/gtk2.changes   2014-02-15 
17:16:35.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Feb  7 18:33:55 UTC 2014 - mgo...@suse.com
+
+- Add gtk2-default-printer.patch: save last-used printer as default
+  (bgo#577642).
+
+-------------------------------------------------------------------

New:
----
  gtk2-default-printer.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk2.spec ++++++
--- /var/tmp/diff_new_pack.Ot2k2R/_old  2014-02-15 17:16:36.000000000 +0100
+++ /var/tmp/diff_new_pack.Ot2k2R/_new  2014-02-15 17:16:36.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gtk2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -53,6 +53,8 @@
 Patch53:        gtk-path-local.patch
 # PATCH-FIX-UPSTREAM gtk2-print-to-file.patch bnc#839089 bgo#710746 bgo#711177 
mgo...@suse.com -- Fix printing to file with no directory specified. bnc839089 
bgo711177
 Patch54:        gtk2-print-to-file.patch
+# PATCH-FIX-UPSTREAM gtk2-default-printer.patch bgo#577642 mgo...@suse.com -- 
Save selected printer as default
+Patch55:        gtk2-default-printer.patch
 BuildRequires:  atk-devel
 BuildRequires:  cairo-devel
 BuildRequires:  cups-devel
@@ -330,6 +332,7 @@
 %patch24 -p1
 %patch53
 %patch54 -p1
+%patch55 -p1
 gnome-patch-translation-update
 
 %build

++++++ gtk2-default-printer.patch ++++++
>From bd9ed0462cbfb84b7c273c50f7ccb916ef6ff108 Mon Sep 17 00:00:00 2001
From: Chenthill Palanisamy <pchenth...@novell.com>
Date: Tue, 5 Nov 2013 13:30:33 +0100
Subject: [PATCH] Do not reset the waiting_for_printer on status change

* gtk/gtkprintunixdialog.c (printer_status_cb): Do not reset the
waiting_for_printer on status change as the default printer might
get added later.

https://bugzilla.gnome.org/show_bug.cgi?id=577642

diff -ur gtk+-2.24.22.orig/gtk/gtkprintunixdialog.c 
gtk+-2.24.22/gtk/gtkprintunixdialog.c
--- gtk+-2.24.22.orig/gtk/gtkprintunixdialog.c  2014-02-07 14:05:41.432196666 
-0600
+++ gtk+-2.24.22/gtk/gtkprintunixdialog.c       2014-02-07 14:06:08.037864049 
-0600
@@ -800,7 +800,9 @@
   /* When the pause state change then we need to update sensitive property
    * of GTK_RESPONSE_OK button inside of selected_printer_changed function. */
   selection = gtk_tree_view_get_selection (GTK_TREE_VIEW 
(priv->printer_treeview));
+  priv->internal_printer_change = TRUE;
   selected_printer_changed (selection, dialog);
+  priv->internal_printer_change = FALSE;
 
   if (gtk_print_backend_printer_list_is_done (backend) &&
       gtk_printer_is_default (printer) &&
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to