diff --git a/Gui/mplayer/gtk/sb.c b/Gui/mplayer/gtk/sb.c index 0c3a4a960b..eb3ed5faa8 100644 --- a/Gui/mplayer/gtk/sb.c +++ b/Gui/mplayer/gtk/sb.c @@ -103,6 +103,7 @@ void on_SkinList_select_row( GtkCList * clist,gint row,gint column,GdkEvent * be { prev=sbSelectedSkin; ChangeSkin( sbSelectedSkin ); + gtkActive( SkinBrowser ); } if( !bevent ) return; if( bevent->type == GDK_2BUTTON_PRESS ) diff --git a/Gui/mplayer/widgets.c b/Gui/mplayer/widgets.c index 08f868a220..a4ef8aa422 100644 --- a/Gui/mplayer/widgets.c +++ b/Gui/mplayer/widgets.c @@ -134,15 +134,20 @@ void gtkShow( int type,char * param ) switch( type ) { case evSkinBrowser: -// SkinBrowser=create_SkinBrowser(); ShowSkinBrowser(); // gtkClearList( SkinList ); if ( gtkFillSkinList( sbMPlayerPrefixDir ) && gtkFillSkinList( sbMPlayerDirInHome ) ) { gtkSetDefaultToCList( SkinList,param ); + gtk_clist_sort( SkinList ); gtk_widget_show( SkinBrowser ); gtkSetLayer( SkinBrowser ); - } else gtk_widget_destroy( SkinBrowser ); + } + else + { + gtk_widget_destroy( SkinBrowser ); + gtkMessageBox( GTK_MB_ERROR,"Skin dirs not found ... Please install skins." ); + } break; case evPreferences: gtkMessageBox( GTK_MB_WARNING,"Sorry, this feature is under development ..." );