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

Proposed by Bilal Akhtar
Status: Merged
Merged at revision: 18
Proposed branch: lp:~bilalakhtar/gtk/gtk3-fix-611011
Merge into: lp:~ubuntu-desktop/gtk/ubuntugtk3
Diff against target: 49 lines (+24/-0)
3 files modified
debian/changelog (+6/-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/gtk3-fix-611011
Reviewer Review Type Date Requested Status
Michael Terry Approve
Ubuntu Sponsors Pending
Review via email: mp+40164@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

Looks good. Folding into my gtk3 natty push.

review: Approve

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-11-02 18:38:36 +0000
3+++ debian/changelog 2010-11-05 07:22:41 +0000
4@@ -1,8 +1,14 @@
5 gtk+3.0 (2.91.3-0ubuntu1~build2.1) UNRELEASED; urgency=low
6
7+ [ Michael Terry ]
8 * debian/libgtk3.0-0.symbols:
9 - Fix some symbols that had debian versioning cruft
10
11+ [ Bilal Akhtar ]
12+ * debian/patches/092_default_to_xdg_document_dir.patch:
13+ - Use $XDG_DOCUMENTS_DIR as default directory rather than the home
14+ directory for the 'Print to File' function. (LP: #611011)
15+
16 -- Michael Terry <mterry@ubuntu.com> Tue, 02 Nov 2010 14:37:54 -0400
17
18 gtk+3.0 (2.91.3-0ubuntu1~build2) maverick; urgency=low
19
20=== added file 'debian/patches/092_default_to_xdg_document_dir.patch'
21--- debian/patches/092_default_to_xdg_document_dir.patch 1970-01-01 00:00:00 +0000
22+++ debian/patches/092_default_to_xdg_document_dir.patch 2010-11-05 07:22:41 +0000
23@@ -0,0 +1,17 @@
24+Description: Use XDG_DOCUMENTS_DIR as default for 'Print to File'
25+ This patch uses $XDG_DOCUMENTS_DIR as the default directory rather
26+ than the home directory when the user selects Print to File in the
27+ GtkPrinterOptionWidget.
28+Author: Bilal Akhtar <bilalakhtar@ubuntu.com>
29+Bug-Ubuntu: https://launchpad.net/bugs/611011
30+--- a/gtk/gtkprinteroptionwidget.c
31++++ b/gtk/gtkprinteroptionwidget.c
32+@@ -785,6 +785,8 @@
33+ priv->entry = gtk_entry_new ();
34+ priv->combo = gtk_file_chooser_button_new (_("Select a folder"),
35+ GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
36++ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->combo),
37++ g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS));
38+
39+ g_object_set (priv->combo, "local-only", FALSE, NULL);
40+ gtk_entry_set_activates_default (GTK_ENTRY (priv->entry),
41
42=== modified file 'debian/patches/series'
43--- debian/patches/series 2010-11-02 14:33:46 +0000
44+++ debian/patches/series 2010-11-05 07:22:41 +0000
45@@ -17,3 +17,4 @@
46 074_expose_active_menu_item.patch
47 075_expose_gdkwidget_for_gtkrange.patch
48 091_bugzilla_tooltip_refresh.patch
49+092_default_to_xdg_document_dir.patch

Subscribers

People subscribed via source and target branches

to all changes: