Your message dated Thu, 01 May 2008 13:02:25 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#477144: fixed in xfprint4 4.4.2-3
has caused the Debian Bug report #477144,
regarding xfprint4: dialog settings not taken into account
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
477144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477144
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: xfprint4
Version: 4.4.2-1~bpo40+2+fco
Severity: normal
Tags: patch

xfprint only uses settings of its start time to print, not the ones set in the 
print dialog.
If one wants to take new settings into account, one must start it, set 
settings, save them, close, restart it and at last print.  If one wants to 
change settings for a single print, it's not directly possible without 
double-save operations.

Reading the source confirmed the observed behaviour.  Correction is simple, 
attaching a patch file...

NB: I'm running a BPO version, but the bug exists in both Debian's stable 
(4.3.99) and upstream (also SVN) versions.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages xfprint4 depends on:
ii  libatk1.0-0            1.12.4-3          The ATK accessibility toolkit
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libcairo2              1.2.4-4.1+etch1   The Cairo 2D vector graphics libra
ii  libcupsys2             1.2.7-4etch3      Common UNIX Printing System(tm) - 
ii  libfontconfig1         2.4.2-1.2         generic font configuration library
ii  libfreetype6           2.2.1-5+etch2     FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.12.4-2          The GLib library of C routines
ii  libgnutls13            1.4.4-3           the GNU TLS library - runtime libr
ii  libgtk2.0-0            2.8.20-7          The GTK+ graphical user interface 
ii  libpango1.0-0          1.14.8-5          Layout and rendering of internatio
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxcursor1            1.1.7-4           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxfce4mcs-client3    4.4.2-1~bpo40+1   Client library for Xfce4 configure
ii  libxfce4mcs-manager3   4.4.2-1~bpo40+1   Manager library for Xfce4 configur
ii  libxfce4util4          4.4.2-1~bpo40+1   Utility functions library for Xfce
ii  libxfcegui4-4          4.4.2-1~bpo40+1   Basic GUI C functions for Xfce4
ii  libxfixes3             1:4.0.1-5         X11 miscellaneous 'fixes' extensio
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.1-4.1       X11 Xinerama extension library
ii  libxrandr2             2:1.1.0.2-5       X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  zlib1g                 1:1.2.3-13        compression library - runtime

xfprint4 recommends no packages.
Ce message est à l'attention exclusive des destinataires désignés. Il peut 
contenir des informations confidentielles. Si vous n'êtes pas destinataire du 
message, merci d'en avertir immédiatement l'expéditeur et de détruire ce 
message. Le contenu de ce message ne pourrait engager la responsabilité de 
Steria que s'il a été émis par une personne dûment habilitée agissant dans le 
strict cadre de ses fonctions et à des fins non étrangères à ses attributions. 
Bien que les meilleurs efforts soient faits pour maintenir cette transmission 
exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa 
responsabilité ne saurait être engagée pour tout dommage résultant d'un virus 
transmis.  
This message is intended exclusively for the designated addressee. It may 
contain confidential material. If you are not the correct addressee, please 
notify the sender immediately and destroy the message. The content of this 
message will engage the responsibility of Steria only if it has been sent by an 
authorized person acting in the strict scope of his functions and for purposes 
that are related to his competence. Although reasonable efforts have been made 
to keep this transmission free from viruses, the sender will not be liable for 
damages caused by a transmitted virus.  
--- xfprint-4.4.2.orig/xfprint/print_dialog.c	2007-11-17 20:31:59.000000000 +0100
+++ xfprint-4.4.2+fco/xfprint/print_dialog.c	2008-04-21 13:19:57.000000000 +0200
@@ -422,6 +422,19 @@
   printers_free (printers);
 }
 
+static void
+print_dialog_get_settings (XfprintSettings *settings, PrintDialog * dlg)
+{
+  PrintDialogPrivate *priv = PRINT_DIALOG_GET_PRIVATE (dlg);
+
+  sheets_page_get_settings (SHEETS_PAGE (priv->sheets), &settings->sheets);
+  vpages_page_get_settings (VPAGES_PAGE (priv->vpages), &settings->vpages);
+  pprint_page_get_settings (PPRINT_PAGE (priv->pprint), &settings->pprint);
+  input_page_get_settings (INPUT_PAGE (priv->input), &settings->input);
+  head_page_get_settings (HEAD_PAGE (priv->head), &settings->headings);
+  settings->copies = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (priv->copies));
+}
+
 /*************/
 /* callbacks */
 /*************/
