On Tue, 2014-11-04 at 14:01 -0500, David Shea wrote:
With stylesheet help from Máirín Duffy.
Copy the RHEL sidebar and topbar background stylesheet blocks into
Fedora. Change the Fedora background color. Stop gtk from making
buttons on the new background color look bad.
Update assureLogoImage to remove missing sidebar and topbar background
images from the stylesheet.
---
data/anaconda-gtk.css | 29 +++++++++--------------------
pyanaconda/ui/gui/__init__.py | 19 ++++++++++++++++++-
2 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/pyanaconda/ui/gui/__init__.py
b/pyanaconda/ui/gui/__init__.py
index 32023c1..285f9f5 100644
--- a/pyanaconda/ui/gui/__init__.py
+++ b/pyanaconda/ui/gui/__init__.py
@@ -487,7 +487,7 @@ class GraphicalUserInterface(UserInterface):
# make sure there is a logo image present,
# otherwise the console will get spammed by errors
replacement_image_path = None
- logo_path = "/usr/share/anaconda/pixmaps/logo.png"
+ logo_path = "/usr/share/anaconda/pixmaps/sidebar-logo.png"
header_path = "/usr/share/anaconda/pixmaps/anaconda_header.png"
sad_smiley_path =
"/usr/share/icons/Adwaita/48x48/emotes/face-crying.png"
if not os.path.exists(logo_path):
@@ -509,6 +509,23 @@ class GraphicalUserInterface(UserInterface):
else:
log.warning("logo image is missing")
+ # Look for the top and sidebar images. If missing remove the background-image
+ replacement_color = "#006eb4"
The code below doesn't seem to
use this variable. Should it be used
instead of the background images? Or was that just the original idea? :)
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic