[nautilus] Add bookmark for ~/Pictures instead of /usr/share/pixmaps



commit a0595ea96c093ff369ce2acaa86e3eefcb2f7ff0
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Aug 14 17:29:48 2012 -0400

    Add bookmark for ~/Pictures instead of /usr/share/pixmaps
    
    To the icon selection dialog.

 src/nautilus-properties-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 70d09c3..f5d02fd 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -5379,7 +5379,9 @@ select_image_button_callback (GtkWidget *widget,
 						      GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 						      GTK_STOCK_OPEN, GTK_RESPONSE_OK,
 						      NULL);
-		gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), "/usr/share/pixmaps", NULL);
+		gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog),
+						      g_get_user_special_dir (G_USER_DIRECTORY_PICTURES),
+						      NULL);
 		gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
 
 		filter = gtk_file_filter_new ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]