[orca/new-settings] Hide the profiles tab from the app-specific preferences dialog
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Hide the profiles tab from the app-specific preferences dialog
- Date: Mon, 13 Sep 2010 16:29:38 +0000 (UTC)
commit 5e0403aeb5d92f5415e93257d44acfe17deb6d4c
Author: Juanje Ojeda <jojeda emergya es>
Date: Mon Sep 13 18:29:04 2010 +0200
Hide the profiles tab from the app-specific preferences dialog
src/orca/app_gui_prefs.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/app_gui_prefs.py b/src/orca/app_gui_prefs.py
index a69bb0a..c5cb67e 100644
--- a/src/orca/app_gui_prefs.py
+++ b/src/orca/app_gui_prefs.py
@@ -90,9 +90,13 @@ class OrcaSetupGUI(orca_gui_prefs.OrcaSetupGUI):
# in gail or gtk+ (see bug #554002). Instead, we'll just hide it.
#
# self.get_widget("notebook").remove_page(0)
- generalTab = self.get_widget("notebook").get_children()[0]
+ generalTab = self.get_widget("generalVBox")
generalTab.hide()
+ # Hide the profiles tab
+ profilesTab = self.get_widget("profilesVbox")
+ profilesTab.hide()
+
self.get_widget("speechSystemsLabel").set_sensitive(False)
self.get_widget("speechSystems").set_sensitive(False)
self.get_widget("speechServersLabel").set_sensitive(False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]