From 71e07e82e291e38940e44c2423e2877934561d17 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 27 Apr 2018 15:01:54 +0300 Subject: [PATCH] Conflicting AppDirs fxd. --- src/AppDirs.vala | 2 +- src/DataDialog.vala | 2 +- src/main.vala | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/AppDirs.vala b/src/AppDirs.vala index b4bc513..64bdfd2 100644 --- a/src/AppDirs.vala +++ b/src/AppDirs.vala @@ -2,7 +2,7 @@ namespace Get { extern void library_path (string so_path, void *addr); } -namespace LAview.Core.Plugins { +namespace LAview.Core.Plugins.DataExample { class AppDirs : Object { diff --git a/src/DataDialog.vala b/src/DataDialog.vala index f11982e..a04249e 100644 --- a/src/DataDialog.vala +++ b/src/DataDialog.vala @@ -8,7 +8,7 @@ namespace LAview.Core.Plugins { public DataExampleDialog (Object parent) throws Error { var builder = new Builder (); - builder.add_from_file (AppDirs.ui_dir + "/laview-plugin-data-example.glade"); + builder.add_from_file (DataExample.AppDirs.ui_dir + "/laview-plugin-data-example.glade"); builder.connect_signals (this); dialog = builder.get_object ("data_example_dialog") as Dialog; diff --git a/src/main.vala b/src/main.vala index 30e5fb9..ac610e5 100644 --- a/src/main.vala +++ b/src/main.vala @@ -16,6 +16,7 @@ namespace LAview.Core.Plugins { construct { // Initialize the data object, open database connection for example. stdout.puts ("PluginDataExample init () called\n"); + DataExample.AppDirs.init (); } /**