[MPlayer-cvslog] r38055 - in trunk/gui/dialog: pixmaps/dir2.xpm pixmaps/open2.xpm playlist.c

ib subversion at mplayerhq.hu
Thu Apr 5 22:30:09 EEST 2018


Author: ib
Date: Thu Apr  5 22:30:09 2018
New Revision: 38055

Log:
Replace icons "dir2" and "open2" by "dir" and "open".

We don't need these similar icons twice.

Deleted:
   trunk/gui/dialog/pixmaps/dir2.xpm
   trunk/gui/dialog/pixmaps/open2.xpm
Modified:
   trunk/gui/dialog/playlist.c

Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c	Thu Apr  5 16:33:01 2018	(r38054)
+++ trunk/gui/dialog/playlist.c	Thu Apr  5 22:30:09 2018	(r38055)
@@ -42,8 +42,8 @@
 #include "playlist.h"
 #include "tools.h"
 
-#include "pixmaps/open2.xpm"
-#include "pixmaps/dir2.xpm"
+#include "pixmaps/open.xpm"
+#include "pixmaps/dir.xpm"
 
 #define CFG_OLD_PLAYLIST
 #include "gui/app/cfg-old.c"
@@ -487,8 +487,8 @@ static GtkWidget * CreatePlaylist( void
   gtk_clist_column_titles_show( GTK_CLIST( CTDirTree ) );
   gtk_clist_set_shadow_type( GTK_CLIST( CTDirTree ),GTK_SHADOW_NONE );
 
-  if ( !pxOpenedBook ) pxOpenedBook=gdk_pixmap_create_from_xpm_d( Playlist->window,&msOpenedBook,&transparent,(gchar **)dir2_xpm );
-  if ( !pxClosedBook ) pxClosedBook=gdk_pixmap_create_from_xpm_d( Playlist->window,&msClosedBook,&transparent,(gchar **)open2_xpm );
+  if ( !pxOpenedBook ) pxOpenedBook=gdk_pixmap_create_from_xpm_d( Playlist->window,&msOpenedBook,&transparent,(gchar **)dir_xpm );
+  if ( !pxClosedBook ) pxClosedBook=gdk_pixmap_create_from_xpm_d( Playlist->window,&msClosedBook,&transparent,(gchar **)open_xpm );
 
   parent=gtk_ctree_insert_node( GTK_CTREE( CTDirTree ),NULL,NULL,&root,4,pxOpenedBook,msOpenedBook,pxClosedBook,msClosedBook,FALSE,FALSE );
   DirNode=malloc( sizeof( *DirNode ) );


More information about the MPlayer-cvslog mailing list