Conflicting AppDirs fxd.
This commit is contained in:
parent
473abfa1e3
commit
71e07e82e2
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue