[gitg/vala] Temporarily disable the dash plugin
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/vala] Temporarily disable the dash plugin
- Date: Tue, 17 Jul 2012 07:57:51 +0000 (UTC)
commit 75b28d0de75b04e21d97f5fb45c1a854c39f2436
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Tue Jul 17 09:54:30 2012 +0200
Temporarily disable the dash plugin
plugins/dash/gitg-dash.vala | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/plugins/dash/gitg-dash.vala b/plugins/dash/gitg-dash.vala
index 70f68e3..c20dcb4 100644
--- a/plugins/dash/gitg-dash.vala
+++ b/plugins/dash/gitg-dash.vala
@@ -22,9 +22,9 @@ namespace GitgDash
// Do this to pull in config.h before glib.h (for gettext...)
private const string version = Gitg.Config.VERSION;
- public class View : Object, GitgExt.View
+ public class View : Object
{
- public GitgExt.Application? application { owned get; construct; }
+ public GitgExt.Application? application { owned get; construct set; }
private Gtk.Notebook d_main;
private Gtk.Widget? d_open;
@@ -289,6 +289,11 @@ namespace GitgDash
application.open(f);
}
+
+ public bool is_enabled()
+ {
+ return true;
+ }
}
}
@@ -297,8 +302,8 @@ public void peas_register_types(TypeModule module)
{
Peas.ObjectModule mod = module as Peas.ObjectModule;
- mod.register_extension_type(typeof(GitgExt.View),
- typeof(GitgDash.View));
+ //mod.register_extension_type(typeof(GitgExt.View),
+ // typeof(GitgDash.View));
}
// ex: ts=4 noet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]