/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 checkout.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-05-16 14:00:46 UTC
  • mto: (195.1.8 trunk)
  • mto: This revision was merged to the branch mainline in revision 200.
  • Revision ID: szilveszter.farkas@gmail.com-20070516140046-0iqhzmarqln6hop3
Add bookmarked locations to the branch history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
from dialog import error_dialog
33
33
 
34
34
from history import UrlHistory
 
35
from olive import Preferences
35
36
 
36
37
class CheckoutDialog(gtk.Dialog):
37
38
    """ New implementation of the Checkout dialog. """
109
110
    def _build_history(self):
110
111
        """ Build up the checkout history. """
111
112
        self._combo_model = gtk.ListStore(str)
 
113
        
112
114
        for item in self._history.get_entries():
113
115
            self._combo_model.append([ item ])
 
116
        
 
117
        pref = Preferences()
 
118
        for item in pref.get_bookmarks():
 
119
            self._combo_model.append([ item ])
 
120
        
114
121
        self._combo.set_model(self._combo_model)
115
122
        self._combo.set_text_column(0)
116
123