In progress...
This commit is contained in:
parent
058e515e1d
commit
e52d0c1678
|
@ -9,7 +9,7 @@ namespace LAview.Core.Plugins {
|
|||
builder.add_from_file (AppDirs.ui_dir + "/laview-plugin-object-example.glade");
|
||||
builder.connect_signals (this);
|
||||
|
||||
dialog = builder.get_object ("object_example_dialog_bkp") as Dialog;
|
||||
dialog = builder.get_object ("object_example_dialog") as Dialog;
|
||||
if (parent is Window) {
|
||||
dialog.transient_for = parent as Window;
|
||||
dialog.modal = true;
|
||||
|
|
|
@ -2,18 +2,7 @@
|
|||
<!-- Generated with glade 3.19.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.16"/>
|
||||
<object class="GtkWindow" id="object_example_dialog">
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="button3">
|
||||
<property name="label" translatable="yes">button</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<object class="GtkDialog" id="object_example_dialog_bkp">
|
||||
<object class="GtkDialog" id="object_example_dialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
|
|
Loading…
Reference in New Issue