1
0
Fork 0

Conflicting AppDirs fxd.

This commit is contained in:
Kolan Sh 2018-04-27 15:01:54 +03:00
parent 473abfa1e3
commit 71e07e82e2
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ namespace Get {
extern void library_path (string so_path, void *addr); extern void library_path (string so_path, void *addr);
} }
namespace LAview.Core.Plugins { namespace LAview.Core.Plugins.DataExample {
class AppDirs : Object { class AppDirs : Object {

View File

@ -8,7 +8,7 @@ namespace LAview.Core.Plugins {
public DataExampleDialog (Object parent) throws Error { public DataExampleDialog (Object parent) throws Error {
var builder = new Builder (); 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); builder.connect_signals (this);
dialog = builder.get_object ("data_example_dialog") as Dialog; dialog = builder.get_object ("data_example_dialog") as Dialog;

View File

@ -16,6 +16,7 @@ namespace LAview.Core.Plugins {
construct { construct {
// Initialize the data object, open database connection for example. // Initialize the data object, open database connection for example.
stdout.puts ("PluginDataExample init () called\n"); stdout.puts ("PluginDataExample init () called\n");
DataExample.AppDirs.init ();
} }
/** /**