summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-08-17 12:35:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-17 13:06:41 +0100
commit6e4bd6879e8899479f1ce1ef956f08ed31b90844 (patch)
tree6f39d71d0dcc040753e35c7bcfb90cc89cae32ba /meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-props.patch
parente781fb625001a485d9a1e1a24850bb6fe4bf5bb5 (diff)
downloadpoky-6e4bd6879e8899479f1ce1ef956f08ed31b90844.tar.gz
gtk+: remove 2.12.7
(From OE-Core rev: 8ba09db01ab6ed9a57498528ab20abd12c1fa314) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch59
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 @@
1Upstream-Status: Inappropriate [enable feature]
2
3Index: 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 /**
28Index: 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);
43Index: 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 /**