™N
öÒ’;c       sž   k  l k Z k Z k Z k Z k Z k Z k Z k	 Z	 k
 Z
 k Z k Z k Z k Z k Z k Z k Z y
 k Z Wn n Xe Z d  e i f d „  ƒ  YZ d S(   s
   MainWindowc      sF  d „  Z  d „  Z d „  Z e d „ Z d „  Z d „  Z d „  Z e e d „ Z e e d	 „ Z	 d
 „  Z
 d „  Z e e d „ Z e e d „ Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d  „  Z  d! „  Z! RS("   Nc    ss  t  i o
 d } n d } t i i |  | ƒ |  a d |  _ g  |  _	 t
 i ƒ  |  _ t  i |  _ t
 i ƒ  |  _ t i |  d d d f ƒ \ } } |  i i | | ƒ |  i i d t i t i f ƒ |  i i d |  i ƒ t i |  ƒ |  _ t i |  |  i ƒ |  _ t i |  |  i ƒ |  _  |  i  |  i _  |  i! i" |  i  ƒ |  i! i# t i |  d	 d
 ƒ ƒ |  i  i$ ƒ  |  i! i% |  i ƒ |  i i$ ƒ  t i |  d d
 ƒ } |  i' i# | ƒ |  i' i% |  i ƒ |  i i$ ƒ  h  |  i( d <|  i) d <|  i i* d <|  i+ d <t, d <|  i d <|  i i- d <|  i. d <|  i/ d <|  i0 d <|  i i1 d <|  i2 d <|  i3 d <} |  i5 i6 | ƒ |  i5 i7 d ƒ |  _8 t9 i: i; ƒ  } t= d „  |  i8 i> ƒ  ƒ } | d } tA | ƒ o‰ tB ƒ  }	 | iD |	 ƒ xl | d rb }
 |  |
 _F |
 iG ƒ  } |
 iH ƒ  } | o4 tI | ƒ } | iD | ƒ |	 iK | ƒ | i$ ƒ  n qüWn d |  _ d  S(   Ns   gnomeapp.glades	   all.gladei    s   sizeiŠ  iÂ  s   %s %ss   destroys   hSizei–   s   vSizes   new_msgs
   check_mails   deletes   preferencess   searchs   quits   expunges   replys   forwards   search_mailboxs   flags   header_views   abouts"   MainWindow.dock1.dockitem1.menubarc    s   |  d d j S(   Ns   names   plugins(   s   x(   s   xs*   /mit/python/share/pmail/gtkf/MainWindow.pys   <lambda>j s    i   (L   s   mygnomes
   have_gnomes	   gladefiles   GladeWindows   Windows   __init__s   selfs   windows   _started_ups   _progress_stacks	   threadings   RLocks   _progress_stack_locks   _use_progress_popups   _check_locks   configs   getWindowParams   ws   hs   _windows	   set_usizes	   set_titles   app_names   versions   connects   do_quits	   MsgWindows   create_message_windows   _messageWindows   MessageLists   _messageLists
   TreeWindows   _treeWindows   _hpanes   add1s   set_positions   shows   add2s   vSizes   _vpanes   new_messages
   check_mails   delete_mails   do_prefss   Nones   expunges   replys   forwards   search_mailboxs	   flag_mails   header_views   abouts   sigss   _glades   signal_autoconnects   get_widget_by_longnames   _menubars   mails   Plugins   get_pluginss   pluginss   filters   childrens   itemss   items   lens   GtkMenus   subs   set_submenus   plugins   _uis   names   menus   GtkMenuItems   sitems   append(   s   selfs	   gladefiles   ws   hs   vSizes   sigss   pluginss   itemss   items   subs   plugins   names   menus   sitems*   /mit/python/share/pmail/gtkf/MainWindow.pys   __init__0 sb    

 		! ¨	
		 	c    s   |  i i ƒ  Sd  S(   N(   s   selfs   _messageLists   selected_mailbox(   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   selected_mailbox} s    c    s   |  i i ƒ  Sd  S(   N(   s   selfs   _messageLists   selected_messages(   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   selected_messages€ s    c    sŽ   |  i i ƒ  } | ot d } xT t i ƒ  d rD } t | t i	 i
 ƒ o | d | j o | i ƒ  p | } n q+ W|  i i d | ƒ n d  S(   Ni    s   storage_mailboxs
   force_list(   s   selfs   _messageLists   selected_mailboxs   boxs   forces   mails   get_sourcess   sources
   isinstances   POPs	   POPSources
   check_mail(   s   selfs   ds   boxs   forces   sources*   /mit/python/share/pmail/gtkf/MainWindow.pys
   check_mailƒ s     'c    s]   t  i i |  ƒ xF t i ƒ  d r6 } t i ƒ  | d o | i ƒ  |  i	 i ƒ  n q Wd  S(   Ni    s   check_at_startup(
   s   GladeWindows   Windows   shows   selfs   mails   get_sourcess   sources   updates
   check_mails   _treeWindow(   s   selfs   sources*   /mit/python/share/pmail/gtkf/MainWindow.pys   show s     

c    s"   t  i o |  i i | ƒ n d  S(   N(   s   mygnomes
   have_gnomes   selfs   _statuss   pushs   mesg(   s   selfs   cntxs   mesgs*   /mit/python/share/pmail/gtkf/MainWindow.pys   show_status– s    
c    s   t  i o |  i i ƒ  n d  S(   N(   s   mygnomes
   have_gnomes   selfs   _statuss   pop(   s   selfs   cntxs*   /mit/python/share/pmail/gtkf/MainWindow.pys
   pop_statusœ s    
c    s"   |  i ƒ  |  i i ƒ  t ƒ  d  S(   N(   s   selfs   store_configs   _messageWindows   remove_temp_filess   mainquit(   s   selfs   _bs   _es*   /mit/python/share/pmail/gtkf/MainWindow.pys   do_quit¢ s    
c    s   t  i |  ƒ d  S(   N(   s   Preferencess   shows   self(   s   selfs   _bs   _es*   /mit/python/share/pmail/gtkf/MainWindow.pys   do_prefs§ s    c    sE   t  i i t i t i d d g d ƒ } | i |  i	 ƒ | i
 ƒ  d  S(   Ns   Copyright 2000 Scott Benders%   Scott Bender <sbender@harmony-ds.com>s    http://www.scottbender.net/pmail(   s   gnomes   uis
   GnomeAbouts   configs   app_names   versions   abouts
   set_parents   selfs   _windows   show(   s   selfs   _bs   abouts*   /mit/python/share/pmail/gtkf/MainWindow.pys   aboutª s    	c    s   t  i |  ƒ d  S(   N(   s   Composes   shows   self(   s   selfs   bs*   /mit/python/share/pmail/gtkf/MainWindow.pys   new_message³ s    c    sÊ   | o8 |  i i ƒ  } t | ƒ d j o | d } n d  Sn | ok | d } | d j o t	 i
 } nD | d j o t	 i } n* | d j o t	 i } n t	 i d ƒ } n t i |  | | ƒ d  S(   Ni   i    s   names
   attachments   inlines   quoteds   forward_type(   s   msgs   selfs   _messageLists   selected_messagess   msgss   lens   types   bs   names   mails
   ATTACHMENTs   INLINEs   QUOTEDs
   get_configs   Composes   forward(   s   selfs   bs   msgs   types   msgss   names*   /mit/python/share/pmail/gtkf/MainWindow.pys   forward¶ s    
c    sÊ   | o8 |  i i ƒ  } t | ƒ d j o | d } n d  Sn | ok | d } | d j o t	 i
 } nD | d j o t	 i } n* | d j o t	 i } n t	 i d ƒ } n t i |  | | ƒ d  S(   Ni   i    s   names
   attachments   inlines   quoteds
   reply_type(   s   msgs   selfs   _messageLists   selected_messagess   msgss   lens   types   bs   names   mails
   ATTACHMENTs   INLINEs   QUOTEDs
   get_configs   Composes   reply(   s   selfs   bs   msgs   types   msgss   names*   /mit/python/share/pmail/gtkf/MainWindow.pys   replyË s    
c    s   t  i |  |  i i ƒ d  S(   N(   s   SearchMessagess   shows   selfs   _treeWindows   _selected_mailbox(   s   selfs   bs*   /mit/python/share/pmail/gtkf/MainWindow.pys   search_mailboxà s    c    s   |  i i ƒ  d  S(   N(   s   selfs   _treeWindows   update_tree(   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   preferences_changedã s    c    sy   | d } | d j o t i } n5 | d j o t i } n | d j o t i } n t i d | ƒ |  i	 i
 ƒ  d  S(   Ns   names   normals   briefs   alls
   headerView(   s   ds   names   mails   NORMAL_HEADERSs   vals   BRIEF_HEADERSs   ALL_HEADERSs
   set_configs   selfs   _messageWindows	   redisplay(   s   selfs   ds   names   vals*   /mit/python/share/pmail/gtkf/MainWindow.pys   header_viewæ s    
c    s   d Sd  S(   Ns   GtkMainWindow(    (   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   nameò s    c    sš   |  i i ƒ  |  i i ƒ  |  i i ƒ  } t i |  d | d ƒ |  i i ƒ  } t i |  d | d ƒ |  i	 i ƒ  } t i |  d | d | d f ƒ d  S(   Ns   hSizei   s   vSizei   s   size(
   s   selfs   _messageLists   store_configs   _treeWindows   get_allocations   as   configs   setWindowParams   _hpanes   _window(   s   selfs   as*   /mit/python/share/pmail/gtkf/MainWindow.pys   store_configõ s    c    s   t  i ƒ  i ƒ  d j Sd  S(   Ns
   MainThread(   s	   threadings   currentThreads   getName(   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   in_main_threadÿ s    c    s   |  i ƒ  o t ƒ  n d  S(   N(   s   selfs   in_main_threads   threads_enter(   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   threads_enters    c    s   |  i ƒ  o t ƒ  n d  S(   N(   s   selfs   in_main_threads   threads_leave(   s   selfs*   /mit/python/share/pmail/gtkf/MainWindow.pys   threads_leaves    c    s|   t  |  i ƒ oc d } t d t  |  i ƒ ƒ } | i ƒ  x/ | d r% } |  i | t j o | } Pn qB W| Sn d Sd  S(   Ni   i    (	   s   lens   selfs   _progress_stacks   ress   ranges   rs   reverses   is   None(   s   selfs   ress   rs   is*   /mit/python/share/pmail/gtkf/MainWindow.pys   __latest_progess
s    
	 	c    s  |  i d | ƒ |  i ƒ  |  i o+ t i d | | |  i ƒ |  _	 |  i	 } nˆ |  i i | ƒ |  i i d ƒ |  i i ƒ  |  i ƒ  d } | t |  i ƒ j o |  i i | ƒ n | |  i | <|  i i ƒ  | } |  i ƒ  |  i ƒ  o t i ƒ  n |  i d ƒ | Sd  S(   Ns   start_progress: %ds   Progressi    i   s   start_progress: done(   s   selfs   debugs   counts   threads_enters   _use_progress_popups   ProgressBars   shows   messages   _windows	   _progresss   ress   _statuss   pushs   set_progresss   _progress_stack_locks   acquires   _MainWindow__latest_progesss   idxs   lens   _progress_stacks   appends   releases   threads_leaves   in_main_threads   update(   s   selfs   messages   counts   ress   idxs*   /mit/python/share/pmail/gtkf/MainWindow.pys   start_progresss,    

	
c    s¬   |  i ƒ  |  i o | i | ƒ n_ |  i i ƒ  | |  i ƒ  j o1 t	 | ƒ t	 |  i
 | ƒ } |  i i | ƒ n |  i i ƒ  |  i ƒ  |  i ƒ  o t i ƒ  n d  S(   N(   s   selfs   threads_enters   _use_progress_popups   progresss   updates   nums   _progress_stack_locks   acquires   _MainWindow__latest_progesss   floats   _progress_stacks   fs   _statuss   set_progresss   releases   threads_leaves   in_main_thread(   s   selfs   nums   progresss   fs*   /mit/python/share/pmail/gtkf/MainWindow.pys   update_progress5s    


c    s5   |  i o# | o |  i } n | i ƒ  Sn d Sd  S(   Ni    (   s   selfs   _use_progress_popups   progresss	   _progresss   user_aborted(   s   selfs   progresss*   /mit/python/share/pmail/gtkf/MainWindow.pys   progress_abortedGs
    
c    s³   |  i d ƒ |  i ƒ  |  i o | i ƒ  n\ |  i i ƒ  | |  i ƒ  j o. |  i	 i
 ƒ  |  i	 i d ƒ t |  i | <n |  i i ƒ  |  i ƒ  |  i ƒ  o t i ƒ  n d  S(   Ns   finish_progressi    (   s   selfs   debugs   threads_enters   _use_progress_popups   progresss   destroys   _progress_stack_locks   acquires   _MainWindow__latest_progesss   _statuss   pops   set_progresss   Nones   _progress_stacks   releases   threads_leaves   in_main_threads   update(   s   selfs   progresss*   /mit/python/share/pmail/gtkf/MainWindow.pys   finish_progressPs    


c    s>   |  i ƒ  t i d d | i ƒ  |  i ƒ } |  i ƒ  | Sd  S(   Ns   Mail Server Passwords!   Please enter the password for: %s(	   s   selfs   threads_enters   gutils   get_passwords   sources   names   _windows   ress   threads_leave(   s   selfs   sources   ress*   /mit/python/share/pmail/gtkf/MainWindow.pys   prompt_passwordbs    
	
c    s%   |  i ƒ  t i | ƒ |  i ƒ  d  S(   N(   s   selfs   threads_enters   gutils	   alert_boxs   messages   threads_leave(   s   selfs   messages*   /mit/python/share/pmail/gtkf/MainWindow.pys   alertks    
c    s*   |  i i | i ƒ  ƒ |  i i | ƒ d  S(   N(   s   selfs   _treeWindows   select_mailboxs   messages   mailboxs   _messageLists   select_message(   s   selfs   messages*   /mit/python/share/pmail/gtkf/MainWindow.pys   display_messageps    c    s!   | i ƒ  } |  i i ƒ  | Sd  S(   N(   s   sources
   check_mails   ress   selfs   _treeWindows   update(   s   selfs   sources   ress*   /mit/python/share/pmail/gtkf/MainWindow.pys   check_thread_funcus    c    s–   |  i o d  Sn |  i i ƒ  t ƒ  |  i | ƒ } | o) | |  i i	 ƒ  j o |  i i	 ƒ  i ƒ  o |  i i
 ƒ  n t ƒ  |  i i ƒ  d Sd  S(   Ni   (   s   selfs   _started_ups   _check_locks   acquires   threads_enters   check_thread_funcs   sources   ress   _messageLists   selected_mailboxs   list_messagess   threads_leaves   release(   s   selfs   sources   ress*   /mit/python/share/pmail/gtkf/MainWindow.pys   check_timer_func|s    3c    s'   | d } t | |  i | ƒ } | Sd  S(   Niè  (   s   secondss   touts   timeout_adds   selfs   check_timer_funcs   sources   tag(   s   selfs   sources   secondss   touts   tags*   /mit/python/share/pmail/gtkf/MainWindow.pys   add_check_timers    
c    s   t  | ƒ d  S(   N(   s   timeout_removes   tag(   s   selfs   tags*   /mit/python/share/pmail/gtkf/MainWindow.pys   remove_check_timer—s    
("   s   __init__s   selected_mailboxs   selected_messagess   Nones
   check_mails   shows   show_statuss
   pop_statuss   do_quits   do_prefss   abouts   new_messages   forwards   replys   search_mailboxs   preferences_changeds   header_views   names   store_configs   in_main_threads   threads_enters   threads_leaves   _MainWindow__latest_progesss   start_progresss   update_progresss   progress_aborteds   finish_progresss   prompt_passwords   alerts   display_messages   check_thread_funcs   check_timer_funcs   add_check_timers   remove_check_timer(    s*   /mit/python/share/pmail/gtkf/MainWindow.pys
   MainWindow/ sB    	M		
												
																N(   s   gtks   *s   GtkExtras	   threadings   times   mygnomes   configs   GladeWindows   MessageLists
   TreeWindows   Preferencess   ProgressBars   Composes   gutils   mails   SearchMessagess	   MsgWindows   updates   _pmailextensionss   Nones   windows   Windows
   MainWindow(    s*   /mit/python/share/pmail/gtkf/MainWindow.pys   ? s,   
