[gtk+] Test duplicate shortcuts
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Test duplicate shortcuts
- Date: Sun, 10 Nov 2013 00:02:17 +0000 (UTC)
commit f911d17e562305bc6964a430b2be25cf5cad22b6
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 9 19:00:17 2013 -0500
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.
tests/testfilechooser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 2f92f32..4d86e79 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -674,6 +674,9 @@ main (int argc, char **argv)
gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (dialog),
"file:///usr/share/pixmaps",
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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]