- Fix whitespace on the right in icon view when zooming
This commit is contained in:
parent
66bbb146ef
commit
9639441999
25
nautilus-2.26.2-icon-whitespace.patch
Normal file
25
nautilus-2.26.2-icon-whitespace.patch
Normal file
@ -0,0 +1,25 @@
|
||||
Index: libnautilus-private/nautilus-icon-container.c
|
||||
===================================================================
|
||||
--- libnautilus-private/nautilus-icon-container.c (revision 15183)
|
||||
+++ libnautilus-private/nautilus-icon-container.c (revision 15184)
|
||||
@@ -1033,9 +1033,9 @@
|
||||
GtkAllocation *allocation;
|
||||
gboolean reset_scroll_region;
|
||||
|
||||
+ pixels_per_unit = EEL_CANVAS (container)->pixels_per_unit;
|
||||
+
|
||||
if (nautilus_icon_container_get_is_fixed_size (container)) {
|
||||
- pixels_per_unit = EEL_CANVAS (container)->pixels_per_unit;
|
||||
-
|
||||
/* Set the scroll region to the size of the container allocation */
|
||||
allocation = >K_WIDGET (container)->allocation;
|
||||
eel_canvas_set_scroll_region
|
||||
@@ -1090,7 +1090,7 @@
|
||||
if (nautilus_icon_container_is_auto_layout (container)) {
|
||||
allocation = >K_WIDGET (container)->allocation;
|
||||
x1 = MIN (x1, 0);
|
||||
- x2 = MAX (x2, allocation->width);
|
||||
+ x2 = MAX (x2, allocation->width / pixels_per_unit);
|
||||
y1 = 0;
|
||||
} else {
|
||||
/* Otherwise we add the padding that is at the start of the
|
@ -16,7 +16,7 @@
|
||||
Name: nautilus
|
||||
Summary: File manager for GNOME
|
||||
Version: 2.26.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: User Interface/Desktops
|
||||
Source: http://download.gnome.org/sources/%{name}/2.26/%{name}-%{version}.tar.bz2
|
||||
@ -87,6 +87,9 @@ Patch10: nautilus-gvfs-desktop-key-2.patch
|
||||
# http://bugzilla.gnome.org/show_bug.cgi?id=519743
|
||||
Patch17: nautilus-filetype-symlink-fix.patch
|
||||
|
||||
# From svn (rev 15184)
|
||||
Patch18: nautilus-2.26.2-icon-whitespace.patch
|
||||
|
||||
%description
|
||||
Nautilus is the file manager and graphical shell for the GNOME desktop
|
||||
that makes it easy to manage your files and the rest of your system.
|
||||
@ -124,6 +127,7 @@ for developing nautilus extensions.
|
||||
# %patch8 -p1 -b .hide-white-screen
|
||||
%patch10 -p1 -b .gvfs-desktop-key
|
||||
%patch17 -p0 -b .symlink
|
||||
%patch18 -p0 -b .whitespace
|
||||
|
||||
%build
|
||||
|
||||
@ -261,6 +265,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 16 2009 Alexander Larsson <alexl@redhat.com> - 2.26.2-2
|
||||
- Fix whitespace on the right in icon view when zooming
|
||||
|
||||
* Mon Apr 13 2009 Alexander Larsson <alexl@redhat.com> - 2.26.2-1
|
||||
- Update to 2.26.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user