diff options
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch b/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch deleted file mode 100644 index 53a089422c..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [enable feature] | ||
2 | |||
3 | Index: gtk+-2.12.3/gtk/gtkfilechooser.c | ||
4 | =================================================================== | ||
5 | --- gtk+-2.12.3.orig/gtk/gtkfilechooser.c 2007-12-04 16:52:08.000000000 +0000 | ||
6 | +++ gtk+-2.12.3/gtk/gtkfilechooser.c 2008-01-02 13:15:38.000000000 +0000 | ||
7 | @@ -272,6 +272,20 @@ | ||
8 | "if necessary."), | ||
9 | FALSE, | ||
10 | GTK_PARAM_READWRITE)); | ||
11 | + | ||
12 | + g_object_interface_install_property (g_iface, | ||
13 | + g_param_spec_string ("root-folder", | ||
14 | + P_("File System Root"), | ||
15 | + P_("Root folder for the file system below which the user should not be able to switch"), | ||
16 | + NULL, | ||
17 | + G_PARAM_WRITABLE)); | ||
18 | + | ||
19 | + g_object_interface_install_property (g_iface, | ||
20 | + g_param_spec_boolean ("show-create-folder", | ||
21 | + P_("Show Create Folder button"), | ||
22 | + P_("Whether the Create Folder button should be visible on the bar"), | ||
23 | + TRUE, | ||
24 | + G_PARAM_READWRITE)); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | Index: gtk+-2.12.3/gtk/gtkfilechooserutils.h | ||
29 | =================================================================== | ||
30 | --- gtk+-2.12.3.orig/gtk/gtkfilechooserutils.h 2007-12-04 16:52:08.000000000 +0000 | ||
31 | +++ gtk+-2.12.3/gtk/gtkfilechooserutils.h 2008-01-02 13:15:17.000000000 +0000 | ||
32 | @@ -41,7 +41,9 @@ | ||
33 | GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE, | ||
34 | GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN, | ||
35 | GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION, | ||
36 | - GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION | ||
37 | + GTK_FILE_CHOOSER_PROP_ROOT_FOLDER, | ||
38 | + GTK_FILE_CHOOSER_PROP_SHOW_CREATE_FOLDER, | ||
39 | + GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_SHOW_CREATE_FOLDER | ||
40 | } GtkFileChooserProp; | ||
41 | |||
42 | void _gtk_file_chooser_install_properties (GObjectClass *klass); | ||
43 | Index: gtk+-2.12.3/gtk/gtkfilechooserutils.c | ||
44 | =================================================================== | ||
45 | --- gtk+-2.12.3.orig/gtk/gtkfilechooserutils.c 2007-12-04 16:52:08.000000000 +0000 | ||
46 | +++ gtk+-2.12.3/gtk/gtkfilechooserutils.c 2008-01-02 13:15:17.000000000 +0000 | ||
47 | @@ -117,6 +117,12 @@ | ||
48 | g_object_class_override_property (klass, | ||
49 | GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION, | ||
50 | "do-overwrite-confirmation"); | ||
51 | + g_object_class_override_property (klass, | ||
52 | + GTK_FILE_CHOOSER_PROP_ROOT_FOLDER, | ||
53 | + "root-folder"); | ||
54 | + g_object_class_override_property (klass, | ||
55 | + GTK_FILE_CHOOSER_PROP_SHOW_CREATE_FOLDER, | ||
56 | + "show-create-folder"); | ||
57 | } | ||
58 | |||
59 | /** | ||