diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-07-30 19:23:37 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-07-30 19:23:37 +0200 |
commit | ae0a3c36c8772d73ae0fb0510c1eb4aef2fdc98b (patch) | |
tree | aefef26ee358d0fb1f5fff95d191aea321eee68d | |
parent | 4f971a3b5410adcdb149267d64e5ae38c44eaac0 (diff) |
icon fixes
-rw-r--r-- | icons/128x128/deadbeef.png | bin | 51615 -> 53723 bytes | |||
-rw-r--r-- | icons/16x16/deadbeef.png | bin | 1624 -> 2051 bytes | |||
-rw-r--r-- | icons/192x192/deadbeef.png | bin | 101016 -> 103201 bytes | |||
-rw-r--r-- | icons/22x22/deadbeef.png | bin | 2644 -> 3249 bytes | |||
-rw-r--r-- | icons/24x24/deadbeef.png | bin | 3125 -> 3745 bytes | |||
-rw-r--r-- | icons/256x256/deadbeef.png | bin | 159100 -> 152130 bytes | |||
-rw-r--r-- | icons/32x32/deadbeef.png | bin | 5022 -> 5843 bytes | |||
-rw-r--r-- | icons/36x36/deadbeef.png | bin | 6150 -> 7001 bytes | |||
-rw-r--r-- | icons/48x48/deadbeef.png | bin | 10035 -> 11099 bytes | |||
-rw-r--r-- | icons/64x64/deadbeef.png | bin | 16291 -> 17552 bytes | |||
-rw-r--r-- | icons/72x72/deadbeef.png | bin | 19623 -> 21235 bytes | |||
-rw-r--r-- | icons/96x96/deadbeef.png | bin | 31949 -> 34044 bytes | |||
-rwxr-xr-x | icons/make_png_icons.pl | 4 | ||||
-rw-r--r-- | pixmaps/Makefile.am | 6 | ||||
-rw-r--r-- | pixmaps/next_24.png | bin | 1511 -> 0 bytes | |||
-rw-r--r-- | pixmaps/pause_24.png | bin | 942 -> 0 bytes | |||
-rw-r--r-- | pixmaps/play_24.png | bin | 1133 -> 0 bytes | |||
-rw-r--r-- | pixmaps/prev_24.png | bin | 1482 -> 0 bytes | |||
-rw-r--r-- | pixmaps/random_24.png | bin | 928 -> 0 bytes | |||
-rw-r--r-- | pixmaps/stop_24.png | bin | 1029 -> 0 bytes | |||
-rw-r--r-- | plugins/gtkui/gtkui.c | 9 |
21 files changed, 3 insertions, 16 deletions
diff --git a/icons/128x128/deadbeef.png b/icons/128x128/deadbeef.png Binary files differindex 5ba1e0bf..64272881 100644 --- a/icons/128x128/deadbeef.png +++ b/icons/128x128/deadbeef.png diff --git a/icons/16x16/deadbeef.png b/icons/16x16/deadbeef.png Binary files differindex d6958cdf..ffbbc5ef 100644 --- a/icons/16x16/deadbeef.png +++ b/icons/16x16/deadbeef.png diff --git a/icons/192x192/deadbeef.png b/icons/192x192/deadbeef.png Binary files differindex a1559a51..68ea86a7 100644 --- a/icons/192x192/deadbeef.png +++ b/icons/192x192/deadbeef.png diff --git a/icons/22x22/deadbeef.png b/icons/22x22/deadbeef.png Binary files differindex 38a92e82..6219ec6c 100644 --- a/icons/22x22/deadbeef.png +++ b/icons/22x22/deadbeef.png diff --git a/icons/24x24/deadbeef.png b/icons/24x24/deadbeef.png Binary files differindex 6384ff3a..b72664bd 100644 --- a/icons/24x24/deadbeef.png +++ b/icons/24x24/deadbeef.png diff --git a/icons/256x256/deadbeef.png b/icons/256x256/deadbeef.png Binary files differindex 133284a5..b4e14443 100644 --- a/icons/256x256/deadbeef.png +++ b/icons/256x256/deadbeef.png diff --git a/icons/32x32/deadbeef.png b/icons/32x32/deadbeef.png Binary files differindex 7220a48f..79ded73f 100644 --- a/icons/32x32/deadbeef.png +++ b/icons/32x32/deadbeef.png diff --git a/icons/36x36/deadbeef.png b/icons/36x36/deadbeef.png Binary files differindex 5a8a1312..39ee3dfe 100644 --- a/icons/36x36/deadbeef.png +++ b/icons/36x36/deadbeef.png diff --git a/icons/48x48/deadbeef.png b/icons/48x48/deadbeef.png Binary files differindex 166745f1..eda47c9c 100644 --- a/icons/48x48/deadbeef.png +++ b/icons/48x48/deadbeef.png diff --git a/icons/64x64/deadbeef.png b/icons/64x64/deadbeef.png Binary files differindex d24f1ccb..d95c98d1 100644 --- a/icons/64x64/deadbeef.png +++ b/icons/64x64/deadbeef.png diff --git a/icons/72x72/deadbeef.png b/icons/72x72/deadbeef.png Binary files differindex c5fc3d84..14efad6b 100644 --- a/icons/72x72/deadbeef.png +++ b/icons/72x72/deadbeef.png diff --git a/icons/96x96/deadbeef.png b/icons/96x96/deadbeef.png Binary files differindex 10a5a4ae..d4be19fa 100644 --- a/icons/96x96/deadbeef.png +++ b/icons/96x96/deadbeef.png diff --git a/icons/make_png_icons.pl b/icons/make_png_icons.pl index 7b7d419f..4b7637a7 100755 --- a/icons/make_png_icons.pl +++ b/icons/make_png_icons.pl @@ -2,9 +2,7 @@ @lst = qw(16 22 24 32 36 48 64 72 96 128 192 256); foreach $i (@lst) { - $size = $i-2; - $size = $size.'x'.$size; $dir = $i.'x'.$i; `mkdir $dir`; - `convert -density 100 -background None scalable/deadbeef.svg -bordercolor None -support 0.1 -resize $size -border 1x1 $dir/deadbeef.png`; + `convert -density 100 -background None scalable/deadbeef.svg -support 0.1 -resize $dir $dir/deadbeef.png`; } diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am index 23d91f51..9eaf9d55 100644 --- a/pixmaps/Makefile.am +++ b/pixmaps/Makefile.am @@ -4,12 +4,6 @@ pixmaps_DATA =\ pause_16.png\ play_16.png\ buffering_16.png\ -next_24.png\ -pause_24.png\ -play_24.png\ -prev_24.png\ -random_24.png\ -stop_24.png\ noartwork.jpg EXTRA_DIST = $(pixmaps_DATA) diff --git a/pixmaps/next_24.png b/pixmaps/next_24.png Binary files differdeleted file mode 100644 index 35514e5b..00000000 --- a/pixmaps/next_24.png +++ /dev/null diff --git a/pixmaps/pause_24.png b/pixmaps/pause_24.png Binary files differdeleted file mode 100644 index 6d4bf993..00000000 --- a/pixmaps/pause_24.png +++ /dev/null diff --git a/pixmaps/play_24.png b/pixmaps/play_24.png Binary files differdeleted file mode 100644 index 263347e4..00000000 --- a/pixmaps/play_24.png +++ /dev/null diff --git a/pixmaps/prev_24.png b/pixmaps/prev_24.png Binary files differdeleted file mode 100644 index f2a02a4e..00000000 --- a/pixmaps/prev_24.png +++ /dev/null diff --git a/pixmaps/random_24.png b/pixmaps/random_24.png Binary files differdeleted file mode 100644 index b43d969a..00000000 --- a/pixmaps/random_24.png +++ /dev/null diff --git a/pixmaps/stop_24.png b/pixmaps/stop_24.png Binary files differdeleted file mode 100644 index a9585c74..00000000 --- a/pixmaps/stop_24.png +++ /dev/null diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index c743983d..ac993b57 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -838,13 +838,8 @@ gtkui_thread (void *ctx) { mainwin = create_mainwin (); gtkpl_init (); - GdkPixbuf *mainwin_icon_pixbuf; - mainwin_icon_pixbuf = create_pixbuf ("play_24.png"); - if (mainwin_icon_pixbuf) - { - gtk_window_set_icon (GTK_WINDOW (mainwin), mainwin_icon_pixbuf); - g_object_unref (G_OBJECT (mainwin_icon_pixbuf)); - } + gtk_window_set_icon_name (GTK_WINDOW (mainwin), "deadbeef"); + { int x = deadbeef->conf_get_int ("mainwin.geometry.x", 40); int y = deadbeef->conf_get_int ("mainwin.geometry.y", 40); |