First page is 100 by default
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 22 Dec 2007 13:10:39 +0000 (13:10 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 22 Dec 2007 13:10:39 +0000 (13:10 +0000)
modules/gui/qt4/input_manager.cpp

index 9bb4992..405fbbf 100644 (file)
@@ -239,7 +239,6 @@ void InputManager::sectionMenu()
 #ifdef ZVBI_COMPILED
 void InputManager::telexGotoPage( int page )
 {
 #ifdef ZVBI_COMPILED
 void InputManager::telexGotoPage( int page )
 {
-    // TODO: this has only sense when telx codec is available
     if( hasInput() )
     {
         vlc_object_t *p_vbi;
     if( hasInput() )
     {
         vlc_object_t *p_vbi;
@@ -255,12 +254,15 @@ void InputManager::telexGotoPage( int page )
 
 void InputManager::telexToggle( bool b_enabled )
 {
 
 void InputManager::telexToggle( bool b_enabled )
 {
-    //TODO
+    int i_page = 0;
+
+    if( b_enabled )
+        i_page = 100;
+    telexGotoPage( i_page );
 }
 
 void InputManager::telexSetTransparency( bool b_transp )
 {
 }
 
 void InputManager::telexSetTransparency( bool b_transp )
 {
-    // TODO: this has only sense when telx codec is available
     if( hasInput() )
     {
         vlc_object_t *p_vbi;
     if( hasInput() )
     {
         vlc_object_t *p_vbi;