fix warning and add aspect frame
This commit is contained in:
parent
2b8624f7f5
commit
35b69747e8
2 changed files with 7 additions and 7 deletions
|
@ -768,13 +768,13 @@
|
||||||
<property name="margin-start">3</property>
|
<property name="margin-start">3</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="preview">
|
<object class="GtkAspectFrame" id="preview">
|
||||||
<property name="width-request">300</property>
|
|
||||||
<property name="height-request">200</property>
|
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="margin-bottom">5</property>
|
<property name="label-xalign">0</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="shadow-type">none</property>
|
||||||
|
<property name="ratio">1.3300000429153442</property>
|
||||||
|
<property name="obey-child">False</property>
|
||||||
<child>
|
<child>
|
||||||
<placeholder/>
|
<placeholder/>
|
||||||
</child>
|
</child>
|
||||||
|
|
|
@ -64,10 +64,10 @@ namespace Deskcandy {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.socket = new Gtk.Socket();
|
this.socket = new Gtk.Socket();
|
||||||
this.socket.realize();
|
|
||||||
this.socket.expand = true;
|
this.socket.expand = true;
|
||||||
this.socket.visible = true;
|
|
||||||
this.preview.add(this.socket);
|
this.preview.add(this.socket);
|
||||||
|
this.socket.visible = true;
|
||||||
|
this.socket.realize();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this.proc = candy.launch((uint)this.socket.get_id(), name);
|
this.proc = candy.launch((uint)this.socket.get_id(), name);
|
||||||
|
|
Loading…
Reference in a new issue