diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-28 04:28:45 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-03-02 06:32:18 (GMT) |
commit | 5b829c11c4444ecc41fc81919776b7b514187106 (patch) | |
tree | 39e0a3b07c8d21660523c877994c1cbc80a65b01 /activity.py | |
parent | e8e215f382f762513226c9e88f278da1945567ee (diff) |
Add journal publishing
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activity.py b/activity.py index 3923e4b..4400bb3 100644 --- a/activity.py +++ b/activity.py @@ -52,7 +52,7 @@ class InfoslicerActivity(SharedActivity): self.edit = edit.View() self.edit_bar = edit.Toolbar(self.edit) - self.library = library.View(self._set_edit_sensitive) + self.library = library.View(self) library_bar = library.Toolbar(self.library) toolbox = ActivityToolbox(self) @@ -70,7 +70,7 @@ class InfoslicerActivity(SharedActivity): toolbox.set_current_toolbar(1) self.show_all() - def _set_edit_sensitive(self, enable): + def set_edit_sensitive(self, enable): self.edit_bar.props.sensitive = enable self.edit_page = (enable and 1 or 2) |