Commit 02283b78bd0731270bbe176d8cfc287283f2ce65
ActionItem1045: make Tango the default icon set
Too many changes.
To preserve performance only 100 of 123 files displayed.
... | ... | @@ -1,57 +0,0 @@ |
1 | -Adding a new icons | |
2 | -================== | |
3 | - | |
4 | -Use the fantastic script get-icon.sh! Suppose you want to add a new icon for | |
5 | -the "open" action. You find that Nuovo theme has a nice button under stock, | |
6 | -called gtk-open.svg. You call the script as follows: | |
7 | - | |
8 | -$ sh get-icon.sh open Nuovo stock/gtk-open.svg | |
9 | - | |
10 | -The script generates the PNG and updates both style.css and this very file | |
11 | -(listing below). | |
12 | - | |
13 | -Source and Licensing | |
14 | -==================== | |
15 | - | |
16 | -Icons are taken from GNOME/Gtk+ themes on Debian systems. Normally they are | |
17 | -converted from SVG to PNG using rsvg (from package librsvg2-bin). | |
18 | - | |
19 | -Icon Source theme Source section | |
20 | -------------------------- ------------ -------------- | |
21 | -gtk-edit.png dlg-neu stock/ | |
22 | -gnome-home.png Nuovo apps/ | |
23 | -gtk-new.png Nuovo stock/ | |
24 | -gtk-close.png Nuovo stock/ | |
25 | -gtk-open.png Nuovo stock/ | |
26 | -abiword_48.png dlg-neu apps/ | |
27 | -gtk-save.png Nuovo stock/ | |
28 | -gtk-go-up.png Nuovo stock/ | |
29 | -gtk-cancel.png Nuovo stock/ | |
30 | -user_icon.png Nuovo apps/ | |
31 | -gnome-other.png Nuovo apps/ | |
32 | -gtk-delete.png Nuovo stock/ | |
33 | -gtk-find.png Nuovo stock/ | |
34 | -gtk-go-back-ltr.png Nuovo stock/ | |
35 | -gtk-media-next-ltr.png Nuovo stock/ | |
36 | -gtk-add.png Nuovo stock/ | |
37 | -gtk-go-up.png Nuovo stock/ | |
38 | -gtk-go-down.png Nuovo stock/ | |
39 | -gnome-search.png Nuovo apps/ | |
40 | -gtk-ok.png Nuovo stock/ | |
41 | -password.png Nuovo apps/ | |
42 | -stock_todo.png Nuovo stock/ | |
43 | -### END OF ICONS LISTING ### | |
44 | - | |
45 | -Icons made for Noosfero, by The Noosfero Team: | |
46 | -Icon Theme Author | |
47 | -------------------------- ------------ ------- | |
48 | -cancel-HC.gif Hi-Contrast Aurium | |
49 | -key-HC.gif Hi-Contrast Aurium | |
50 | -cancel-fat-HC.gif Hi-Contrast Aurium | |
51 | - | |
52 | - | |
53 | -Licensing of GNOME themes | |
54 | -========================= | |
55 | - | |
56 | -Nuovo: GPL 2 or later | |
57 | -dlg-neu: GPL 2 or later |
1.39 KB
122 Bytes
98 Bytes
139 Bytes
151 Bytes
109 Bytes
119 Bytes
105 Bytes
123 Bytes
112 Bytes
916 Bytes
156 Bytes
132 Bytes
801 Bytes
228 Bytes
1.35 KB
245 Bytes
... | ... | @@ -1,39 +0,0 @@ |
1 | -#!/bin/sh | |
2 | - | |
3 | -ICON=$1 | |
4 | -THEME=$2 | |
5 | -SVG=$3 | |
6 | - | |
7 | -if [ -z $ICON ] || [ -z $THEME ] || [ -z $SVG ]; then | |
8 | - echo "use: $0 <ICON> <THEME> <ICON>" | |
9 | - echo "example:" | |
10 | - echo " $0 close Nuovo stock/gtk-close.svg" | |
11 | - exit 1 | |
12 | -fi | |
13 | - | |
14 | -SECTION="$(dirname $SVG)/" | |
15 | -PNG=$(basename $SVG | sed -e 's/\.svg/\.png/') | |
16 | -SVGFILE=/usr/share/icons/$THEME/scalable/$SVG | |
17 | - | |
18 | -if [ ! -f $SVGFILE ]; then | |
19 | - echo "$SVGFILE not found, stopping." | |
20 | - exit 2 | |
21 | -fi | |
22 | - | |
23 | -rsvg -h 24 -h 24 $SVGFILE $PNG | |
24 | - | |
25 | -if [ ! -f $PNG ]; then | |
26 | - echo "Error creating $PNG, stopping." | |
27 | - exit 2 | |
28 | -fi | |
29 | - | |
30 | -if [ -e .svn ]; then | |
31 | - svn add $PNG | |
32 | -else | |
33 | - git add $PNG | |
34 | -fi | |
35 | - | |
36 | -LINE=$(printf "%-25s %-12s %s" $PNG $THEME $SECTION) | |
37 | -sed -i -e "s!### END OF ICONS LISTING ###!$LINE\n&!" README | |
38 | - | |
39 | -echo ".icon-$ICON { background-image: url($PNG); }" >> style.css |
1.09 KB
1.12 KB
128 Bytes
149 Bytes
121 Bytes
121 Bytes
121 Bytes
142 Bytes
125 Bytes
125 Bytes
125 Bytes
884 Bytes
1.1 KB
892 Bytes
905 Bytes
256 Bytes
250 Bytes
401 Bytes
916 Bytes
156 Bytes
171 Bytes
122 Bytes
348 Bytes
118 Bytes
209 Bytes
95 Bytes
120 Bytes
545 Bytes
118 Bytes
130 Bytes
361 Bytes
139 Bytes
589 Bytes
821 Bytes
... | ... | @@ -1,60 +0,0 @@ |
1 | -.icon-edit { background-image: url(edit-HC.gif) } | |
2 | -.icon-home { background-image: url(gnome-home.png) } | |
3 | -.icon-new { background-image: url(new-HC.gif) } | |
4 | -.icon-close { background-image: url(cancel-HC.gif) } | |
5 | -.icon-newfolder { background-image: url(add-HC.gif) } | |
6 | -.icon-open { background-image: url(folder-open.gif) } | |
7 | -.icon-cms { background-image: url(abiword_48.png) } | |
8 | -.icon-save { background-image: url(save-HC.gif) } | |
9 | -.icon-send { background-image: url(mail-HC.gif) } | |
10 | -.icon-up { background-image: url(go-up-HC.gif) } | |
11 | -.icon-cancel { background-image: url(cancel-HC.gif) } | |
12 | -.icon-person { background-image: url(user_icon.png) } | |
13 | -.icon-product { background-image: url(gnome-other.png) } | |
14 | -.icon-delete { background-image: url(cancel-HC.gif) } | |
15 | -.icon-find { background-image: url(noosfero-find.png) } | |
16 | -.icon-back { background-image: url(go-back-HC.gif) } | |
17 | -.icon-next { background-image: url(gtk-media-next-ltr.png) } | |
18 | -.icon-add { background-image: url(add-HC.gif) } | |
19 | -.icon-more { background-image: url(add-HC.gif) } | |
20 | -.icon-up { background-image: url(go-up-HC.gif) } | |
21 | -.icon-down { background-image: url(go-down-HC.gif) } | |
22 | -.icon-left { background-image: url(go-left-HC.gif) } | |
23 | -.icon-right { background-image: url(go-right-HC.gif) } | |
24 | -.icon-up-disabled { background-image: url(go-up-disabled-HC.gif) } | |
25 | -.icon-down-disabled { background-image: url(go-down-disabled-HC.gif) } | |
26 | -.icon-left-disabled { background-image: url(go-left-disabled-HC.gif) } | |
27 | -.icon-right-disabled { background-image: url(go-right-disabled-HC.gif) } | |
28 | -.icon-up-red { background-image: url(go-up-red-HC.gif) } | |
29 | -.icon-forward { background-image: url(go-forward-HC.gif) } | |
30 | -.icon-search { background-image: url(search-HC.gif) } | |
31 | -.icon-ok { background-image: url(ok-HC.gif) } | |
32 | -.icon-login { background-image: url(key-HC.gif) } | |
33 | -.icon-help { background-image: url(help.gif) } | |
34 | -.icon-firefox { background-image: url(firefox-24x24.gif) } | |
35 | -.icon-help32on { background-image: url(help-on-32x32-HC.gif) } | |
36 | -.icon-help32off { background-image: url(help-off-32x32-HC.gif) } | |
37 | -.icon-spread { background-image: url(mega-phone-HC.gif) } | |
38 | -.icon-todo { background-image: url(stock_todo.png) } | |
39 | -.icon-eyes { background-image: url(eyes.png) } | |
40 | -.icon-menu- { background-image: url(menu-without-ico-HC.gif) } | |
41 | -.icon-menu-home { background-image: url(home-HC.gif) } | |
42 | -.icon-menu-blog { background-image: url(blog-HC.gif) } | |
43 | -.icon-menu-album { background-image: url(album-HC.gif) } | |
44 | -.icon-menu-product { background-image: url(product-HC.gif) } | |
45 | -.icon-menu-enterprise { background-image: url(enterprise-HC.gif) } | |
46 | -.icon-menu-community { background-image: url(community-HC.gif) } | |
47 | -.icon-menu-edit { background-image: url(edit-HC.gif) } | |
48 | -.icon-menu-ctrl-panel { background-image: url(control-HC.gif) } | |
49 | -.icon-menu-my-groups { background-image: url(community-HC.gif) } | |
50 | -.icon-menu-login { background-image: url(enter-HC.gif) } | |
51 | -.icon-menu-logout { background-image: url(exit-HC.gif) } | |
52 | -.icon-menu-search { background-image: url(search-HC.gif) } | |
53 | -.icon-menu-ed-design { background-image: url(edit-design-HC.gif) } | |
54 | -.icon-menu-events { background-image: url(calendar-HC.gif) } | |
55 | -.icon-menu-articles { background-image: url(edit-HC.gif) } | |
56 | -.icon-menu-comments { background-image: url(blog-HC.gif) } | |
57 | -.icon-menu-people { background-image: url(album-HC.gif) } | |
58 | -.icon-menu-mail { background-image: url(mail-HC.gif) } | |
59 | -.icon-upload-file { background-image: url(go-up-HC.gif) } | |
60 | -.icon-slideshow { background-image: url(slideshow.gif) } |
2.3 KB
168 Bytes
851 Bytes
162 Bytes
... | ... | @@ -0,0 +1,57 @@ |
1 | +Adding a new icons | |
2 | +================== | |
3 | + | |
4 | +Use the fantastic script get-icon.sh! Suppose you want to add a new icon for | |
5 | +the "open" action. You find that Nuovo theme has a nice button under stock, | |
6 | +called gtk-open.svg. You call the script as follows: | |
7 | + | |
8 | +$ sh get-icon.sh open Nuovo stock/gtk-open.svg | |
9 | + | |
10 | +The script generates the PNG and updates both style.css and this very file | |
11 | +(listing below). | |
12 | + | |
13 | +Source and Licensing | |
14 | +==================== | |
15 | + | |
16 | +Icons are taken from GNOME/Gtk+ themes on Debian systems. Normally they are | |
17 | +converted from SVG to PNG using rsvg (from package librsvg2-bin). | |
18 | + | |
19 | +Icon Source theme Source section | |
20 | +------------------------- ------------ -------------- | |
21 | +gtk-edit.png dlg-neu stock/ | |
22 | +gnome-home.png Nuovo apps/ | |
23 | +gtk-new.png Nuovo stock/ | |
24 | +gtk-close.png Nuovo stock/ | |
25 | +gtk-open.png Nuovo stock/ | |
26 | +abiword_48.png dlg-neu apps/ | |
27 | +gtk-save.png Nuovo stock/ | |
28 | +gtk-go-up.png Nuovo stock/ | |
29 | +gtk-cancel.png Nuovo stock/ | |
30 | +user_icon.png Nuovo apps/ | |
31 | +gnome-other.png Nuovo apps/ | |
32 | +gtk-delete.png Nuovo stock/ | |
33 | +gtk-find.png Nuovo stock/ | |
34 | +gtk-go-back-ltr.png Nuovo stock/ | |
35 | +gtk-media-next-ltr.png Nuovo stock/ | |
36 | +gtk-add.png Nuovo stock/ | |
37 | +gtk-go-up.png Nuovo stock/ | |
38 | +gtk-go-down.png Nuovo stock/ | |
39 | +gnome-search.png Nuovo apps/ | |
40 | +gtk-ok.png Nuovo stock/ | |
41 | +password.png Nuovo apps/ | |
42 | +stock_todo.png Nuovo stock/ | |
43 | +### END OF ICONS LISTING ### | |
44 | + | |
45 | +Icons made for Noosfero, by The Noosfero Team: | |
46 | +Icon Theme Author | |
47 | +------------------------- ------------ ------- | |
48 | +cancel-HC.gif Hi-Contrast Aurium | |
49 | +key-HC.gif Hi-Contrast Aurium | |
50 | +cancel-fat-HC.gif Hi-Contrast Aurium | |
51 | + | |
52 | + | |
53 | +Licensing of GNOME themes | |
54 | +========================= | |
55 | + | |
56 | +Nuovo: GPL 2 or later | |
57 | +dlg-neu: GPL 2 or later | ... | ... |
1.39 KB
122 Bytes
98 Bytes
139 Bytes
151 Bytes
109 Bytes
119 Bytes
105 Bytes
123 Bytes
112 Bytes
916 Bytes
156 Bytes
132 Bytes
801 Bytes
228 Bytes
1.35 KB
245 Bytes
... | ... | @@ -0,0 +1,39 @@ |
1 | +#!/bin/sh | |
2 | + | |
3 | +ICON=$1 | |
4 | +THEME=$2 | |
5 | +SVG=$3 | |
6 | + | |
7 | +if [ -z $ICON ] || [ -z $THEME ] || [ -z $SVG ]; then | |
8 | + echo "use: $0 <ICON> <THEME> <ICON>" | |
9 | + echo "example:" | |
10 | + echo " $0 close Nuovo stock/gtk-close.svg" | |
11 | + exit 1 | |
12 | +fi | |
13 | + | |
14 | +SECTION="$(dirname $SVG)/" | |
15 | +PNG=$(basename $SVG | sed -e 's/\.svg/\.png/') | |
16 | +SVGFILE=/usr/share/icons/$THEME/scalable/$SVG | |
17 | + | |
18 | +if [ ! -f $SVGFILE ]; then | |
19 | + echo "$SVGFILE not found, stopping." | |
20 | + exit 2 | |
21 | +fi | |
22 | + | |
23 | +rsvg -h 24 -h 24 $SVGFILE $PNG | |
24 | + | |
25 | +if [ ! -f $PNG ]; then | |
26 | + echo "Error creating $PNG, stopping." | |
27 | + exit 2 | |
28 | +fi | |
29 | + | |
30 | +if [ -e .svn ]; then | |
31 | + svn add $PNG | |
32 | +else | |
33 | + git add $PNG | |
34 | +fi | |
35 | + | |
36 | +LINE=$(printf "%-25s %-12s %s" $PNG $THEME $SECTION) | |
37 | +sed -i -e "s!### END OF ICONS LISTING ###!$LINE\n&!" README | |
38 | + | |
39 | +echo ".icon-$ICON { background-image: url($PNG); }" >> style.css | ... | ... |
1.09 KB
1.12 KB
128 Bytes
149 Bytes
121 Bytes
121 Bytes
121 Bytes
142 Bytes
125 Bytes
125 Bytes
125 Bytes
884 Bytes
1.1 KB
892 Bytes
905 Bytes
256 Bytes