1
0
Fork 0

In progress...

This commit is contained in:
Kolan Sh 2016-04-04 00:50:31 +03:00
parent fc7673b63d
commit 6c9c091a60
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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<string, AnswerValue> 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");