diff options
author | Ross Burton <ross.burton@intel.com> | 2012-08-17 12:35:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-17 13:05:10 +0100 |
commit | 8ba09db01ab6ed9a57498528ab20abd12c1fa314 (patch) | |
tree | bad95f467bd686c7712ba3b92dc83064c24eb361 /meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | |
parent | 491df239170dd20f3e91df6bc1ead2945a78e075 (diff) | |
download | openembedded-core-8ba09db01ab6ed9a57498528ab20abd12c1fa314.tar.gz |
gtk+: remove 2.12.7
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-sizefix.patch')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-sizefix.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-sizefix.patch b/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-sizefix.patch deleted file mode 100644 index 0973eca486..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+-2.12.7/filechooser-sizefix.patch +++ /dev/null @@ -1,37 +0,0 @@ -Upstream-Status: Inappropriate [enable feature] - ---- gtk+-2.12.7.orig/gtk/gtkfilechooserdialog.c -+++ gtk+-2.12.7/gtk/gtkfilechooserdialog.c -@@ -165,10 +165,10 @@ - gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); - - if (width) -- *width = MIN (*width, (monitor.width * 3) / 4); -+ *width = MIN (*width, monitor.width); - - if (height) -- *height = MIN (*height, (monitor.height * 3) / 4); -+ *height = MIN (*height, monitor.height); - } - - static void -@@ -183,6 +183,7 @@ - - priv = GTK_FILE_CHOOSER_DIALOG_GET_PRIVATE (dialog); - -+#if 0 - /* Unset any previously set size */ - gtk_widget_set_size_request (GTK_WIDGET (dialog), -1, -1); - -@@ -209,6 +210,11 @@ - /* Ideal target size plus any extra size */ - width = default_width + width + (2 * GTK_CONTAINER (dialog)->border_width); - height = default_height + height + (2 * GTK_CONTAINER (dialog)->border_width); -+#endif -+ -+ /* for small screens we just hard code a sensible value */ -+ width = 350; -+ height = 350; - - if (GTK_WIDGET_REALIZED (dialog)) - clamp_to_screen (GTK_WIDGET (dialog), &width, &height); |