diff options
author | 2002-05-28 21:52:37 +0000 | |
---|---|---|
committer | 2002-05-28 21:52:37 +0000 | |
commit | ccf55b9ed33e6d01b4b703bae37f8405ef865fb6 (patch) | |
tree | 2e887574c220728cc5ec592578d2b139d600a9f8 /Gui/mplayer/widgets.c | |
parent | c10381ca79ad3738fe4f46c45c96e0d63053f4be (diff) |
small changes in skin selection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6223 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/widgets.c')
-rw-r--r-- | Gui/mplayer/widgets.c | 9 |
1 files changed, 7 insertions, 2 deletions
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 ..." ); |