Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/objectchooser.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-08-28 11:17:18 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-08-28 11:36:52 (GMT)
commitf1590970b884a4dab44bbdabc885f883bbc8bae0 (patch)
tree5238ce73c3c5650ddb16547cecc12d3ddf9a3769 /src/jarabe/journal/objectchooser.py
parent13844c18b225f46b1636fc1201e020af53c60fcd (diff)
Use the new toolbars in the Journal
Sugar has switched to a new toolbar design in 0.86 [1]. In sugar-toolkit-gtk3 support for the old deprecated toolbar has been removed in 0.96 [2]. Prior to the shell port we have to use the new style toolbar in the Journal as well. Initial patch provided by Gonzalo Odiard for the shell port. [1] http://wiki.sugarlabs.org/go/0.86/Notes#What.27s_new_for_developers [2] http://wiki.sugarlabs.org/go/0.96/Notes#API Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src/jarabe/journal/objectchooser.py')
-rw-r--r--src/jarabe/journal/objectchooser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/journal/objectchooser.py b/src/jarabe/journal/objectchooser.py
index ecb8ecf..175aa0f 100644
--- a/src/jarabe/journal/objectchooser.py
+++ b/src/jarabe/journal/objectchooser.py
@@ -26,7 +26,7 @@ from sugar.graphics.toolbutton import ToolButton
from jarabe.journal.listview import BaseListView
from jarabe.journal.listmodel import ListModel
-from jarabe.journal.journaltoolbox import SearchToolbar
+from jarabe.journal.journaltoolbox import MainToolbox
from jarabe.journal.volumestoolbar import VolumesToolbar
@@ -77,7 +77,7 @@ class ObjectChooser(gtk.Window):
vbox.pack_start(separator, expand=False)
separator.show()
- self._toolbar = SearchToolbar()
+ self._toolbar = MainToolbox()
self._toolbar.connect('query-changed', self.__query_changed_cb)
self._toolbar.set_size_request(-1, style.GRID_CELL_SIZE)
vbox.pack_start(self._toolbar, expand=False)