@@ -437,6 +450,7 @@
     XfprintFilter *filter;
     
     filters = xfprint_filterlist_new ();
+    print_dialog_get_settings (priv->settings, dlg);
     
     if (GTK_WIDGET_IS_SENSITIVE (priv->entry_file)) {
       ofile = g_strdup (gtk_entry_get_text (GTK_ENTRY (priv->entry_file)));
@@ -495,17 +509,11 @@
 static void
 button_save_clicked_cb (GtkWidget * widget, PrintDialog *dlg)
 {
-  PrintDialogPrivate *priv = PRINT_DIALOG_GET_PRIVATE (dlg);
   XfprintSettings *settings;
   
   settings = xfprintsettings_defaults ();
 
-  sheets_page_get_settings (SHEETS_PAGE (priv->sheets), &settings->sheets);
-  vpages_page_get_settings (VPAGES_PAGE (priv->vpages), &settings->vpages);
-  pprint_page_get_settings (PPRINT_PAGE (priv->pprint), &settings->pprint);
-  input_page_get_settings (INPUT_PAGE (priv->input), &settings->input);
-  head_page_get_settings (HEAD_PAGE (priv->head), &settings->headings);
-  settings->copies = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (priv->copies));
+  print_dialog_get_settings (settings, dlg);
 
   xfprintsettings_save (settings);
   xfprintsettings_free (settings);

--- End Message ---
--- Begin Message ---
Source: xfprint4
Source-Version: 4.4.2-3

We believe that the bug you reported is fixed in the latest version of
xfprint4, which is due to be installed in the Debian FTP archive:

xfprint4_4.4.2-3.diff.gz
  to pool/main/x/xfprint4/xfprint4_4.4.2-3.diff.gz
xfprint4_4.4.2-3.dsc
  to pool/main/x/xfprint4/xfprint4_4.4.2-3.dsc
xfprint4_4.4.2-3_amd64.deb
  to pool/main/x/xfprint4/xfprint4_4.4.2-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yves-Alexis Perez <[EMAIL PROTECTED]> (supplier of updated xfprint4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 01 May 2008 14:42:58 +0200
Source: xfprint4
Binary: xfprint4
Architecture: source amd64
Version: 4.4.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian Xfce Maintainers <[email protected]>
Changed-By: Yves-Alexis Perez <[EMAIL PROTECTED]>
Description: 
 xfprint4   - Printer GUI for Xfce4
Closes: 472066 477144
Changes: 
 xfprint4 (4.4.2-3) unstable; urgency=low
 .
   * debian/patches:
     - 02_refresh-new-settings added, refresh settings when they are set, not
       only at start time. Patch from Fabien Coutant.            closes: #477144
     - 03_check-default-printer added, fix segfault when no default printer is
       selected (even with lpr backend).
       Xfce #3816, #4044, r26588.                                closes: #472066
Checksums-Sha1: 
 fda73dd58c1f2c4fd878ba2e330591842ceefb51 1427 xfprint4_4.4.2-3.dsc
 06b03556a17fe249803b82a8cedc353e73a516ff 17556 xfprint4_4.4.2-3.diff.gz
 3daca4376b16d7736ee94a81c72db3f98dc528f6 585284 xfprint4_4.4.2-3_amd64.deb
Checksums-Sha256: 
 3759403c80b0d86f919bdd585b30b8ffdfcdd0a41a037f1f6a7e516ca98d1007 1427 
xfprint4_4.4.2-3.dsc
 97cf5e5da8e8d86039241a63cc59ff068c1bbef78f5e25da32a602562ce0e63a 17556 
xfprint4_4.4.2-3.diff.gz
 c559cf864815b67376ce26eb02d4b8bbfe0b6fd896735bde73997988e0e5f8db 585284 
xfprint4_4.4.2-3_amd64.deb
Files: 
 2bb7711f650bb4ad11a1ec51e05d3576 1427 x11 optional xfprint4_4.4.2-3.dsc
 bbe25c1d28dfe0eba0d89d38edfa43ee 17556 x11 optional xfprint4_4.4.2-3.diff.gz
 d4197a77f2ea139c4fae31a4e36ee3d3 585284 x11 optional xfprint4_4.4.2-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIGbz3TUTAIMXAW64RAjzIAJ0U4j/t3D7YATI0jTUkWRW0og0EBACfb24s
3b4ROK2uvFyUPyh60YDotPg=
=+ZVf
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel

Reply via email to