mirror of
https://github.com/davidfraser/pyan.git
synced 2026-05-12 03:01:24 -04:00
xdot.py: comment update
This commit is contained in:
2
xdot.py
2
xdot.py
@@ -1867,6 +1867,7 @@ class DotWidget(gtk.DrawingArea):
|
||||
while gtk.events_pending():
|
||||
gtk.main_iteration_do(True)
|
||||
|
||||
# The Find system updates its state via this callback mechanism.
|
||||
if self.reload_callback is not None:
|
||||
self.reload_callback()
|
||||
|
||||
@@ -2199,6 +2200,7 @@ class DotWidget(gtk.DrawingArea):
|
||||
|
||||
def set_reload_callback(self, func):
|
||||
# Set a callback to run at the end of reload().
|
||||
# This is used by the Find system.
|
||||
self.reload_callback = func
|
||||
|
||||
class DotWindow(gtk.Window):
|
||||
|
||||
Reference in New Issue
Block a user