[MPlayer-cvslog] r38039 - in trunk: gui/dialog/menu.c help/help_mp-de.h help/help_mp-en.h

ib subversion at mplayerhq.hu
Wed Apr 4 17:53:48 EEST 2018


Author: ib
Date: Wed Apr  4 17:53:48 2018
New Revision: 38039

Log:
Add missing GUI message evIconify to the menu.

This finally makes use of the passed window type.

Modified:
   trunk/gui/dialog/menu.c

Changes in other areas also in this revision:
Modified:
   trunk/help/help_mp-de.h
   trunk/help/help_mp-en.h

Modified: trunk/gui/dialog/menu.c
==============================================================================
--- trunk/gui/dialog/menu.c	Wed Apr  4 17:46:09 2018	(r38038)
+++ trunk/gui/dialog/menu.c	Wed Apr  4 17:53:48 2018	(r38039)
@@ -841,6 +841,7 @@ GtkWidget * CreatePopUpMenu( int wType )
   AddMenuItem( window1, (const char*)prefs_xpm, Menu,MSGTR_GUI_Preferences, evPreferences );
 
   AddSeparator( Menu );
+  if ( wType == wMain || wType == wVideo ) AddMenuItem( window1, (const char *) empty_xpm, Menu, MSGTR_GUI_Minimize, (wType << 16) + evIconify );
   AddMenuItem( window1, (const char*)exit_xpm, Menu,MSGTR_GUI_Quit, evExit );
 
  return Menu;


More information about the MPlayer-cvslog mailing list