diff --git a/src/ObjectDialog.vala b/src/ObjectDialog.vala index 0fbc48f..c389b80 100644 --- a/src/ObjectDialog.vala +++ b/src/ObjectDialog.vala @@ -1,10 +1,10 @@ namespace LAview.Core.Plugins { using Gtk, LAview; - public class ObjectExampleDialog { + public class ObjectExampleDialog1 { Dialog dialog; - public ObjectExampleDialog (Window parent) throws Error { + public ObjectExampleDialog1 (Window parent) throws Error { var builder = new Builder (); builder.add_from_file (AppDirs.ui_dir + "/laview-plugin-object-example.glade"); builder.connect_signals (this); diff --git a/src/main.vala b/src/main.vala index 0c855a3..0939736 100644 --- a/src/main.vala +++ b/src/main.vala @@ -8,7 +8,7 @@ namespace LAview.Core.Plugins { */ public class PluginObjectExample : PluginObject { - ObjectExampleDialog object_dialog = null; + ObjectExampleDialog1 object_dialog = null; /** * Constructs a new ``PluginObjectExample``. @@ -47,9 +47,9 @@ namespace LAview.Core.Plugins { * Compose the object. */ public override bool compose (Gee.HashMap answers) throws Error { - if (object_dialog == null) object_dialog = new ObjectExampleDialog (null); + //if (object_dialog == null) object_dialog = new ObjectExampleDialog1 (null); - object_dialog.show_all (); + //object_dialog.show_all (); PluginDataExample data_obj_ex = (host as IHostCore).get_data_object ("DataExample") as PluginDataExample; stdout.puts ("Compose() called\n");