~ubuntu-branches/ubuntu/maverick/brasero/maverick

« back to all changes in this revision

Viewing changes to libbrasero-burn/brasero-file-node.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Robert Ancell
  • Date: 2009-11-06 17:23:58 UTC
  • mfrom: (1.1.33 upstream)
  • Revision ID: james.westby@ubuntu.com-20091106172358-hke0i08w2r14t6ii
Tags: 2.29.1-0ubuntu1
[ Robert Ancell ]
* New upstream release: (LP: #475008)
  - New cdda2wav plugin to copy more accurately audio CDs
  - Support burning DTS wav files
  - Multiple copies: now brasero will chain up copies on every insertion
  - Start to move away from 
  - Lots of code cleanups
  - New dialog when ejection did not work
  - Lots of strings changed (and hopefully improved)
* debian/control.in:
  - Build-depends on libcanberra-dev, libcanberra-gtk-dev
* debian/patches/012_build_error.patch:
  - Fix build error

Show diffs side-by-side

added added

removed removed

Lines of Context:
887
887
                node->is_exploring = TRUE;
888
888
}
889
889
 
890
 
gchar *
891
 
brasero_file_node_get_uri_name (const gchar *uri)
892
 
{
893
 
        gchar *utf8_name;
894
 
        GFile *vfs_uri;
895
 
        gchar *name;
896
 
 
897
 
        /* g_path_get_basename is not comfortable with uri related
898
 
         * to the root directory so check that before */
899
 
        vfs_uri = g_file_new_for_uri (uri);
900
 
        name = g_file_get_basename (vfs_uri);
901
 
        g_object_unref (vfs_uri);
902
 
 
903
 
        /* NOTE and reminder names are already unescaped; the following is not
904
 
         * needed: unescaped_name = g_uri_unescape_string (name, NULL); */
905
 
 
906
 
        /* NOTE: a graft should be added for non utf8 name since we
907
 
         * modify them; in fact we use this function only in the next
908
 
         * one which creates only grafted nodes. */
909
 
        utf8_name = brasero_utils_get_uri_name (name);
910
 
        if (utf8_name) {
911
 
                g_free (name);
912
 
                return utf8_name;
913
 
        }
914
 
 
915
 
        return name;
916
 
}
917
 
 
918
890
BraseroFileNode *
919
891
brasero_file_node_new_loading (const gchar *name)
920
892
{