move and update createicons & check_glade scripts
|
@ -6,8 +6,6 @@ docs/source/ export-ignore
|
||||||
/tests/ export-ignore
|
/tests/ export-ignore
|
||||||
deluge/scripts/ export-ignore
|
deluge/scripts/ export-ignore
|
||||||
setup.cfg export-ignore
|
setup.cfg export-ignore
|
||||||
check_glade.sh export-ignore
|
|
||||||
createicons.sh export-ignore
|
|
||||||
create_potfiles_in.py export-ignore
|
create_potfiles_in.py export-ignore
|
||||||
gettextize.sh export-ignore
|
gettextize.sh export-ignore
|
||||||
deluge/i18n/deluge.pot export-ignore
|
deluge/i18n/deluge.pot export-ignore
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
for size in 16 22 24 32 36 48 64 72 96 128 192 256; do mkdir -p deluge/ui/data/\
|
|
||||||
icons/hicolor/${size}x${size}/apps; rsvg-convert -w ${size} -h ${size} \
|
|
||||||
-o deluge/ui/data/icons/hicolor/${size}x${size}/apps/deluge.png deluge/ui/data/pixmaps\
|
|
||||||
/deluge.svg; mkdir -p deluge/ui/data/icons/scalable/apps/; cp deluge/ui/data/pixmaps/\
|
|
||||||
deluge.svg deluge/ui/data/icons/scalable/apps/deluge.svg; done
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
cd "$DIR/../"
|
||||||
# Fixes glade files which may have set gtk stock labels set to translatable
|
# Fixes glade files which may have set gtk stock labels set to translatable
|
||||||
for x in `find . -name '*.glade' |grep -v '.git\|build'` ; do \
|
for x in `find . -name '*.glade' -o -name '*.ui' |grep -v '.git\|build'` ; do \
|
||||||
for y in gtk-add gtk-apply gtk-bold gtk-cancel gtk-cdrom gtk-clear \
|
for y in gtk-add gtk-apply gtk-bold gtk-cancel gtk-cdrom gtk-clear \
|
||||||
gtk-close gtk-color-picker gtk-connect gtk-convert gtk-copy gtk-cut \
|
gtk-close gtk-color-picker gtk-connect gtk-convert gtk-copy gtk-cut \
|
||||||
gtk-delete gtk-dialog-error gtk-dialog-info gtk-dialog-question \
|
gtk-delete gtk-dialog-error gtk-dialog-info gtk-dialog-question \
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
data_dir="$DIR/../ui/data"
|
||||||
|
for size in 16 22 24 32 36 48 64 72 96 128 192 256; do
|
||||||
|
mkdir -p $data_dir/icons/hicolor/${size}x${size}/apps;
|
||||||
|
rsvg-convert -w ${size} -h ${size} -o $data_dir/icons/hicolor/${size}x${size}/apps/deluge.png $data_dir/pixmaps/deluge.svg;
|
||||||
|
mkdir -p $data_dir/icons/hicolor/scalable/apps/;
|
||||||
|
cp $data_dir/pixmaps/deluge.svg $data_dir/icons/hicolor/scalable/apps/deluge.svg;
|
||||||
|
done
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
2
setup.py
|
@ -286,7 +286,7 @@ cmdclass = {
|
||||||
|
|
||||||
# Data files to be installed to the system
|
# Data files to be installed to the system
|
||||||
_data_files = [
|
_data_files = [
|
||||||
('share/icons/hicolor/scalable/apps', ['deluge/ui/data/icons/scalable/apps/deluge.svg']),
|
('share/icons/hicolor/scalable/apps', ['deluge/ui/data/icons/hicolor/scalable/apps/deluge.svg']),
|
||||||
('share/icons/hicolor/128x128/apps', ['deluge/ui/data/icons/hicolor/128x128/apps/deluge.png']),
|
('share/icons/hicolor/128x128/apps', ['deluge/ui/data/icons/hicolor/128x128/apps/deluge.png']),
|
||||||
('share/icons/hicolor/16x16/apps', ['deluge/ui/data/icons/hicolor/16x16/apps/deluge.png']),
|
('share/icons/hicolor/16x16/apps', ['deluge/ui/data/icons/hicolor/16x16/apps/deluge.png']),
|
||||||
('share/icons/hicolor/192x192/apps', ['deluge/ui/data/icons/hicolor/192x192/apps/deluge.png']),
|
('share/icons/hicolor/192x192/apps', ['deluge/ui/data/icons/hicolor/192x192/apps/deluge.png']),
|
||||||
|
|