[hyena/gtk3] Update to latest gtk-sharp API that adds I* prefix for interfaces



commit e4412af083b0e11d993bb4660650a9e7485769c6
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed Jul 24 16:22:48 2013 -0500

    Update to latest gtk-sharp API that adds I* prefix for interfaces

 .../Accessibility/ColumnCellAccessible.cs          |    2 +-
 .../ColumnHeaderCellTextAccessible.cs              |    2 +-
 .../Accessibility/ListViewAccessible_Selection.cs  |    2 +-
 .../Accessibility/ListViewAccessible_Table.cs      |    2 +-
 .../ListView/ListView_Interaction.cs               |    2 +-
 Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs     |    2 +-
 Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs        |    2 +-
 Hyena.Gui/Hyena.Gui/EditableEraseAction.cs         |    4 ++--
 Hyena.Gui/Hyena.Gui/EditableInsertAction.cs        |    4 ++--
 Hyena.Gui/Hyena.Gui/EditableUndoAdapter.cs         |    2 +-
 Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs         |    2 +-
 Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs          |    2 +-
 Hyena.Gui/Hyena.Widgets/RatingEntry.cs             |    2 +-
 Hyena.Gui/Hyena.Widgets/RoundedFrame.cs            |    2 +-
 Hyena.Gui/Hyena.Widgets/TextViewEditable.cs        |    8 ++++----
 15 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnCellAccessible.cs 
