mirror of
https://github.com/gryf/wicd.git
synced 2025-12-28 17:32:36 +01:00
Usability issue: move "Refresh" button at first position, so to avoid accidental press of "Shut off Wifi"
This commit is contained in:
18
data/wicd.ui
18
data/wicd.ui
@@ -82,14 +82,13 @@
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToolButton" id="rfkill_button">
|
||||
<object class="GtkToolButton" id="refresh_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
<property name="is_important">True</property>
|
||||
<property name="label" translatable="yes">_Switch Off Wi-Fi</property>
|
||||
<property name="label" translatable="yes">_Refresh</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="stock_id">gtk-media-stop</property>
|
||||
<signal name="clicked" handler="rfkill_clicked"/>
|
||||
<property name="stock_id">gtk-refresh</property>
|
||||
<signal name="clicked" handler="refresh_clicked"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
@@ -112,13 +111,14 @@
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToolButton" id="refresh_button">
|
||||
<object class="GtkToolButton" id="rfkill_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
<property name="is_important">True</property>
|
||||
<property name="label" translatable="yes">_Refresh</property>
|
||||
<property name="label" translatable="yes">_Switch Off Wi-Fi</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="stock_id">gtk-refresh</property>
|
||||
<signal name="clicked" handler="refresh_clicked"/>
|
||||
<property name="stock_id">gtk-media-stop</property>
|
||||
<signal name="clicked" handler="rfkill_clicked"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
||||
Reference in New Issue
Block a user