[MPlayer-cvslog] r38567 - trunk/gui/dialog/skinbrowser.c

ib subversion at mplayerhq.hu
Fri Jun 14 13:41:38 EEST 2024


Author: ib
Date: Fri Jun 14 13:41:38 2024
New Revision: 38567

Log:
Set prevSelected in ShowSkinBrowser().

This is the place to set the variables.

Modified:
   trunk/gui/dialog/skinbrowser.c

Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c	Fri Jun 14 13:40:32 2024	(r38566)
+++ trunk/gui/dialog/skinbrowser.c	Fri Jun 14 13:41:38 2024	(r38567)
@@ -198,8 +198,6 @@ static GtkWidget *CreateSkinBrowser (voi
  gtk_window_add_accel_group( GTK_WINDOW( SkinBrowser ),accel_group );
  gtk_widget_grab_focus( scrolledwindow1 );
 
- prevSelected = skinName;
-
  return SkinBrowser;
 }
 
@@ -215,6 +213,7 @@ void ShowSkinBrowser (void)
   else SkinBrowser = CreateSkinBrowser();
 
   sbSelectedSkin = NULL;
+  prevSelected = skinName;
 
   FillSkinList(skinDirInHome);
   FillSkinList(skinDirInData);


More information about the MPlayer-cvslog mailing list