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

« back to all changes in this revision

Viewing changes to libbrasero-burn/brasero-cover.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:
133
133
                info = brasero_track_tag_lookup_string (BRASERO_TRACK (track),
134
134
                                                        BRASERO_TRACK_STREAM_ARTIST_TAG);
135
135
                if (info) {
 
136
                        gchar *string;
 
137
 
136
138
                        /* Reminder: if this string happens to be used
137
139
                         * somewhere else in brasero we'll need a
138
140
                         * context with C_() macro */
139
 
                        /* Translators: "by" is followed by the name of an artist.
 
141
                        /* Translators: %s is the name of the artist.
140
142
                         * This text is the one written on the cover of a disc.
141
143
                         * Before it there is the name of the song.
142
144
                         * I had to break it because it is in a GtkTextBuffer
143
145
                         * and every word has a different tag. */
144
 
                        BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, _("by"), "Artist", &start);
145
 
                        BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, " ", "Artist", &start);
146
 
                        BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, info, "Artist", &start);
147
 
                        BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, " ", "Artist", &start);
 
146
                        string = g_strdup_printf (_("by %s"), info);
 
147
                        BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, string, "Artist", &start);
 
148
                        BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, " ", "Artist", &start);
 
149
                        g_free (string);
148
150
                }
149
151
 
150
152
                info = brasero_track_tag_lookup_string (BRASERO_TRACK (track),
169
171
 
170
172
        gtk_text_buffer_get_start_iter (buffer, &start);
171
173
 
172
 
        if (label) {
 
174
        if (label)
173
175
                BRASERO_JACKET_EDIT_INSERT_TAGGED_TEXT (buffer, label, "Title", &start);
174
 
        }
175
 
 
176
176
}
177
177
 
178
178
static void
188
188
                if (!path)
189
189
                        path = g_strdup (cover);
190
190
 
191
 
                brasero_jacket_view_set_image_style (front, BRASERO_JACKET_IMAGE_STRETCH);
192
 
                brasero_jacket_view_set_image (front, path);
 
191
                brasero_jacket_view_set_image (front, BRASERO_JACKET_IMAGE_STRETCH, path);
193
192
                g_free (path);
194
193
        }
195
194