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

  • Committer: Vincent Ladeuil
  • Date: 2010-02-24 08:56:08 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20100224085608-ybyx6m452lc5iua2
Open 0.99.0 for development.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from bzrlib.config import GlobalConfig
25
25
import gtk
26
26
from history import UrlHistory
 
27
from olive import Preferences
27
28
import gobject
28
29
 
29
30
class BranchSelectionBox(gtk.HBox):
57
58
        for item in self._history.get_entries():
58
59
            self._combo_model.append([ item ])
59
60
        
 
61
        pref = Preferences()
 
62
        for item in pref.get_bookmarks():
 
63
            self._combo_model.append([ item ])
 
64
        
60
65
        self._combo.set_model(self._combo_model)
61
66
        self._combo.set_text_column(0)
62
67