Merge lp:~bilalakhtar/gtk/fix-611011 into lp:~ubuntu-desktop/gtk/ubuntu

Proposed by Bilal Akhtar
Status: Merged
Merged at revision: 83
Proposed branch: lp:~bilalakhtar/gtk/fix-611011
Merge into: lp:~ubuntu-desktop/gtk/ubuntu
Diff against target: 46 lines (+26/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/092_default_to_xdg_document_dir.patch (+17/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~bilalakhtar/gtk/fix-611011
Reviewer Review Type Date Requested Status
Robert Ancell Approve
Ubuntu Sponsors Pending
Review via email: mp+39866@code.launchpad.net

Description of the change

This branch fixes bug #611011 .

To post a comment you must log in.
lp:~bilalakhtar/gtk/fix-611011 updated
84. By Bilal Akhtar

Made tiny changes

Revision history for this message
Robert Ancell (robert-ancell) :
review: Approve
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Thanks Robert for the upload! This patch has been uploaded to Ubuntu Natty.

Now the wait is for this merge to land in the ~ubuntu-desktop branch.

(wanted to make this clear for other sponsors)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-09-27 21:13:48 +0000
3+++ debian/changelog 2010-11-02 17:31:11 +0000
4@@ -1,3 +1,11 @@
5+gtk+2.0 (2.22.0-0ubuntu2) UNRELEASED; urgency=low
6+
7+ * debian/patches/092_default_to_xdg_document_dir.patch:
8+ - Use $XDG_DOCUMENTS_DIR as default directory rather than the home
9+ directory for the 'Print to File' function. (LP: #611011)
10+
11+ -- Bilal Akhtar <bilalakhtar@ubuntu.com> Tue, 02 Nov 2010 19:15:45 +0300
12+
13 gtk+2.0 (2.22.0-0ubuntu1) maverick; urgency=low
14
15 * New stable version
16
17=== added file 'debian/patches/092_default_to_xdg_document_dir.patch'
18--- debian/patches/092_default_to_xdg_document_dir.patch 1970-01-01 00:00:00 +0000
19+++ debian/patches/092_default_to_xdg_document_dir.patch 2010-11-02 17:31:11 +0000
20@@ -0,0 +1,17 @@
21+Description: Use XDG_DOCUMENTS_DIR as default for 'Print to File'
22+ This patch uses $XDG_DOCUMENTS_DIR as the default directory rather
23+ than the home directory when the user selects Print to File in the
24+ GtkPrinterOptionWidget.
25+Author: Bilal Akhtar <bilalakhtar@ubuntu.com>
26+Bug-Ubuntu: https://launchpad.net/bugs/611011
27+--- a/gtk/gtkprinteroptionwidget.c
28++++ b/gtk/gtkprinteroptionwidget.c
29+@@ -794,6 +794,8 @@
30+ priv->entry = gtk_entry_new ();
31+ priv->combo = gtk_file_chooser_button_new (source->display_text,
32+ GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
33++ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->combo),
34++ g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS));
35+
36+ g_object_set (priv->combo, "local-only", FALSE, NULL);
37+ gtk_entry_set_activates_default (GTK_ENTRY (priv->entry),
38
39=== modified file 'debian/patches/series'
40--- debian/patches/series 2010-08-18 15:15:04 +0000
41+++ debian/patches/series 2010-11-02 17:31:11 +0000
42@@ -20,3 +20,4 @@
43 071_no_offscreen_widgets_grabbing.patch
44 072_indicator_menu_update.patch
45 091_bugzilla_tooltip_refresh.patch
46+092_default_to_xdg_document_dir.patch

Subscribers

People subscribed via source and target branches

to all changes: