orca r2331 - in trunk: . src/orca src/orca/scripts
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r2331 - in trunk: . src/orca src/orca/scripts
- Date: Tue, 1 May 2007 19:03:19 +0100 (BST)
Author: richb
Date: 2007-05-01 19:03:18 +0100 (Tue, 01 May 2007)
New Revision: 2331
ViewCVS link: http://svn.gnome.org/viewcvs/orca?rev=2331&view=rev
Modified:
trunk/ChangeLog
trunk/src/orca/Gecko.py
trunk/src/orca/app_gui_prefs.py
trunk/src/orca/focus_tracking_presenter.py
trunk/src/orca/orca_gui_prefs.py
trunk/src/orca/orca_prefs.py
trunk/src/orca/script.py
trunk/src/orca/scripts/StarOffice.py
trunk/src/orca/scripts/gaim.py
Log:
* src/orca/scripts/gaim.py:
src/orca/scripts/StarOffice.py:
src/orca/Gecko.py:
src/orca/orca_prefs.py:
src/orca/app_gui_prefs.py:
src/orca/script.py:
Work on bug #433146 â Add ability to configure app-unique
settings via GUI.
Added two new methods to the Script class:
def getAppPreferencesGUI(self):
Returns a GtkVBox contain the application unique configuration
GUI items for the current application.
def setAppPreferences(self, prefs):
Write out the application specific preferences lines and
set the new values.
Any application that has application unique settings need to
overridge those methods any implement them.
If <script>.getAppPreferencesGUI() does return something other
than None (the default), then that is assumed to be a Gtk widget
that can be given to a new tab in the application configuration
dialog.
Adjusted the gaim script to do exactly that. What this does seem
to mean is that those settings values need to be global variables
within the application script file rather than script variables
(self.<whatever>).
Similar adjustments for the StarOffice and Gecko scripts.
* src/orca/app_gui_prefs.py:
src/orca/orca_gui_prefs.py:
Added in the application specific key bindings to the key bindings
list in the application configuration dialog.
Added in the writing out of the application specific key bindings
to the ~/.orca/app-settings/<APPNAME>.py file.
* src/orca/focus_tracking_presenter.py:
Adjusted the loadAppSettings() method to pass in the current
active script, so that the user's application specific key
bindings can be set.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]