;ò <•Gc@s}dkZdkZdkTdkZdkZydklZWndklZnXdfd„ƒYZdfd„ƒYZ dS(N(s*(s timeout_adds gconf_libcBsetZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z d d „Z RS( NcCsgdt|_tiƒ|_d|_d|_t|_d|_ |ii |iti ƒ|i ƒdS(Ns/apps/s /usr/local/share/pixmaps/splash/s-/usr/local/share/pixmaps/splashsetter/splash/s(/apps/gnome-session/options/splash_image( s GNOME_APP_IDsselfs_gconf_lib__my_conf_pathsgconfsclient_get_defaults_gconf_lib__gconf_clients_gconf_lib__splash_dir_defaultsTrues"_gconf_lib__splash_cb_sysdir_states"_gconf_lib__gconf_session_key_pathsadd_dirsCLIENT_PRELOAD_NONEs_gconf_lib__pre_configure(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys__init__)s     cCs|ii|iƒ}g}x-|D]%}|iti i |i ƒƒƒq"Wd|j o|i |i ƒnd|j o|itƒndS(Ns splash_dirs use_sysdir(sselfs_gconf_lib__gconf_clients all_entriess_gconf_lib__my_conf_paths entries_setsentriessesappendsosspathsbasenamesget_keysset_splash_dirs_gconf_lib__splash_dir_defaultsset_cb_sysdir_statesTrue(sselfs entries_setsesentries((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys__pre_configure6s#cCs|ii|idƒSdS(Ns /splash_dir(sselfs_gconf_lib__gconf_clients get_strings_gconf_lib__my_conf_path(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysget_splash_dirEscCs|iidƒSdS(Ns(/apps/gnome-session/options/splash_image(sselfs_gconf_lib__gconf_clients get_string(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysget_current_splash_screenIscCs|ii|idƒSdS(Ns /use_sysdir(sselfs_gconf_lib__gconf_clientsget_bools_gconf_lib__my_conf_path(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysget_cb_sysdir_stateLscCs|ii|id|ƒSdS(Ns /use_sysdir(sselfs_gconf_lib__gconf_clientsset_bools_gconf_lib__my_conf_paths new_state(sselfs new_state((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysset_cb_sysdir_stateOscCs|ii|i|ƒdS(N(sselfs_gconf_lib__gconf_clients set_strings"_gconf_lib__gconf_session_key_pathsnew_splash_image(sselfsnew_splash_image((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysset_splash_imageRscCs|ii|id|ƒdS(Ns /splash_dir(sselfs_gconf_lib__gconf_clients set_strings_gconf_lib__my_conf_paths key_value(sselfs key_value((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysset_splash_dirUscCs|ii|ƒSdS(N(sselfs_gconf_lib__gconf_clients get_strings gconf_key(sselfs gconf_key((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys get_stringXss __nodefault__cCsf|djoQ|ii|id|ƒ}| o(|ii|id||ƒ|}q^n|SdS(Nsstrings/( skey_typesselfs_gconf_lib__gconf_clients get_strings_gconf_lib__my_conf_pathskey_namesc_keyvals set_strings default_value(sselfskey_typeskey_names default_valuesc_keyval((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys get_config[s  ( s__name__s __module__s__init__s_gconf_lib__pre_configuresget_splash_dirsget_current_splash_screensget_cb_sysdir_statesset_cb_sysdir_statesset_splash_imagesset_splash_dirs get_strings get_config(((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys gconf_lib's        ssplash_set_appcBsPtZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z RS( NcCsOd|_d|_d|_t|_d|_g|_t|_ t ƒ|_ dS(Nss /usr/local/share/pixmaps/splash/s ~/.splash/( sselfs active_splashs _splash_set_app__original_splashs"_splash_set_app__splash_system_dirsTrues%_splash_set_app__search_in_system_dirs _splash_set_app__splash_home_dirssplash_screen_listsFalsesallow_set_splash_nows gconf_libs_splash_set_app__config(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys__init__js       csq‡d†}yWdk‰ˆiƒ}|itƒ|iddƒ|iƒtd|ƒˆi ƒWnnXdS(NcsˆiƒdS(N(sgtks main_quit((sgtk(sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysstop_workaroundysiiÐ( sstop_workaroundsgtksWindowswwins set_decoratedsFalsesset_size_requestsshows timeout_addsmain(sselfsgtkswwinsstop_workaround((sgtksU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys&__gnome_session_needs_a_gui_workaroundws      cCsàdk}|iƒ|iƒ}t|ƒd}|djo‘|id|ƒ}|djo)|||i jot | ƒ}q²n/x+|i ||jo|id|ƒ}q‡W|||_ |i ƒndGH|i ƒdS(Niis*There is only one splash screen available!(srandomsselfs load_configsget_splash_screensssplash_screen_listslens screens_availsrandints new_numbers _splash_set_app__original_splashsints active_splashs set_splashs5_splash_set_app__gnome_session_needs_a_gui_workaround(sselfs screens_availsrandomssplash_screen_lists new_number((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysset_random_splashˆs       cCs||iiƒ|_|iiƒ|_|iddjo|id7_n|i o"|iiƒ|_|i|_ndS(Niÿÿÿÿs/( sselfs_splash_set_app__configsget_cb_sysdir_states%_splash_set_app__search_in_system_dirsget_splash_dirs"_splash_set_app__splash_search_dirs _splash_set_app__original_splashsget_current_splash_screens active_splash(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys load_config£s cCs |iSdS(N(sselfs _splash_set_app__original_splash(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysget_original_splash°scCs¢g}|io|i|i|ƒ}ntii|iƒo|i|ijo|i|i|ƒ}ntii|i ƒo|i|i |ƒ}n|SdS(N( s splashlistsselfs%_splash_set_app__search_in_system_dirs&_splash_set_app__load_splash_file_lists"_splash_set_app__splash_system_dirsosspathsisdirs"_splash_set_app__splash_search_dirs _splash_set_app__splash_home_dir(sselfs splashlist((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pysget_splash_screens´s )cCs#dG|iGH|ii|iƒdS(Ns new splash:(sselfs active_splashs_splash_set_app__configsset_splash_image(sself((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys set_splashÄs cCs‹ti|ƒtidƒ}xd|D]\}tii|ƒoCy5|idƒiƒdjo|i ||ƒnWqqXq#q#W|SdS(Ns.spng( sosschdirspathslistdirsdirlists valid_filesisfilessplitspops splashlistsappend(sselfspaths splashlistsdirlists valid_file((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys__load_splash_file_listÉs  ( s__name__s __module__s__init__s5_splash_set_app__gnome_session_needs_a_gui_workaroundsset_random_splashs load_configsget_original_splashsget_splash_screenss set_splashs&_splash_set_app__load_splash_file_list(((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pyssplash_set_apphs     ( sossgconfsdiv_datasthreadstimesgobjects timeout_addsgtks gconf_libssplash_set_app(sthreads timeout_addssplash_set_apps gconf_libstimesgconfsos((sU/mnt/gmirror/ports/deskutils/splashsetter/work/splashsetter-0.6.5.3/splash_set_lib.pys?s    A