Commit 8e414f88 authored by Felipe Borges's avatar Felipe Borges
Browse files

sharing: Move "Remote Login" switch to headerbar

According to the new designs at
https://wiki.gnome.org/Design/SystemSettings/Sharing

https://bugzilla.gnome.org/show_bug.cgi?id=767646
parent 8b689614
......@@ -421,38 +421,6 @@
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="remote-login-switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="halign">end</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Remote Login</property>
<property name="mnemonic_widget">remote-login-switch</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
......@@ -469,6 +437,22 @@
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="remote-login-headerbar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">Remote Login</property>
<property name="show_close_button">True</property>
<child>
<object class="GtkSwitch" id="remote-login-switch">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
</object>
</child>
</object>
</child>
</object>
<object class="GtkDialog" id="screen-sharing-dialog">
<property name="can_focus">False</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment