~kelemeng/banshee/bug743928

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-05-14 22:25:36 UTC
  • mfrom: (6.3.15 experimental)
  • Revision ID: james.westby@ubuntu.com-20110514222536-u1x7ikxdqkmfvyuz
Tags: 2.1.0-1ubuntu1
* [2396c18] Merge from Debian Unstable, remaining changes:
  + Enable SoundMenu and Disable NotificationArea by default
  + Disable boo and karma extensions
  + Enable and recommnd u1ms and soundmenu extensions
  + Move desktop file for Meego UI to /usr/share/une/applications
  + Change the url for the Amazon store redirector
  + Create the U1MS widget earlier and bump libu1 requirement
* [9d7c600] Drop upstreamed u1ms-initialize-earlier patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
namespace Hyena.Data.Gui.Accessibility
38
38
{
39
 
#if ENABLE_ATK
40
39
    public partial class ListViewAccessible<T> : Atk.TableImplementor
41
40
    {
42
41
        public void ListViewAccessible_Table ()
126
125
        }
127
126
 
128
127
// Ensure https://bugzilla.novell.com/show_bug.cgi?id=512477 is fixed
129
 
#if ENABLE_ATK
130
128
        private static readonly int [] empty_int_array = new int[0];
131
129
        public int [] SelectedColumns {
132
130
            get { return empty_int_array; }
135
133
        public int [] SelectedRows {
136
134
            get { return list_view.Selection.ToArray (); }
137
135
        }
138
 
#else
139
 
        public int GetSelectedRows (out int row) { row = 0; return 0; }
140
 
        public int GetSelectedColumns (out int cols) { cols = 0; return 0; }
141
 
#endif
142
136
 
143
137
        public bool IsColumnSelected (int column)
144
138
        {
188
182
        {
189
183
        }
190
184
    }
191
 
#endif
192
185
}