diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-02-18 17:42:28 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-02-18 17:42:28 (GMT) |
commit | d7336f7358eba894616f47e32d8061bad6a3e4f0 (patch) | |
tree | 1b8a526cfeb6e4da8c500a63662f38034f12f29d /src | |
parent | 3a608219960657a4b3d087306affb9b08ebe1c14 (diff) |
Rename ZoomToolbar to ZoomTray.
Diffstat (limited to 'src')
-rw-r--r-- | src/view/frame/Makefile.am | 2 | ||||
-rw-r--r-- | src/view/frame/frame.py | 8 | ||||
-rw-r--r-- | src/view/frame/zoomtray.py (renamed from src/view/frame/zoomtoolbar.py) | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/view/frame/Makefile.am b/src/view/frame/Makefile.am index 9bf5952..83c8bf9 100644 --- a/src/view/frame/Makefile.am +++ b/src/view/frame/Makefile.am @@ -11,4 +11,4 @@ sugar_PYTHON = \ frame.py \ overlaybox.py \ framewindow.py \ - zoomtoolbar.py + zoomtray.py diff --git a/src/view/frame/frame.py b/src/view/frame/frame.py index e8f8fa4..578db88 100644 --- a/src/view/frame/frame.py +++ b/src/view/frame/frame.py @@ -27,7 +27,7 @@ from sugar.clipboard import clipboardservice from view.frame.eventarea import EventArea from view.frame.activitiestray import ActivitiesTray -from view.frame.zoomtoolbar import ZoomToolbar +from view.frame.zoomtray import ZoomTray from view.frame.friendstray import FriendsTray from view.frame.framewindow import FrameWindow from view.frame.clipboardpanelwindow import ClipboardPanelWindow @@ -166,9 +166,9 @@ class Frame(object): def _create_top_panel(self): panel = self._create_panel(gtk.POS_TOP) - toolbar = ZoomToolbar(self._shell) - panel.append(hippo.CanvasWidget(widget=toolbar)) - toolbar.show() + tray = ZoomTray(self._shell) + panel.append(hippo.CanvasWidget(widget=tray)) + tray.show() return panel diff --git a/src/view/frame/zoomtoolbar.py b/src/view/frame/zoomtray.py index 48e63de..ff13a5d 100644 --- a/src/view/frame/zoomtoolbar.py +++ b/src/view/frame/zoomtray.py @@ -24,7 +24,7 @@ from sugar.graphics.toolbutton import ToolButton from view.frame.frameinvoker import FrameWidgetInvoker from model.shellmodel import ShellModel -class ZoomToolbar(gtk.Toolbar): +class ZoomTray(gtk.Toolbar): def __init__(self, shell): gtk.Toolbar.__init__(self) |