]> git.sesse.net Git - vlc/blobdiff - plugins/gnome/gnome_callbacks.c
* Everything in place for the 0.2.63 release.
[vlc] / plugins / gnome / gnome_callbacks.c
index d3dc3d59d7847d258887f6d6294f6ac7cba04666..e69f419c56c7a2e31447dcf74f48c94b1bdf1466 100644 (file)
@@ -702,6 +702,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 );