evince r3042 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3042 - in trunk: . shell
- Date: Sun, 25 May 2008 16:39:14 +0000 (UTC)
Author: carlosgc
Date: Sun May 25 16:39:13 2008
New Revision: 3042
URL: http://svn.gnome.org/viewvc/evince?rev=3042&view=rev
Log:
2008-05-25 Carlos Garcia Campos <carlosgc gnome org>
* shell/ev-window.c: (ev_window_print_send),
(ev_window_do_preview_print):
Use the window title as print job name instead of just
"evince-print". Fixes bug #534493.
Modified:
trunk/ChangeLog
trunk/shell/ev-window.c
Modified: trunk/shell/ev-window.c
==============================================================================
--- trunk/shell/ev-window.c (original)
+++ trunk/shell/ev-window.c Sun May 25 16:39:13 2008
@@ -2228,7 +2228,7 @@
GtkPrintJob *job;
GError *error = NULL;
- job = gtk_print_job_new ("evince-print",
+ job = gtk_print_job_new (gtk_window_get_title (GTK_WINDOW (window)),
window->priv->printer,
settings,
window->priv->print_page_setup);
@@ -3330,7 +3330,7 @@
page_setup = gtk_page_setup_new ();
- job = gtk_print_job_new ("evince-print",
+ job = gtk_print_job_new (gtk_window_get_title (GTK_WINDOW (window)),
priv->printer,
priv->print_settings,
page_setup);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]