[pybliographer/wip/gtk3] editor: Address FIXMEgpoo remarks
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer/wip/gtk3] editor: Address FIXMEgpoo remarks
- Date: Tue, 10 Oct 2017 18:06:26 +0000 (UTC)
commit 088ee3ca058bb11196c416157d3c69d866c34bce
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Tue Oct 10 13:34:26 2017 -0300
editor: Address FIXMEgpoo remarks
Pyblio/GnomeUI/Editor.py | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Editor.py b/Pyblio/GnomeUI/Editor.py
index ddb2017..094041f 100644
--- a/Pyblio/GnomeUI/Editor.py
+++ b/Pyblio/GnomeUI/Editor.py
@@ -738,11 +738,8 @@ class RealEditor (Connector.Publisher):
def update_notebook (self):
-
if self.notebook_init:
- # FIXMEgpoo: Check for secondary effects
- f = lambda x, y: self.notebook.remove_page(0)
- self.notebook.foreach(f, None)
+ self.notebook.foreach(lambda x: self.notebook.remove_page(0))
self.notebook_init = True
self.current_page = None
@@ -947,7 +944,6 @@ class RealEditor (Connector.Publisher):
try:
result = item.update(self.entry)
except UnicodeError:
- # FIXMEgpoo: check enconding handling
f = Types.get_field(item.field)
Utils.error_dialog_s(self.w.get_toplevel (),
_("The `%s' field contains a non Latin-1 symbol") %
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]