summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+-2.13.3/filechooser-props.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.13.3/filechooser-props.patch')
-rw-r--r--meta/packages/gtk+/gtk+-2.13.3/filechooser-props.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/packages/gtk+/gtk+-2.13.3/filechooser-props.patch b/meta/packages/gtk+/gtk+-2.13.3/filechooser-props.patch
deleted file mode 100644
index 7d55f3c..0000000
--- a/meta/packages/gtk+/gtk+-2.13.3/filechooser-props.patch
+++ /dev/null
@@ -1,57 +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));
- }
-
- /**
-Index: gtk+-2.12.3/gtk/gtkfilechooserutils.h
-===================================================================
---- gtk+-2.12.3.orig/gtk/gtkfilechooserutils.h 2007-12-04 16:52:08.000000000 +0000
-+++ gtk+-2.12.3/gtk/gtkfilechooserutils.h 2008-01-02 13:15:17.000000000 +0000
-@@ -41,7 +41,9 @@
- GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
- GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
- GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
-- GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION
-+ GTK_FILE_CHOOSER_PROP_ROOT_FOLDER,
-+ GTK_FILE_CHOOSER_PROP_SHOW_CREATE_FOLDER,
-+ GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_SHOW_CREATE_FOLDER
- } GtkFileChooserProp;
-
- void _gtk_file_chooser_install_properties (GObjectClass *klass);
-Index: gtk+-2.12.3/gtk/gtkfilechooserutils.c
-===================================================================
---- gtk+-2.12.3.orig/gtk/gtkfilechooserutils.c 2007-12-04 16:52:08.000000000 +0000
-+++ gtk+-2.12.3/gtk/gtkfilechooserutils.c 2008-01-02 13:15:17.000000000 +0000
-@@ -117,6 +117,12 @@
- g_object_class_override_property (klass,
- GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
- "do-overwrite-confirmation");
-+ g_object_class_override_property (klass,
-+ GTK_FILE_CHOOSER_PROP_ROOT_FOLDER,
-+ "root-folder");
-+ g_object_class_override_property (klass,
-+ GTK_FILE_CHOOSER_PROP_SHOW_CREATE_FOLDER,
-+ "show-create-folder");
- }
-
- /**
OpenPOWER on IntegriCloud