sharing: Use GtkWindowControls to wrap the cert fingerprint dialog
Instead of using a plain "flat" button positioned at the window corner, let's use GtkWindowControls to wrap the close button and get the default window control styling and alignment. Fixes #1737
This commit is contained in:
parent
b99a987c63
commit
633bf89537
1 changed files with 10 additions and 6 deletions
|
@ -412,17 +412,21 @@
|
|||
<property name="default-width">360</property>
|
||||
<property name="default-height">360</property>
|
||||
<property name="modal">True</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkButton">
|
||||
<object class="GtkWindowControls">
|
||||
<property name="halign">end</property>
|
||||
<property name="icon-name">window-close-symbolic</property>
|
||||
<signal name="clicked" handler="remote_desktop_hide_encryption_fingerprint" swapped="yes"/>
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
<property name="side">end</property>
|
||||
<child>
|
||||
<object class="GtkButton">
|
||||
<property name="halign">end</property>
|
||||
<property name="icon-name">window-close-symbolic</property>
|
||||
<signal name="clicked" handler="remote_desktop_hide_encryption_fingerprint" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
Loading…
Add table
Reference in a new issue