Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 7f7978b5a3ffa2de76b4c90b6354fdae34498581

  • avatar
  • Lucian
  • Sat Jul 17 18:19:29 EDT 2010
Small fixes.
places.py
(1 / 1)
  
7676 'order by visits desc limit 0, ?',
7777 (text, text, self.MAX_SEARCH_MATCHES))
7878
79 result = [self._place_from_row(row) for row in cursor]
79 result = [Place.from_row(row) for row in cursor]
8080 finally:
8181 cursor.close()
8282
  
162162 def __view_button_press_event_cb(self, view, event):
163163 model = view.get_model()
164164
165 path, col_, x_, y_ = view.get_path_at_pos(event.x, event.y)
165 path, col_, x_, y_ = view.get_path_at_pos(int(event.x), int(event.y))
166166 if path:
167167 uri = model[path][self._COL_ADDRESS]
168168 self.activate(uri)
410410
411411 def populate(history_list, palette):
412412 for history_item in history_list:
413 menu_item = MenuItem(item.get_title(), text_maxlen=60)
413 menu_item = MenuItem(history_item.get_title(), text_maxlen=60)
414414 menu_item.connect('activate', self.__history_item_activated_cb,
415415 history_item)
416416