diff options
author | Ajay Garg <ajay@activitycentral.com> | 2012-12-30 15:09:23 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2012-12-30 15:09:23 (GMT) |
commit | 96bdf7849255892ed6317a495597e74d0991ecaa (patch) | |
tree | 18a90991ca9023e50f2bb9f9c69c5b33391f577d | |
parent | 3f6136623c1563b1765f08a21eb7b49e7ab2c894 (diff) |
sdxo#2839: Now, "cross" button will not be shown in "My Settings" -> "About My Computer".
-rw-r--r-- | extensions/cpsection/aboutcomputer/view.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/cpsection/aboutcomputer/view.py b/extensions/cpsection/aboutcomputer/view.py index 71e528e..2bd971b 100644 --- a/extensions/cpsection/aboutcomputer/view.py +++ b/extensions/cpsection/aboutcomputer/view.py @@ -24,11 +24,13 @@ from gi.repository import Gdk from sugar3.graphics import style from jarabe.controlpanel.sectionview import SectionView +from jarabe.view.buddymenu import get_control_panel class AboutComputer(SectionView): def __init__(self, model, alerts=None): SectionView.__init__(self) + get_control_panel()._section_toolbar.cancel_button.hide() self._model = model @@ -220,3 +222,6 @@ class AboutComputer(SectionView): expander.add(view_license) else: expander.get_child().destroy() + + def perform_accept_actions(self): + get_control_panel()._section_toolbar.cancel_button.show() |