[gedit-latex] decorators: use Gedit.Tab.get_from_document
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] decorators: use Gedit.Tab.get_from_document
- Date: Thu, 23 Jun 2011 21:43:18 +0000 (UTC)
commit ef9e753de0e428f9da15e05dce1952cb31195845
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Jun 23 23:36:16 2011 +0200
decorators: use Gedit.Tab.get_from_document
latex/base/decorators.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/latex/base/decorators.py b/latex/base/decorators.py
index 44fce3b..42198fc 100644
--- a/latex/base/decorators.py
+++ b/latex/base/decorators.py
@@ -172,7 +172,7 @@ class GeditWindowDecorator(IPreferencesMonitor):
views = self._window.get_views()
for view in views:
- tab = Gedit.tab_get_from_document(view.get_buffer())
+ tab = Gedit.Tab.get_from_document(view.get_buffer())
decorator = self._create_tab_decorator(tab, init=True)
if view is active_view:
self._active_tab_decorator = decorator
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]