Test duplicate shortcuts

Add an application shortcut for the Music folder in testfilechooser.
The file chooser used to filter duplicates out, but this broke
in the sidebar merge.
This commit is contained in:
Matthias Clasen 2013-11-09 19:00:17 -05:00
parent 90c4515678
commit f911d17e56

View File

@ -674,6 +674,9 @@ main (int argc, char **argv)
gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (dialog), gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (dialog),
"file:///usr/share/pixmaps", "file:///usr/share/pixmaps",
NULL); NULL);
gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog),
g_get_user_special_dir (G_USER_DIRECTORY_MUSIC),
NULL);
/* Initial filename or folder */ /* Initial filename or folder */