diff options
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.12.7')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.12.7/filechooser-props.patch (renamed from meta/packages/gtk+/gtk+-2.12.7/filechooser-utils.patch) | 25 | ||||
-rw-r--r-- | meta/packages/gtk+/gtk+-2.12.7/filechooser.patch | 25 |
2 files changed, 25 insertions, 25 deletions
diff --git a/meta/packages/gtk+/gtk+-2.12.7/filechooser-utils.patch b/meta/packages/gtk+/gtk+-2.12.7/filechooser-props.patch index 45cfd4fd6..7d55f3cbb 100644 --- a/meta/packages/gtk+/gtk+-2.12.7/filechooser-utils.patch +++ b/meta/packages/gtk+/gtk+-2.12.7/filechooser-props.patch @@ -1,3 +1,28 @@ +Index: gtk+-2.12.3/gtk/gtkfilechooser.c +=================================================================== +--- gtk+-2.12.3.orig/gtk/gtkfilechooser.c 2007-12-04 16:52:08.000000000 +0000 ++++ gtk+-2.12.3/gtk/gtkfilechooser.c 2008-01-02 13:15:38.000000000 +0000 +@@ -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)); + } + + /** Index: gtk+-2.12.3/gtk/gtkfilechooserutils.h =================================================================== --- gtk+-2.12.3.orig/gtk/gtkfilechooserutils.h 2007-12-04 16:52:08.000000000 +0000 diff --git a/meta/packages/gtk+/gtk+-2.12.7/filechooser.patch b/meta/packages/gtk+/gtk+-2.12.7/filechooser.patch deleted file mode 100644 index c422f60d4..000000000 --- a/meta/packages/gtk+/gtk+-2.12.7/filechooser.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: gtk+-2.12.3/gtk/gtkfilechooser.c -=================================================================== ---- gtk+-2.12.3.orig/gtk/gtkfilechooser.c 2007-12-04 16:52:08.000000000 +0000 -+++ gtk+-2.12.3/gtk/gtkfilechooser.c 2008-01-02 13:15:38.000000000 +0000 -@@ -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)); - } - - /** |