[MPlayer-cvslog] r33639 - in trunk: gui/mplayer/widgets.c help/help_mp-de.h help/help_mp-en.h

ib subversion at mplayerhq.hu
Fri Jun 17 20:59:03 CEST 2011


Author: ib
Date: Fri Jun 17 20:59:03 2011
New Revision: 33639

Log:
Add a warning message for unavailable or unusable icons.

This is a preparation for differently sized icons to come.

Modified:
   trunk/gui/mplayer/widgets.c

Changes in other areas also in this revision:
Modified:
   trunk/help/help_mp-de.h
   trunk/help/help_mp-en.h

Modified: trunk/gui/mplayer/widgets.c
==============================================================================
--- trunk/gui/mplayer/widgets.c	Fri Jun 17 20:31:35 2011	(r33638)
+++ trunk/gui/mplayer/widgets.c	Fri Jun 17 20:59:03 2011	(r33639)
@@ -118,7 +118,8 @@ void gtkInit(void)
             for (i = 2; i < guiIcon.collection_size; data += 4, i++)
                 guiIcon.collection[i] = (data[3] << 24) | AV_RB24(data);  // RGBA -> ARGB
         }
-    }
+    } else
+        mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_ICONERROR, "mplayer");
 
     // start up GTK which realizes the pixmaps
     gtk_main_iteration_do(FALSE);


More information about the MPlayer-cvslog mailing list