On Saturday 18 October 2008 03:45:49 Andrés Ambrois wrote: > On Saturday 18 October 2008 03:35:14 Andrés Ambrois wrote: > > Here are a couple of more patches for your bag of tricks: > > *Gah* forgot the attachments....
Its almost 4 am here, please bear with me... Scratch that first one, here is sugar-homewindow-no-transition.patch -- -Andrés
--- HomeWindow.py.orig 2008-10-18 00:16:52.000000000 -0200 +++ HomeWindow.py 2008-10-18 00:06:19.000000000 -0200 @@ -22,7 +22,6 @@ from view.home.MeshBox import MeshBox from view.home.HomeBox import HomeBox from view.home.FriendsBox import FriendsBox -from view.home.transitionbox import TransitionBox from model.shellmodel import ShellModel from model import shellmodel @@ -60,15 +59,11 @@ self._home_box = HomeBox() self._friends_box = FriendsBox() self._mesh_box = MeshBox() - self._transition_box = TransitionBox() self._activate_view() self.add(self._home_box) self._home_box.show() - self._transition_box.connect('completed', - self._transition_completed_cb) - model = shellmodel.get_instance() model.connect('notify::zoom-level', self.__zoom_level_changed_cb) @@ -120,22 +115,7 @@ self._level = level self._activate_view() self.remove(self.get_child()) - self.add(self._transition_box) - self._transition_box.show() - - if self._level == ShellModel.ZOOM_HOME: - size = style.XLARGE_ICON_SIZE - elif self._level == ShellModel.ZOOM_FRIENDS: - size = style.LARGE_ICON_SIZE - elif self._level == ShellModel.ZOOM_MESH: - size = style.STANDARD_ICON_SIZE - - self._transition_box.set_size(size) - - def _transition_completed_cb(self, transition_box): - current_child = self.get_child() - self.remove(current_child) if self._level == ShellModel.ZOOM_HOME: self.add(self._home_box)
_______________________________________________ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar