~ubuntu-branches/debian/experimental/brasero/experimental

« back to all changes in this revision

Viewing changes to plugins/local-track/burn-uri.c

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2011-03-29 16:33:51 UTC
  • mfrom: (1.3.18 upstream) (5.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110329163351-ac3wgbh4mplmhnht
Tags: 2.91.93-1
* Only depend on growisofs instead of dvd+rw-tools.
* New upstream pre-release.
* Update build-dependencies, package names, and paths.
* Require totem-plparser 2.32 since its soname changed.
* Do not include GIR package for now, since the versioning is broken 
  (see Bugzilla #646069).
* 01_pkglibdir.patch: dropped, upstream now has a variable we can use 
  for that effect.
* 11_nautilus_menu_no_display.patch, 31_link_libice.patch, 
  50_checksum.patch: dropped, merged upstream.
* 90_relibtoolize.patch: dropped, unnecessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#include "brasero-units.h"
45
45
#include "burn-job.h"
46
46
#include "brasero-plugin-registration.h"
47
 
#include "burn-uri.h"
48
47
 
49
48
#include "brasero-track.h"
50
49
#include "brasero-track-data.h"
51
50
#include "brasero-track-image.h"
52
51
 
 
52
 
 
53
#define BRASERO_TYPE_BURN_URI         (brasero_burn_uri_get_type ())
 
54
#define BRASERO_BURN_URI(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), BRASERO_TYPE_BURN_URI, BraseroBurnURI))
 
55
#define BRASERO_BURN_URI_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), BRASERO_TYPE_BURN_URI, BraseroBurnURIClass))
 
56
#define BRASERO_IS_BURN_URI(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), BRASERO_TYPE_BURN_URI))
 
57
#define BRASERO_IS_BURN_URI_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), BRASERO_TYPE_BURN_URI))
 
58
#define BRASERO_BURN_URI_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BRASERO_TYPE_BURN_URI, BraseroBurnURIClass))
 
59
 
53
60
BRASERO_PLUGIN_BOILERPLATE (BraseroBurnURI, brasero_burn_uri, BRASERO_TYPE_JOB, BraseroJob);
54
61
 
55
62
struct _BraseroBurnURIPrivate {
491
498
        grafts = g_slist_reverse (grafts);
492
499
 
493
500
        /* remove all excluded starting by burn:// from the list */
494
 
        for (src = brasero_track_data_get_excluded (BRASERO_TRACK_DATA (current), FALSE); src; src = src->next) {
 
501
        for (src = brasero_track_data_get_excluded_list (BRASERO_TRACK_DATA (current)); src; src = src->next) {
495
502
                gchar *uri;
496
503
 
497
504
                uri = src->data;
727
734
        priv->cond = g_cond_new ();
728
735
}
729
736
 
730
 
static BraseroBurnResult
731
 
brasero_burn_uri_export_caps (BraseroPlugin *plugin, gchar **error)
 
737
static void
 
738
brasero_burn_uri_export_caps (BraseroPlugin *plugin)
732
739
{
733
740
        GSList *caps;
734
741
 
735
742
        brasero_plugin_define (plugin,
 
743
                               "burn-uri",
736
744
                               /* Translators: this is the name of the plugin
737
745
                                * which will be translated only when it needs
738
746
                                * displaying. */
739
747
                               N_("CD/DVD Creator Folder"),
740
 
                               _("Allows to burn files added to \"CD/DVD Creator Folder\" in Nautilus"),
 
748
                               _("Allows files added to the \"CD/DVD Creator Folder\" in Nautilus to be burned"),
741
749
                               "Philippe Rouquier",
742
750
                               11);
743
751
 
751
759
        g_slist_free (caps);
752
760
 
753
761
        brasero_plugin_set_process_flags (plugin, BRASERO_PLUGIN_RUN_PREPROCESSING);
754
 
 
755
 
        return BRASERO_BURN_OK;
756
762
}