replace toggle item for connection with GtkSwitch
This commit is contained in:
parent
27f84b683a
commit
7509a0d672
2 changed files with 26 additions and 9 deletions
|
|
@ -646,17 +646,26 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="show_close_button">True</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToolbar">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="show_arrow">False</property>
|
||||
<child>
|
||||
<object class="GtkToggleToolButton" id="headerbar-connect">
|
||||
<object class="GtkToolItem">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="icon_name">gtk-disconnect</property>
|
||||
<signal name="toggled" handler="on_headerbar-connect_toggled" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="headerbar-connection">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<signal name="notify::active" handler="on_headerbar-connection_active_notify" swapped="no"/>
|
||||
<signal name="state-set" handler="on_headerbar-connection_state_set" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
@ -690,6 +699,9 @@
|
|||
<class name="no-bg"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child type="title">
|
||||
<object class="GtkStackSwitcher" id="header-panelswitcher">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue