foiegras r68 - in trunk: . src/foiegras/windows
- From: denisw svn gnome org
- To: svn-commits-list gnome org
- Subject: foiegras r68 - in trunk: . src/foiegras/windows
- Date: Sun, 16 Mar 2008 11:54:07 +0000 (GMT)
Author: denisw
Date: Sun Mar 16 11:54:06 2008
New Revision: 68
URL: http://svn.gnome.org/viewvc/foiegras?rev=68&view=rev
Log:
2008-03-16 Denis Washington <denisw svn gnome org>
* src/foiegras/windows/main.py:
Also listen to cursor position change signals for
openend documents.
Modified:
trunk/ChangeLog
trunk/src/foiegras/windows/main.py
Modified: trunk/src/foiegras/windows/main.py
==============================================================================
--- trunk/src/foiegras/windows/main.py (original)
+++ trunk/src/foiegras/windows/main.py Sun Mar 16 11:54:06 2008
@@ -287,7 +287,6 @@
else:
self._document = Document()
self._app.set_document(self._document)
- self._document.get_buffer().connect("notify::cursor-position", self._cursor_position_changed)
# Set up side pane
self._side_pane = gtk.VBox()
@@ -311,8 +310,9 @@
self._hpaned.pack1(self._document, True, True)
self._hpaned.pack2(self._side_pane, False, False)
- # To be able to show the star on changes
+ # Connect signals
self._document.get_buffer().connect('changed', self._buffer_changed)
+ self._document.get_buffer().connect("notify::cursor-position", self._cursor_position_changed)
self.set_title()
@@ -645,8 +645,9 @@
# Show the document itself
self._document.show_all()
- # To be able to show the star on changes
+ # Connect signals
self._document.get_buffer().connect('changed', self._buffer_changed)
+ self._document.get_buffer().connect("notify::cursor-position", self._cursor_position_changed)
self.set_title()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]