/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/window.py

  • Committer: Jasper Groenewegen
  • Date: 2008-07-20 18:53:25 UTC
  • mto: This revision was merged to the branch mainline in revision 563.
  • Revision ID: colbrac@xs4all.nl-20080720185325-c9dsrex9xzleh5wq
Change locationbar bits (event signals, handling)
Change key-press-event's to activate's
Automatically switch to selected history view (fixes LP:144963)

Show diffs side-by-side

added added

removed removed

Lines of Context:
335
335
        self.locationbar.pack_start(self.button_location_up, False, False, 0)
336
336
        
337
337
        self.entry_location = gtk.Entry()
338
 
        self.entry_location.connect("key-press-event", self.signal.on_entry_location_key_press_event)
 
338
        self.entry_location.connect("activate", self.signal.on_button_location_jump_clicked)
339
339
        self.locationbar.pack_start(self.entry_location, True, True, 0)
340
340
        
341
341
        self.image_location_error = gtk.Image()
356
356
        self.entry_history_revno = gtk.Entry()
357
357
        self.entry_history_revno.set_property("width-request", 75)
358
358
        self.entry_history_revno.set_sensitive(False)
359
 
        self.entry_history_revno.connect("key-press-event", self.signal.on_entry_history_revno_key_press_event)
 
359
        self.entry_history_revno.connect("activate", self.signal.on_entry_history_revno_activate)
360
360
        self.locationbar.pack_start(self.entry_history_revno, False, False, 0)
361
361
        
362
362
        self.button_history_browse = gtk.Button()