185
185
self.refresh_button_image.set_from_stock(gtk.STOCK_REFRESH, 1)
187
187
def on_field_refresh(self, type=None, obj=None, data=None):
188
self.execute_script(self.refresh_script % (data[0], u'%s' % data[1].replace('"', '\\"').replace('\n', '\\\n'), data[0]))
188
glib.idle_add(self.execute_script, self.refresh_script % (data[0], u'%s' % data[1].replace('"', '\\"').replace('\n', '\\\n'), data[0]))
191
191
self.history = self.history[:self.history_index+1]