mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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:
parent
90c4515678
commit
f911d17e56
@ -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 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user