Show
Ignore:
Timestamp:
02/15/07 19:05:38 (22 months ago)
Author:
asterix
Message:

mrege diff from trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11/src/conversation_textview.py

    r7949 r7984  
    3636        '''Class for the conversation textview (where user reads already said messages) 
    3737        for chat/groupchat windows''' 
     38         
     39        path_to_file = os.path.join(gajim.DATA_DIR, 'pixmaps', 'muc_separator.png') 
     40        FOCUS_OUT_LINE_PIXBUF = gtk.gdk.pixbuf_new_from_file(path_to_file) 
     41 
    3842        def __init__(self, account, used_in_history_window = False): 
    3943                '''if used_in_history_window is True, then we do not show 
     
    139143 
    140144                self.line_tooltip = tooltips.BaseTooltip() 
    141                  
    142                 path_to_file = os.path.join(gajim.DATA_DIR, 'pixmaps', 'muc_separator.png') 
    143                 self.focus_out_line_pixbuf = gtk.gdk.pixbuf_new_from_file(path_to_file) 
    144145                # use it for hr too 
    145                 self.tv.focus_out_line_pixbuf = self.focus_out_line_pixbuf 
     146                self.tv.focus_out_line_pixbuf = ConversationTextview.FOCUS_OUT_LINE_PIXBUF 
    146147 
    147148        def del_handlers(self): 
     
    240241                        end_iter = buffer.get_end_iter() 
    241242                        buffer.insert(end_iter, '\n') 
    242                         buffer.insert_pixbuf(end_iter, self.focus_out_line_pixbuf) 
     243                        buffer.insert_pixbuf(end_iter,  
     244                                ConversationTextview.FOCUS_OUT_LINE_PIXBUF) 
    243245 
    244246                        end_iter = buffer.get_end_iter()