diff options
Diffstat (limited to 'Gui/mplayer')
-rw-r--r-- | Gui/mplayer/gtk/menu.c | 1 | ||||
-rw-r--r-- | Gui/mplayer/gtk/pl.c | 2 | ||||
-rw-r--r-- | Gui/mplayer/mw.h | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/menu.c b/Gui/mplayer/gtk/menu.c index 8d1db72f2d..f78ecc3dee 100644 --- a/Gui/mplayer/gtk/menu.c +++ b/Gui/mplayer/gtk/menu.c @@ -282,6 +282,7 @@ GtkWidget * create_PopUpMenu( void ) #endif AddMenuItem( SubMenu,MSGTR_MENU_PlayURL, evSetURL ); AddMenuItem( SubMenu,MSGTR_MENU_LoadSubtitle" ", evLoadSubtitle ); + AddMenuItem( SubMenu,MSGTR_MENU_DropSubtitle,evDropSubtitle ); AddMenuItem( SubMenu,MSGTR_MENU_LoadExternAudioFile, evLoadAudioFile ); SubMenu=AddSubMenu( Menu,MSGTR_MENU_Playing ); AddMenuItem( SubMenu,MSGTR_MENU_Play" ", evPlay ); diff --git a/Gui/mplayer/gtk/pl.c b/Gui/mplayer/gtk/pl.c index 4471251bd6..bfaab179e8 100644 --- a/Gui/mplayer/gtk/pl.c +++ b/Gui/mplayer/gtk/pl.c @@ -638,7 +638,7 @@ GtkWidget * create_PlayList( void ) GTK_WIDGET_UNSET_FLAGS( Ok,GTK_CAN_FOCUS ); // gtk_widget_add_accelerator( Ok,"released",accel_group,GDK_Return,0,GTK_ACCEL_VISIBLE ); - Cancel=gtk_button_new_with_label( "Cancel" ); + Cancel=gtk_button_new_with_label( MSGTR_Cancel ); gtk_widget_ref( Cancel ); gtk_object_set_data_full( GTK_OBJECT( PlayList ),"Cancel",Cancel,(GtkDestroyNotify)gtk_widget_unref ); gtk_widget_show( Cancel ); diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h index 15f4146839..7500413456 100644 --- a/Gui/mplayer/mw.h +++ b/Gui/mplayer/mw.h @@ -356,6 +356,10 @@ NoPause: gtkShow( evLoad,NULL ); break; case evLoadSubtitle: gtkShow( evLoadSubtitle,NULL ); break; + case evDropSubtitle: + gfree( (void **)&guiIntfStruct.Subtitlename ); + guiLoadSubtitle( NULL ); + break; case evLoadAudioFile: gtkShow( evLoadAudioFile,NULL ); break; case evPrev: mplPrev(); break; case evNext: mplNext(); break; |