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

ib subversion at mplayerhq.hu
Mon Oct 25 16:15:37 EEST 2021


Author: ib
Date: Mon Oct 25 16:15:36 2021
New Revision: 38325

Log:
Raise skin browser on top while previewing a selected skin.

After selecting a skin for previewing, the skin browser does not raise
on top again. Instead, the main window is on top.

Make the skin browser to raise on top by hiding and immediately showing
it again.

Modified:
   trunk/gui/dialog/skinbrowser.c

Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c	Mon Oct 25 16:13:43 2021	(r38324)
+++ trunk/gui/dialog/skinbrowser.c	Mon Oct 25 16:15:36 2021	(r38325)
@@ -74,7 +74,8 @@ static void on_SkinList_select_row( GtkC
   {
    prevSelected=sbSelectedSkin;
    uiChangeSkin( sbSelectedSkin );
-   gtkRaise( SkinBrowser );
+   gtk_widget_hide( SkinBrowser );
+   gtk_widget_show( SkinBrowser );
   }
  if( !event ) return;
  if( event->type == GDK_2BUTTON_PRESS )


More information about the MPlayer-cvslog mailing list