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