[gitg/wip/simplify-arch] Put back is_default_for



commit 46f1ea360e98237c65cebb985fe5b0570567bba3
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Mon Jul 1 09:53:14 2013 +0200

    Put back is_default_for

 libgitg-ext/gitg-ext-view.vala |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libgitg-ext/gitg-ext-view.vala b/libgitg-ext/gitg-ext-view.vala
index 5975804..c295307 100644
--- a/libgitg-ext/gitg-ext-view.vala
+++ b/libgitg-ext/gitg-ext-view.vala
@@ -34,6 +34,16 @@ public interface View : Object, UIElement
         *
         */
        public abstract void reload();
+
+       /**
+        * Whether the view is the default for the specified action.
+        *
+        * @param action the action.
+        *
+        * Returns %TRUE if the view is the default view for @action, %FALSE otherwise.
+        *
+        */
+       public abstract bool is_default_for(string action);
 }
 
 }


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