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
=== modified file 'debian/changelog'
--- debian/changelog 2010-11-02 18:38:36 +0000
+++ debian/changelog 2010-11-05 07:22:41 +0000
@@ -1,8 +1,14 @@
1gtk+3.0 (2.91.3-0ubuntu1~build2.1) UNRELEASED; urgency=low1gtk+3.0 (2.91.3-0ubuntu1~build2.1) UNRELEASED; urgency=low
22
3 [ Michael Terry ]
3 * debian/libgtk3.0-0.symbols:4 * debian/libgtk3.0-0.symbols:
4 - Fix some symbols that had debian versioning cruft5 - Fix some symbols that had debian versioning cruft
56
7 [ Bilal Akhtar ]
8 * debian/patches/092_default_to_xdg_document_dir.patch:
9 - Use $XDG_DOCUMENTS_DIR as default directory rather than the home
10 directory for the 'Print to File' function. (LP: #611011)
11
6 -- Michael Terry <mterry@ubuntu.com> Tue, 02 Nov 2010 14:37:54 -040012 -- Michael Terry <mterry@ubuntu.com> Tue, 02 Nov 2010 14:37:54 -0400
713
8gtk+3.0 (2.91.3-0ubuntu1~build2) maverick; urgency=low14gtk+3.0 (2.91.3-0ubuntu1~build2) maverick; urgency=low
915
=== added file 'debian/patches/092_default_to_xdg_document_dir.patch'
--- debian/patches/092_default_to_xdg_document_dir.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/092_default_to_xdg_document_dir.patch 2010-11-05 07:22:41 +0000
@@ -0,0 +1,17 @@
1Description: Use XDG_DOCUMENTS_DIR as default for 'Print to File'
2 This patch uses $XDG_DOCUMENTS_DIR as the default directory rather
3 than the home directory when the user selects Print to File in the
4 GtkPrinterOptionWidget.
5Author: Bilal Akhtar <bilalakhtar@ubuntu.com>
6Bug-Ubuntu: https://launchpad.net/bugs/611011
7--- a/gtk/gtkprinteroptionwidget.c
8+++ b/gtk/gtkprinteroptionwidget.c
9@@ -785,6 +785,8 @@
10 priv->entry = gtk_entry_new ();
11 priv->combo = gtk_file_chooser_button_new (_("Select a folder"),
12 GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
13+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->combo),
14+ g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS));
15
16 g_object_set (priv->combo, "local-only", FALSE, NULL);
17 gtk_entry_set_activates_default (GTK_ENTRY (priv->entry),
018
=== modified file 'debian/patches/series'
--- debian/patches/series 2010-11-02 14:33:46 +0000
+++ debian/patches/series 2010-11-05 07:22:41 +0000
@@ -17,3 +17,4 @@
17074_expose_active_menu_item.patch17074_expose_active_menu_item.patch
18075_expose_gdkwidget_for_gtkrange.patch18075_expose_gdkwidget_for_gtkrange.patch
19091_bugzilla_tooltip_refresh.patch19091_bugzilla_tooltip_refresh.patch
20092_default_to_xdg_document_dir.patch

Subscribers

People subscribed via source and target branches

to all changes: