]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/gtk_callbacks.c
* Everything in place for the 0.2.63 release.
[vlc] / plugins / gtk / gtk_callbacks.c
index 8d5ad89ac19f7b839b5b21058d56bc0c4976f272..8303d928f5c37386677b50af530478e64b5cc9c9 100644 (file)
@@ -666,6 +666,15 @@ on_disc_ok_clicked                     (GtkButton       *button,
         return;
     }
     
+    /* Select title and chapter */
+    main_PutIntVariable( INPUT_TITLE_VAR, gtk_spin_button_get_value_as_int(
+                              GTK_SPIN_BUTTON( lookup_widget(
+                                  GTK_WIDGET(button), "disc_title" ) ) ) );
+
+    main_PutIntVariable( INPUT_CHAPTER_VAR, gtk_spin_button_get_value_as_int(
+                              GTK_SPIN_BUTTON( lookup_widget(
+                                  GTK_WIDGET(button), "disc_chapter" ) ) ) );
+
     /* Build source name and add it to playlist */
     sprintf( psz_source, "%s:%s", psz_method, psz_device );
     intf_PlstAdd( p_main->p_playlist, PLAYLIST_END, psz_source );