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

« back to all changes in this revision

Viewing changes to src/Hyena/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible.cs

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2012-09-30 23:52:25 UTC
  • mfrom: (1.2.23) (6.3.26 experimental)
  • Revision ID: package-import@ubuntu.com-20120930235225-cfjm36x1xjx6mim5
Tags: 2.6.0-1ubuntu1
* [f84d118] Merge from Debian Experimental, remaining changes:
  - Enable and recommend SoundMenu and Disable NotificationArea by default
  - Disable boo and karma extensions
  - Move desktop file for Meego UI to /usr/share/une/applications
  - Change the url for the Amazon store redirector
  - [9b356d6] Add workaround for set_Height exception.
  - [ccbcbbd] Make Banshee translatable in Launchpad

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
        public ListViewAccessible (GLib.Object widget) : base (widget as Gtk.Widget)
45
45
        {
46
 
            list_view = widget as ListView<T>;
 
46
            list_view = (ListView<T>) widget;
47
47
            // TODO replace with list_view.Name?
48
48
            Name = "ListView";
49
49
            Description = "ListView";
50
50
            Role = Atk.Role.Table;
51
 
            Parent = list_view.Parent.RefAccessible ();
 
51
            if (list_view.Parent != null) {
 
52
                Parent = list_view.Parent.RefAccessible ();
 
53
            }
52
54
 
53
55
            cell_cache = new Dictionary<int, ColumnCellAccessible> ();
54
56