From dbdf4011ad419963d63f1466343e77c5aec99f64 Mon Sep 17 00:00:00 2001 From: albator Date: Sat, 19 Nov 2011 23:18:08 +0100 Subject: RHEL/Fedora: other kdebase fixes --- redhat/kdebase/kdebase-3.5.13-startkde_icon.patch | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 redhat/kdebase/kdebase-3.5.13-startkde_icon.patch (limited to 'redhat/kdebase/kdebase-3.5.13-startkde_icon.patch') diff --git a/redhat/kdebase/kdebase-3.5.13-startkde_icon.patch b/redhat/kdebase/kdebase-3.5.13-startkde_icon.patch new file mode 100644 index 000000000..039290a0c --- /dev/null +++ b/redhat/kdebase/kdebase-3.5.13-startkde_icon.patch @@ -0,0 +1,32 @@ +--- kdebase/startkde.ORI 2011-11-14 22:23:07.191346324 +0100 ++++ kdebase/startkde 2011-11-14 22:38:28.480321300 +0100 +@@ -206,6 +206,29 @@ + fi + fi + ++# Default Start Button icon ++if [ ! -e $kdehome/share/config/kickerrc ]; then ++ # Fedora ++ if [ -r /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ]; then ++ cat <$kdehome/share/config/kickerrc ++[KMenu] ++CustomIcon=fedora-logo-icon ++EOF ++ # RHEL 6 ++ elif [ -r /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png ]; then ++ cat <$kdehome/share/config/kickerrc ++[KMenu] ++CustomIcon=system-logo-icon ++EOF ++ # RHEL 5 ++ elif [ -r /usr/share/pixmaps/redhat-starthere.png ]; then ++ cat <$kdehome/share/config/kickerrc ++[KMenu] ++CustomIcon=/usr/share/pixmaps/redhat-starthere.png ++EOF ++ fi ++fi ++ + # XCursor mouse theme needs to be applied here to work even for kded or ksmserver. + if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then + kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize" -- cgit v1.2.1