Mercurial > audlegacy
diff src/audacious/widgets/skin.c @ 3186:f08ce8cf0c7f trunk
- Further translation efforts
- Fixed a little failing assertion
author | mf0102 <0102@gmx.at> |
---|---|
date | Sat, 28 Jul 2007 01:11:38 +0200 |
parents | f1c756f39e6c |
children | 9583cd62231f |
line wrap: on
line diff
--- a/src/audacious/widgets/skin.c Fri Jul 27 03:16:09 2007 +0200 +++ b/src/audacious/widgets/skin.c Sat Jul 28 01:11:38 2007 +0200 @@ -1375,14 +1375,16 @@ filename = find_file_recursively(dirname, basename); - if (filename && cfg.custom_cursors) { + if (filename && cfg.custom_cursors) cursor_animated = gdk_pixbuf_animation_new_from_file(filename, &error); + + if (cursor_animated) { cursor_pixbuf = gdk_pixbuf_animation_get_static_image(cursor_animated); cursor_gdk = gdk_cursor_new_from_pixbuf(gdk_display_get_default(), cursor_pixbuf, 0, 0); - } else { + } + else cursor_gdk = gdk_cursor_new(GDK_LEFT_PTR); - } gdk_window_set_cursor(mainwin->window, cursor_gdk); gdk_window_set_cursor(playlistwin->window, cursor_gdk);