diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-02 17:03:34 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-02 17:03:34 +0000 |
commit | 23486c1532e7653a1b4ef405e28a014f0223fd11 (patch) | |
tree | 7fcc106fd926fc1dd9e60528a6cf4daf94c3dd2d /meta/packages/gtk+/gtk+-2.13.3/filechooser-sizefix.patch | |
parent | cf093fa0f307a4614585f711bf501885cf1fccf6 (diff) | |
download | ast2050-yocto-poky-23486c1532e7653a1b4ef405e28a014f0223fd11.zip ast2050-yocto-poky-23486c1532e7653a1b4ef405e28a014f0223fd11.tar.gz |
gtk+: Drop old 2.10.* and 2.13* versions
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.13.3/filechooser-sizefix.patch')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.13.3/filechooser-sizefix.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/packages/gtk+/gtk+-2.13.3/filechooser-sizefix.patch b/meta/packages/gtk+/gtk+-2.13.3/filechooser-sizefix.patch deleted file mode 100644 index 694b059..0000000 --- a/meta/packages/gtk+/gtk+-2.13.3/filechooser-sizefix.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- 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); |