~elementary-apps/noise/freya

« back to all changes in this revision

Viewing changes to src/Dialogs/RemoveFilesDialog.vala

  • Committer: RabbitBot
  • Author(s): Victor Martinez
  • Date: 2015-03-25 18:20:37 UTC
  • mfrom: (1789.1.2 noise)
  • Revision ID: rabbitbot-20150325182037-gyznc02uljpwpi9j
Build properly with Vala 0.28: Remove all calls to 'gtk_label_set_xalign' which is no longer present in GTK+ and causes link error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        bool multiple_media = to_remove.size > 1;
55
55
 
56
56
        // set title text
57
 
        title.xalign = 0.0f;
 
57
        title.halign = Gtk.Align.START;
58
58
        string title_text = "";
59
59
 
60
60
        if (multiple_media) {
67
67
        title.set_markup("<span weight=\"bold\" size=\"larger\">" + String.escape (title_text) + "</span>");
68
68
 
69
69
        // set info text
70
 
        info.xalign = 0.0f;
 
70
        info.halign = Gtk.Align.START;
71
71
        info.set_line_wrap (true);
72
72
        int n = to_remove.size;
73
73
        string info_text = ngettext ("This will remove the song from your library and from any device that automatically syncs with %s.",