In progress...
This commit is contained in:
parent
d960581299
commit
5bf19ff05a
|
@ -2,20 +2,20 @@ namespace LAview.Core.Plugins {
|
|||
using Gtk, LAview;
|
||||
|
||||
class ObjectExampleDialog1 {
|
||||
Dialog dialog;
|
||||
//Dialog dialog;
|
||||
|
||||
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);
|
||||
|
||||
dialog = builder.get_object ("object_example_dialog") as Dialog;
|
||||
if (parent != null) dialog.transient_for = parent;
|
||||
dialog.modal = true;
|
||||
// var builder = new Builder ();
|
||||
// builder.add_from_file (AppDirs.ui_dir + "/laview-plugin-object-example.glade");
|
||||
// builder.connect_signals (this);
|
||||
//
|
||||
// dialog = builder.get_object ("object_example_dialog") as Dialog;
|
||||
// if (parent != null) dialog.transient_for = parent;
|
||||
// dialog.modal = true;
|
||||
}
|
||||
|
||||
public void show_all () {
|
||||
dialog.show_all ();
|
||||
}
|
||||
// public void show_all () {
|
||||
// dialog.show_all ();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,14 @@ namespace LAview.Core.Plugins {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
public class MyNameIsVasya {
|
||||
public MyNameIsVasya () {
|
||||
stdout.puts ("My name is Vasya\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[ModuleInit]
|
||||
Type plugin_init (GLib.TypeModule type_module) {
|
||||
|
|
Loading…
Reference in New Issue