~ubuntu-branches/ubuntu/raring/banshee/raring

« back to all changes in this revision

Viewing changes to src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2012-01-23 23:16:49 UTC
  • mfrom: (6.3.22 experimental)
  • Revision ID: package-import@ubuntu.com-20120123231649-safm1f8eycltcgsf
Tags: 2.3.4.ds-1ubuntu1
* Merge from Debian Experimental, remaining changes:
  + Enable and recommend SoundMenu and Disable NotificationArea by default
  + Disable boo and karma extensions
  + Enable and suggest u1ms
  + Move desktop file for Meego UI to /usr/share/une/applications
  + Change the url for the Amazon store redirector
  + [08dea2c] Revert "Fix invalid cast causing ftbfs with libgpod"
* [b617fe0] Convert Ubuntu-specific patches to gbp-pq patches
* Also fixes Launchpad bugs:
  - Fixes race condition while starting (LP: #766303)

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
 
131
131
            source_column.PackStart (header_renderer, true);
132
132
            source_column.SetCellDataFunc (header_renderer, new Gtk.CellLayoutDataFunc ((layout, cell, model, iter) => {
 
133
                if (model == null) {
 
134
                    throw new ArgumentNullException ("model");
 
135
                }
 
136
 
133
137
                var type = (SourceModel.EntryType) model.GetValue (iter, (int)SourceModel.Columns.Type);
134
138
                header_renderer.Visible = type == SourceModel.EntryType.Group;
135
139
                source_renderer.Visible = type == SourceModel.EntryType.Source;