[gnome-scan/gnome-scan-0-6] Added PICTURES user dir to output directory selector as well
- From: Étienne Bersac <bersace src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-scan/gnome-scan-0-6] Added PICTURES user dir to output directory selector as well
- Date: Tue, 9 Jun 2009 15:10:48 -0400 (EDT)
commit 40b93aa532668f756138e757923967b0e5a9d870
Author: Ã?tienne Bersac <bersace gnome org>
Date: Tue Jun 9 21:08:46 2009 +0200
Added PICTURES user dir to output directory selector as well
---
src/flegita-output-filename-widget.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/flegita-output-filename-widget.c b/src/flegita-output-filename-widget.c
index 6aa7107..0051f99 100644
--- a/src/flegita-output-filename-widget.c
+++ b/src/flegita-output-filename-widget.c
@@ -79,6 +79,9 @@ flegita_output_filename_widget_build (GnomeScanParamWidget *widget)
gtk_widget_set_tooltip_text(priv->filechooser, _("Output directory"));
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->filechooser),
g_get_user_special_dir (G_USER_DIRECTORY_PICTURES));
+ gtk_file_chooser_add_shortcut_folder(GTK_FILE_CHOOSER(priv->filechooser),
+ g_get_user_special_dir(G_USER_DIRECTORY_PICTURES),
+ NULL);
g_signal_connect_swapped (priv->filechooser, "selection-changed",
(GCallback) fofw_output_filename_changed,
fofw);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]