[gnome-system-tools/users-ui-redesign] Fix groups dialogs
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-system-tools/users-ui-redesign] Fix groups dialogs
- Date: Mon, 30 Nov 2009 21:10:53 +0000 (UTC)
commit d23bf36533c077f123bfee0adb7aaad5361433d7
Author: Milan Bouchet-Valat <nalimilan club fr>
Date: Sun Nov 29 19:45:17 2009 +0100
Fix groups dialogs
Bring back the Validate/Cancel buttons that had disappeared in a previous commit. Make Properties/Delete buttons sensitive, since we don't require unlocking before selecting them.
interfaces/users.ui | 38 ++++++++++++++++++++++++++++++++------
1 files changed, 32 insertions(+), 6 deletions(-)
---
diff --git a/interfaces/users.ui b/interfaces/users.ui
index 78924ca..8e073ca 100644
--- a/interfaces/users.ui
+++ b/interfaces/users.ui
@@ -557,10 +557,34 @@
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
- <placeholder/>
+ <object class="GtkButton" id="group_settings_cancel_button">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
</child>
<child>
- <placeholder/>
+ <object class="GtkButton" id="group_settings_validate_button">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
</child>
</object>
<packing>
@@ -571,6 +595,10 @@
</child>
</object>
</child>
+ <action-widgets>
+ <action-widget response="-6">group_settings_cancel_button</action-widget>
+ <action-widget response="-5">group_settings_validate_button</action-widget>
+ </action-widgets>
</object>
<object class="GtkDialog" id="profile_settings_dialog">
<property name="resizable">False</property>
@@ -1517,7 +1545,6 @@
<object class="GtkButton" id="group_settings">
<property name="label">gtk-properties</property>
<property name="visible">True</property>
- <property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
@@ -1532,7 +1559,6 @@
<child>
<object class="GtkButton" id="group_delete">
<property name="visible">True</property>
- <property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
@@ -3211,9 +3237,9 @@
<object class="GtkSizeGroup" id="user_new_notice_sizegroup">
<property name="mode">both</property>
<widgets>
- <widget name="user_new_login_notice"/>
- <widget name="user_new_login_used_notice"/>
<widget name="user_new_login_letter_notice"/>
+ <widget name="user_new_login_used_notice"/>
+ <widget name="user_new_login_notice"/>
</widgets>
</object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]