|
|
if self.toolbar_style == 0: | if self.toolbar_style == 0: |
style = self._gconf.get_string('/desktop/gnome/interface/toolbar_style') | style = self._gconf.get_string('/desktop/gnome/interface/toolbar_style') |
style = {"both":gtk.TOOLBAR_BOTH, "both_horiz":gtk.TOOLBAR_BOTH_HORIZ, |
style = {"both":gtk.TOOLBAR_BOTH, "both-horiz":gtk.TOOLBAR_BOTH_HORIZ, |
"icon":gtk.TOOLBAR_ICONS, "icons":gtk.TOOLBAR_ICONS, | "icon":gtk.TOOLBAR_ICONS, "icons":gtk.TOOLBAR_ICONS, |
"text":gtk.TOOLBAR_TEXT}[style] | "text":gtk.TOOLBAR_TEXT}[style] |