| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/orca/ |
Upload File : |
Ñò
z#ÝJc
@ sé d Z d Z d Z d Z d Z d Z d d k Z d d k Z d d k Z d d k Z d d k
Z
d d k Z d d k Z d d k
Z
d d k Z d d k Z d a d e i f d „ ƒ YZ d
„ Z d „ Z e d j o e ƒ n d S(
s) Displays a GUI for the user to quit Orca.s $Id$s
$Revision$s $Date$s- Copyright (c) 2005-2008 Sun Microsystems Inc.t LGPLiÿÿÿÿNt OrcaQuitGUIc B s5 e Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s d S( N( ( t self( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyt init, s c C s‘ | i d ƒ } yD | i ƒ t i } | d j o t i ƒ } n | i i | ƒ Wn# t j
o t i
t i ƒ n X| i ƒ | i
ƒ d S( sd Show the Orca quit GUI dialog. This assumes that the GUI has
already been created.
t
quitDialogi N( t
get_widgett realizet
orca_statet lastInputEventTimestampt gtkt get_current_event_timet windowt
set_user_timet AttributeErrort debugt printExceptiont LEVEL_FINESTt hidet show( R R t ts( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyt showGUI/ s
c C s/ | i d ƒ i ƒ t i o t i ƒ n d S( s9 Signal handler for the "clicked" signal for the quitNoButton
GtkButton widget. The user has clicked the No button.
Don't quit Orca. Just hide the quit dialog and recreate the
Orca main window.
Arguments:
- widget: the component that generated the signal.
R N( R R t settingst showMainWindowt orcat showMainWindowGUI( R t widget( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyt quitNoButtonClickedG s
c C s t i ƒ d S( s Signal handler for the "clicked" signal for the quitYesButton
GtkButton widget. The user has clicked the Yes button.
Call the orca.shutdown() method to gracefully terminate Orca.
Arguments:
- widget: the component that generated the signal.
N( R t shutdown( R R ( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyt quitYesButtonClickedU s c C s
d a d S( sN Signal handler for the "destroyed" signal for the quitDialog
GtkWindow widget. Reset OS to None, so that the GUI can be rebuilt
from the GtkBuilder file the next time the user wants to display
the quit dialog GUI.
Arguments:
- widget: the component that generated the signal.
N( t Nonet OS( R R ( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyt quitDialogDestroyed` s ( t __name__t
__module__R R R R R ( ( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyR * s
c C sY t pD t i i t i t i t i d d ƒ } t | d ƒ a t i ƒ n t i
ƒ d S( Nt uis orca-quit.uiR ( R t ost patht joint platformt prefixt datadirnamet packageR R R ( t uiFile( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyt
showQuitUIn s c C s5 t i t i d ƒ t ƒ t i ƒ t i d ƒ d S( Nt i ( t localet setlocalet LC_ALLR+ R t maint syst exit( ( ( s2 /usr/lib/python2.6/site-packages/orca/orca_quit.pyR0 | s
t __main__( t __doc__t __id__t __version__t __date__t
__copyright__t __license__R# R1 R R R- R t orca_gtkbuilderR R&