[cinnamon/f18] Change menu icon and fonts sizes

leigh123linux leigh123linux at fedoraproject.org
Wed Sep 19 13:28:50 UTC 2012


commit a3d71282504994e114b9df530d99cdfcdd7c31e5
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Wed Sep 19 14:19:26 2012 +0100

    Change menu icon and fonts sizes

 cinnamon.spec     |    8 ++------
 fedora_icon.patch |   11 ++++++++++-
 2 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/cinnamon.spec b/cinnamon.spec
index 62cfbed..1f278f4 100644
--- a/cinnamon.spec
+++ b/cinnamon.spec
@@ -151,13 +151,9 @@ install -pm 644 %SOURCE1 %SOURCE3 files%{_datadir}/xsessions/
 install -pm 644 %SOURCE2 %SOURCE4 files%{_datadir}/gnome-session/sessions/
 # files replaced with fedora files
 rm -f files%{_datadir}/desktop-directories/cinnamon-{menu-applications,utility,utility-accessibility,development,education,game,graphics,network,audio-video,office,system-tools,other}.directory
-# adjust font size
-sed -i -e 's,font-size: 9.5pt,font-size: 10pt,g' data/theme/cinnamon.css
-sed -i -e 's,font-size: 9pt,font-size: 10pt,g' data/theme/cinnamon.css
-sed -i -e 's,font-size: 8.5pt,font-size: 10pt,g' data/theme/cinnamon.css
-sed -i -e 's,font-size: 8pt,font-size: 10pt,g' data/theme/cinnamon.css
-sed -i -e 's,font-size: 7.5pt,font-size: 10pt,g' data/theme/cinnamon.css
+
 rm -f configure
+rm -rf debian/
 
 
 %build
diff --git a/fedora_icon.patch b/fedora_icon.patch
index 3b792ec..b281d68 100644
--- a/fedora_icon.patch
+++ b/fedora_icon.patch
@@ -3,9 +3,18 @@
 @@ -236,7 +236,7 @@
      </key>
      
+     <key type="s" name="menu-text">
+-      <default>"Menu"</default>
++      <default>"  Menu"</default>
+       <_summary>Text for the menu</_summary>
+       <_description>
+ 	    The text shown in the Menu label.
+@@ -244,7 +244,7 @@
+     </key>
+     
      <key type="s" name="menu-icon">
 -      <default>"/usr/share/cinnamon/theme/menu.png"</default>
-+      <default>"/usr/share/icons/Fedora/22x22/places/start-here.png"</default>
++      <default>"/usr/share/icons/Fedora/scalable/places/start-here.svg"</default>
        <_summary>Icon for the menu</_summary>
        <_description>
  	    The icon shown in the Menu button.


More information about the scm-commits mailing list