summaryrefslogtreecommitdiff
path: root/meta/packages/gtk+/gtk+-2.10.14/filechooser.patch
diff options
context:
space:
mode:
authorTomas Frydrych <tf@openedhand.com>2007-08-29 17:37:57 +0000
committerTomas Frydrych <tf@openedhand.com>2007-08-29 17:37:57 +0000
commit4a319e98fd0011cd83bd0389c5d006f948ef69f1 (patch)
treede10478364abe269fd8b18844898c1862aca1f7e /meta/packages/gtk+/gtk+-2.10.14/filechooser.patch
parentc7b5d7bad1e32d29070aeea7c44a910795595ad2 (diff)
downloadopenembedded-core-4a319e98fd0011cd83bd0389c5d006f948ef69f1.tar.gz
openembedded-core-4a319e98fd0011cd83bd0389c5d006f948ef69f1.tar.bz2
openembedded-core-4a319e98fd0011cd83bd0389c5d006f948ef69f1.tar.xz
openembedded-core-4a319e98fd0011cd83bd0389c5d006f948ef69f1.zip
modified GtkFileChooserDialog for embedded
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2596 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.10.14/filechooser.patch')
-rw-r--r--meta/packages/gtk+/gtk+-2.10.14/filechooser.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.10.14/filechooser.patch b/meta/packages/gtk+/gtk+-2.10.14/filechooser.patch
new file mode 100644
index 000000000..bb0904986
--- /dev/null
+++ b/meta/packages/gtk+/gtk+-2.10.14/filechooser.patch
@@ -0,0 +1,25 @@
+Index: gtk+-2.10.14/gtk/gtkfilechooser.c
+===================================================================
+--- gtk+-2.10.14.orig/gtk/gtkfilechooser.c 2007-08-24 08:52:32.000000000 +0100
++++ gtk+-2.10.14/gtk/gtkfilechooser.c 2007-08-24 08:57:21.000000000 +0100
+@@ -272,6 +272,20 @@
+ "if necessary."),
+ FALSE,
+ GTK_PARAM_READWRITE));
++
++ g_object_interface_install_property (g_iface,
++ g_param_spec_string ("root-folder",
++ P_("File System Root"),
++ P_("Root folder for the file system below which the user should not be able to switch"),
++ NULL,
++ G_PARAM_WRITABLE));
++
++ g_object_interface_install_property (g_iface,
++ g_param_spec_boolean ("show-create-folder",
++ P_("Show Create Folder button"),
++ P_("Whether the Create Folder button should be visible on the bar"),
++ TRUE,
++ G_PARAM_READWRITE));
+ }
+
+ /**