b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnCellAccessible.cs
index 10dbc4e..a518896 100644
--- a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnCellAccessible.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnCellAccessible.cs
@@ -30,7 +30,7 @@ using System;
 
 namespace Hyena.Data.Gui.Accessibility
 {
-    public class ColumnCellAccessible: Atk.Object, Atk.ComponentImplementor
+    public class ColumnCellAccessible: Atk.Object, Atk.IComponentImplementor
     {
         protected ColumnCell cell;
         protected object bound_object;
diff --git a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnHeaderCellTextAccessible.cs 
b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnHeaderCellTextAccessible.cs
index 1638fa6..e149b45 100644
--- a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnHeaderCellTextAccessible.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ColumnHeaderCellTextAccessible.cs
@@ -31,7 +31,7 @@ using Mono.Unix;
 
 namespace Hyena.Data.Gui.Accessibility
 {
-    class ColumnHeaderCellTextAccessible: ColumnCellTextAccessible, Atk.ActionImplementor
+    class ColumnHeaderCellTextAccessible: ColumnCellTextAccessible, Atk.IActionImplementor
     {
         private static string [] action_descriptions  = new string[] {"", Catalog.GetString ("open context 
menu")};
         private static string [] action_names_localized = new string[] {Catalog.GetString ("click"), 
Catalog.GetString ("menu")};
diff --git a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Selection.cs 
b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Selection.cs
index 9036788..8d880da 100644
--- a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Selection.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Selection.cs
@@ -36,7 +36,7 @@ using Hyena.Data.Gui;
 
 namespace Hyena.Data.Gui.Accessibility
 {
-    public partial class ListViewAccessible<T> : Atk.SelectionImplementor
+    public partial class ListViewAccessible<T> : Atk.ISelectionImplementor
     {
         public void ListViewAccessible_Selection ()
         {
diff --git a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Table.cs 
b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Table.cs
index e652d70..b2a0ac1 100644
--- a/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Table.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Table.cs
@@ -36,7 +36,7 @@ using Hyena.Data.Gui;
 
 namespace Hyena.Data.Gui.Accessibility
 {
-    public partial class ListViewAccessible<T> : Atk.TableImplementor
+    public partial class ListViewAccessible<T> : Atk.ITableImplementor
     {
         public void ListViewAccessible_Table ()
         {
diff --git a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs 
b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
index dd1783e..5fd9ae3 100644
--- a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
@@ -40,7 +40,7 @@ using Selection = Hyena.Collections.Selection;
 
 namespace Hyena.Data.Gui
 {
-    public partial class ListView<T> : ListViewBase, ScrollableImplementor
+    public partial class ListView<T> : ListViewBase, IScrollableImplementor
     {
         private enum KeyDirection {
             Press,
diff --git a/Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs b/Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs
index 62978b2..f137a0f 100644
--- a/Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs
@@ -169,7 +169,7 @@ namespace Hyena.Data.Gui.Tests
         public Model ()
         {
             Random random = new Random (0);
-            for (int i = 0; i < 1000; i++) {
+            for (int i = 0; i < 10; i++) {
                 store.Add (new ModelItem (i, random));
             }
         }
diff --git a/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs b/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs
index 8a4a0b3..ab6b96a 100644
--- a/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs
+++ b/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs
@@ -34,7 +34,7 @@ using Atk;
 
 namespace Hyena.Gui
 {
-    public class BaseWidgetAccessible : Gtk.Accessible, Atk.ComponentImplementor
+    public class BaseWidgetAccessible : Gtk.Accessible, Atk.IComponentImplementor
     {
         private Gtk.Widget widget;
         private uint focus_id = 0;
diff --git a/Hyena.Gui/Hyena.Gui/EditableEraseAction.cs b/Hyena.Gui/Hyena.Gui/EditableEraseAction.cs
index e2883d4..e3c0457 100644
--- a/Hyena.Gui/Hyena.Gui/EditableEraseAction.cs
+++ b/Hyena.Gui/Hyena.Gui/EditableEraseAction.cs
@@ -35,14 +35,14 @@ namespace Hyena.Gui
 {
     internal class EditableEraseAction : IUndoAction
     {
-        private Editable editable;
+        private IEditable editable;
         private string text;
         private int start;
         private int end;
         private bool is_forward;
         private bool is_cut;
 
-        public EditableEraseAction (Editable editable, int start, int end)
+        public EditableEraseAction (IEditable editable, int start, int end)
         {
             this.editable = editable;
             this.text = editable.GetChars (start, end);
diff --git a/Hyena.Gui/Hyena.Gui/EditableInsertAction.cs b/Hyena.Gui/Hyena.Gui/EditableInsertAction.cs
index d19a4e3..da4993d 100644
--- a/Hyena.Gui/Hyena.Gui/EditableInsertAction.cs
+++ b/Hyena.Gui/Hyena.Gui/EditableInsertAction.cs
@@ -35,12 +35,12 @@ namespace Hyena.Gui
 {
     internal class EditableInsertAction : IUndoAction
     {
-        private Editable editable;
+        private IEditable editable;
         private string text;
         private int index;
         private bool is_paste;
 
-        public EditableInsertAction (Editable editable, int start, string text, int length)
+        public EditableInsertAction (IEditable editable, int start, string text, int length)
         {
             this.editable = editable;
             this.text = text;
diff --git a/Hyena.Gui/Hyena.Gui/EditableUndoAdapter.cs b/Hyena.Gui/Hyena.Gui/EditableUndoAdapter.cs
index 7b4d4a8..9116b52 100644
--- a/Hyena.Gui/Hyena.Gui/EditableUndoAdapter.cs
+++ b/Hyena.Gui/Hyena.Gui/EditableUndoAdapter.cs
@@ -34,7 +34,7 @@ using Hyena;
 
 namespace Hyena.Gui
 {
-    public class EditableUndoAdapter<T> where T : Widget, Editable
+    public class EditableUndoAdapter<T> where T : Widget, IEditable
     {
         private T editable;
         private UndoManager undo_manager = new UndoManager ();
diff --git a/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs b/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs
index 622fc03..b40da65 100644
--- a/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs
+++ b/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs
@@ -94,7 +94,7 @@ namespace Hyena.Query.Gui
             ShowAll ();
         }
 
-        private bool IsRowSeparator (TreeModel model, TreeIter iter)
+        private bool IsRowSeparator (ITreeModel model, TreeIter iter)
         {
             return String.IsNullOrEmpty (model.GetValue (iter, 0) as string);
         }
diff --git a/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs b/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs
index 36ae5d7..b0a1508 100644
--- a/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs
+++ b/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs
@@ -111,7 +111,7 @@ namespace Hyena.Query.Gui
             field_chooser.Active = 0;
         }
 
-        private bool IsRowSeparator (TreeModel model, TreeIter iter)
+        private bool IsRowSeparator (ITreeModel model, TreeIter iter)
         {
             return String.IsNullOrEmpty (model.GetValue (iter, 0) as string);
         }
diff --git a/Hyena.Gui/Hyena.Widgets/RatingEntry.cs b/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
index 9ae95f0..7dedf00 100644
--- a/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
+++ b/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
@@ -405,7 +405,7 @@ namespace Hyena.Widgets
 
     }
 
-    public class RatingAccessible : Atk.Object, Atk.Value, Atk.ValueImplementor
+    public class RatingAccessible : Atk.Object, Atk.IValue, Atk.IValueImplementor
     {
         private RatingEntry rating;
 
diff --git a/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs b/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
index bd45f13..5cf21e9 100644
--- a/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
+++ b/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs
@@ -36,7 +36,7 @@ using Hyena.Gui.Theming;
 
 namespace Hyena.Widgets
 {
-    public class RoundedFrame : Bin, Gtk.ScrollableImplementor
+    public class RoundedFrame : Bin, IScrollableImplementor
     {
         private Theme theme;
         protected Theme Theme {
diff --git a/Hyena.Gui/Hyena.Widgets/TextViewEditable.cs b/Hyena.Gui/Hyena.Widgets/TextViewEditable.cs
index 091b28e..7ac715a 100644
--- a/Hyena.Gui/Hyena.Widgets/TextViewEditable.cs
+++ b/Hyena.Gui/Hyena.Widgets/TextViewEditable.cs
@@ -31,7 +31,7 @@ using Gtk;
 
 namespace Hyena.Widgets
 {
-    public class TextViewEditable : TextView, Editable
+    public class TextViewEditable : TextView, IEditable
     {
         public TextViewEditable ()
         {
@@ -79,15 +79,15 @@ namespace Hyena.Widgets
             }
         }
 
-        void Editable.PasteClipboard ()
+        void IEditable.PasteClipboard ()
         {
         }
 
-        void Editable.CutClipboard ()
+        void IEditable.CutClipboard ()
         {
         }
 
-        void Editable.CopyClipboard ()
+        void IEditable.CopyClipboard ()
         {
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]