[nanny] Hide edit button for the moment in nac_wcf
- From: Roberto Majadas <telemaco src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nanny] Hide edit button for the moment in nac_wcf
- Date: Tue, 22 Dec 2009 23:33:48 +0000 (UTC)
commit a846bebdfe3e799aead3392d47a6a1f11e71aeff
Author: Roberto Majadas <roberto majadas openshine com>
Date: Tue Dec 22 23:42:49 2009 +0100
Hide edit button for the moment in nac_wcf
client/gnome/admin/data/glade/nac_wcf_dialog.glade | 2 --
client/gnome/admin/src/ConfigureProxyDialog.py | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/client/gnome/admin/data/glade/nac_wcf_dialog.glade b/client/gnome/admin/data/glade/nac_wcf_dialog.glade
index 5c5a821..567c88f 100644
--- a/client/gnome/admin/data/glade/nac_wcf_dialog.glade
+++ b/client/gnome/admin/data/glade/nac_wcf_dialog.glade
@@ -51,7 +51,6 @@
<child>
<object class="GtkButton" id="wcfd_blacklist_edit_button">
<property name="label">gtk-edit</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
@@ -138,7 +137,6 @@
<child>
<object class="GtkButton" id="wcfd_whitelist_edit_button">
<property name="label">gtk-edit</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
diff --git a/client/gnome/admin/src/ConfigureProxyDialog.py b/client/gnome/admin/src/ConfigureProxyDialog.py
index a695937..5eb3af9 100644
--- a/client/gnome/admin/src/ConfigureProxyDialog.py
+++ b/client/gnome/admin/src/ConfigureProxyDialog.py
@@ -46,6 +46,9 @@ class ConfigureProxyDialog (gtk.Dialog):
self.main_notebook.unparent()
self.get_content_area().add (self.main_notebook)
+ self.blacklist_edit_button.set_no_show_all(True)
+ self.whitelist_edit_button.set_no_show_all(True)
+
self.blacklist_add_button.connect ('clicked', self.__on_blacklist_add_button_clicked)
self.blacklist_edit_button.connect ('clicked', self.__on_blacklist_edit_button_clicked)
self.blacklist_remove_button.connect ('clicked', self.__on_blacklist_remove_button_clicked)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]