~elementary-apps/audience/headerbar

« back to all changes in this revision

Viewing changes to src/Widgets/ControlsBar.vala

  • Committer: Corentin Noël
  • Date: 2014-04-28 22:27:55 UTC
  • Revision ID: tintou@mailoo.org-20140428222755-pr6ia7d6oh73krca
elementarized and first work to port it to Gtk 3.12.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
            try {
96
96
                var l = Gtk.IconTheme.get_default ().lookup_icon ("media-playback-pause-symbolic", 16, 0);
97
97
                if (l == null)
98
 
                    this.pause_pix = new Gtk.Image.from_stock (Gtk.Stock.MEDIA_PAUSE, Gtk.IconSize.LARGE_TOOLBAR).pixbuf;
 
98
                    this.pause_pix = new Gtk.Image.from_icon_name (Gtk.Stock.MEDIA_PAUSE, Gtk.IconSize.LARGE_TOOLBAR).pixbuf;
99
99
                else
100
100
                    this.pause_pix = l.load_symbolic ({1.0,1.0,1.0,1.0}, null, null, null, null);
101
101
            } catch (Error e) { warning (e.message); }
134
134
        }
135
135
    }
136
136
 
137
 
}
 
137
}
 
 
b'\\ No newline at end of file'