~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to src/brasero-video-disc.c

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-18 17:53:39 UTC
  • mfrom: (1.1.47 upstream) (1.4.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110518175339-so6a6fejezs5i1pc
Tags: 3.0.0-1ubuntu1
* Rebase from Debian and GNOME3 PPA. Remaining Ubuntu changes:
* debian/control:
  - Build-Depend on dh-autoreconf, libappindicator3-dev and
    liblaunchpad-integration-3.0-dev
  - Recommends: brasero-cdrkit
  - libbrasero-media3-1 Depends on dvd+rw-tools not growisofs and
    Suggests rather than Recommends gstreamer plugin packages
* debian/patches/010_lpi.patch:
  - Launchpad integration patch
* debian/patches/012_appindicator.patch:
  - Use application indicators
* debian/rules:
  - Include autoreconf.mk
* debian/watch:
  - Watch unstable releases also

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
{
425
425
        GSList *next;
426
426
        GSList *tracks;
427
 
        gboolean notready;
428
427
        BraseroStatus *status;
429
 
        BraseroVideoDiscPrivate *priv;
430
 
 
431
 
        priv = BRASERO_VIDEO_DISC_PRIVATE (self);
432
428
 
433
429
        if (!gtk_widget_get_window (GTK_WIDGET (self)))
434
430
                return;
435
431
 
436
432
        /* make sure all tracks have video */
437
 
        notready = FALSE;
438
433
        status = brasero_status_new ();
439
434
        tracks = brasero_burn_session_get_tracks (BRASERO_BURN_SESSION (session));
440
435
        for (; tracks; tracks = next) {
481
476
                        continue;
482
477
                }
483
478
 
484
 
                if (result == BRASERO_BURN_NOT_READY || result == BRASERO_BURN_RUNNING) {
485
 
                        notready = TRUE;
 
479
                if (result == BRASERO_BURN_NOT_READY || result == BRASERO_BURN_RUNNING)
486
480
                        continue;
487
 
                }
488
481
 
489
482
                if (result != BRASERO_BURN_OK)
490
483
                        continue;
588
581
                                       gboolean path_currently_selected,
589
582
                                       gpointer NULL_data)
590
583
{
591
 
        BraseroTrack *track;
 
584
/*      BraseroTrack *track;
592
585
 
593
586
        track = brasero_video_tree_model_path_to_track (BRASERO_VIDEO_TREE_MODEL (model), treepath);
594
587
 
595
 
        /* FIXME: add a tag?? */
596
 
/*      if (track)
 
588
        FIXME: add a tag??
 
589
        if (track)
597
590
                file->editable = !path_currently_selected;
598
591
*/
599
592
        return TRUE;
721
714
        GtkWidget *props;
722
715
        guint64 length = 0;
723
716
        GtkWidget *toplevel;
724
 
        GtkTreeModel *model;
725
717
        GtkResponseType result;
726
 
        BraseroVideoDiscPrivate *priv;
727
 
 
728
 
        priv = BRASERO_VIDEO_DISC_PRIVATE (self);
729
 
 
730
 
        model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->tree));
 
718
 
731
719
        toplevel = gtk_widget_get_toplevel (GTK_WIDGET (self));
732
720
 
733
721
        brasero_track_stream_get_length (BRASERO_TRACK_STREAM (track), &length);