From 58cdeccb7c6d078004b1a0e0e4b59cad876de5ce Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Aug 03 2009 13:08:16 +0000 Subject: - Fix incorrect text color in compact view (#505919) --- diff --git a/nautilus-2.27.2-dark-text-on-dark-bg.patch b/nautilus-2.27.2-dark-text-on-dark-bg.patch new file mode 100644 index 0000000..8c9458a --- /dev/null +++ b/nautilus-2.27.2-dark-text-on-dark-bg.patch @@ -0,0 +1,24 @@ +From 7b86b78e2ff6a0f1b45ac8f8a9c30cf3d0c6ae96 Mon Sep 17 00:00:00 2001 +From: Cosimo Cecchi +Date: Thu, 28 May 2009 12:28:55 +0000 +Subject: Emit APPEARANCE_CHANGED when setting the bg color + +Emit the APPEARANCE_CHANGED signal when we're setting the color, as +we're ignoring the pending changes after the backgorund is realized, and +thus we're not getting color updates (#578136). +--- +diff --git a/eel/eel-background.c b/eel/eel-background.c +index 3891bab..942e94c 100644 +--- a/eel/eel-background.c ++++ b/eel/eel-background.c +@@ -563,6 +563,8 @@ eel_background_set_color (EelBackground *background, + background->details->color = g_strdup (color); + + set_image_properties (background); ++ ++ g_signal_emit (background, signals[APPEARANCE_CHANGED], 0); + } + } + +-- +cgit v0.8.2 diff --git a/nautilus.spec b/nautilus.spec index 806fbc9..9df49e6 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -16,7 +16,7 @@ Name: nautilus Summary: File manager for GNOME Version: 2.26.3 -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,10 @@ Patch10: nautilus-gvfs-desktop-key-2.patch # http://bugzilla.gnome.org/show_bug.cgi?id=519743 Patch17: nautilus-filetype-symlink-fix.patch +# With black background, filenames invisible after switching to compact view +# https://bugzilla.redhat.com/show_bug.cgi?id=505919 +Patch18: nautilus-2.27.2-dark-text-on-dark-bg.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 +128,7 @@ for developing nautilus extensions. # %patch8 -p1 -b .hide-white-screen %patch10 -p1 -b .gvfs-desktop-key %patch17 -p0 -b .symlink +%patch18 -p1 -b .dark-text %build @@ -261,6 +266,9 @@ fi %changelog +* Mon Aug 3 2009 Tomas Bzatek - 2.26.3-2 +- Fix incorrect text color in compact view (#505919) + * Tue May 19 2009 Tomas Bzatek - 2.26.3-1 - Update to 2.26.3