Changeset 7984 for branches/gajim_0.11/src/conversation_textview.py
- Timestamp:
- 02/15/07 19:05:38 (22 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11/src/conversation_textview.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11/src/conversation_textview.py
r7949 r7984 36 36 '''Class for the conversation textview (where user reads already said messages) 37 37 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 38 42 def __init__(self, account, used_in_history_window = False): 39 43 '''if used_in_history_window is True, then we do not show … … 139 143 140 144 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)144 145 # use it for hr too 145 self.tv.focus_out_line_pixbuf = self.focus_out_line_pixbuf146 self.tv.focus_out_line_pixbuf = ConversationTextview.FOCUS_OUT_LINE_PIXBUF 146 147 147 148 def del_handlers(self): … … 240 241 end_iter = buffer.get_end_iter() 241 242 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) 243 245 244 246 end_iter = buffer.get_end_iter()
