1
0
Fork 0

In progress...

This commit is contained in:
Kolan Sh 2016-04-06 19:34:30 +03:00
parent 058e515e1d
commit e52d0c1678
2 changed files with 2 additions and 13 deletions

View File

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

View File

@ -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">