mouse-panel: Add "Test Settings" to mouse-panel
This relates to issue #2839 Remove Test Settings from the header Moves Test Settings to bottom of mouse-panel ui Fixed style changes (using '-' instead of '_') for property names Remove unnecessary whitespaces Drop the id from the Test Settings buttons Initial implementation in order to move the "Test Settings" button from the header to the AdwPreferencesPage of the mouse-panel.
This commit is contained in:
parent
617f084332
commit
84a53eb9d4
1 changed files with 36 additions and 15 deletions
|
@ -44,19 +44,6 @@
|
|||
</child>
|
||||
</object>
|
||||
</property>
|
||||
<child type="end">
|
||||
<object class="GtkButton" id="test_button">
|
||||
<property name="use_underline">True</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="label" translatable="yes">Test _Settings</property>
|
||||
<property name="can-shrink">True</property>
|
||||
<property name="tooltip_text" translatable="yes">Test Mouse and Touchpad Settings</property>
|
||||
<signal name="clicked" handler="test_button_clicked_cb" object="CcMousePanel" swapped="yes"/>
|
||||
<style>
|
||||
<class name="text-button"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child type="bottom">
|
||||
|
@ -175,7 +162,24 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="halign">center</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="test_button_mouse">
|
||||
<property name="use-underline">True</property>
|
||||
<property name="valign">end</property>
|
||||
<property name="halign">center</property>
|
||||
<property name="label" translatable="yes">Test _Settings</property>
|
||||
<property name="tooltip-text" translatable="yes">Test Mouse and Touchpad Settings</property>
|
||||
<signal name="clicked" handler="test_button_clicked_cb" object="CcMousePanel" swapped="yes"/>
|
||||
<style>
|
||||
<class name="pill"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
|
@ -299,7 +303,24 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="halign">center</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="test_button_touchpad">
|
||||
<property name="use-underline">True</property>
|
||||
<property name="valign">end</property>
|
||||
<property name="halign">center</property>
|
||||
<property name="label" translatable="yes">Test _Settings</property>
|
||||
<property name="tooltip-text" translatable="yes">Test Mouse and Touchpad Settings</property>
|
||||
<signal name="clicked" handler="test_button_clicked_cb" object="CcMousePanel" swapped="yes"/>
|
||||
<style>
|
||||
<class name="pill"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue