diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-20 06:14:35 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-20 06:31:42 +0100 |
commit | 3d5a49f4b1a8ca145d742cce21bd78c5d42175a0 (patch) | |
tree | c69a5918eb8db809983abeead8d4960fa0ee103e | |
parent | 6570370e3c4de8ce562aa7754eae6956dd7c414b (diff) | |
download | net_monitor-3d5a49f4b1a8ca145d742cce21bd78c5d42175a0.tar net_monitor-3d5a49f4b1a8ca145d742cce21bd78c5d42175a0.tar.gz net_monitor-3d5a49f4b1a8ca145d742cce21bd78c5d42175a0.tar.bz2 net_monitor-3d5a49f4b1a8ca145d742cce21bd78c5d42175a0.tar.xz net_monitor-3d5a49f4b1a8ca145d742cce21bd78c5d42175a0.zip |
fixup pygi-convert.sh's job on Gdk.Rectangle
-rwxr-xr-x | src/net_monitor | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net_monitor b/src/net_monitor index e01cc86..b05f7a7 100755 --- a/src/net_monitor +++ b/src/net_monitor @@ -1,6 +1,7 @@ #!/usr/bin/python from gi.repository import GObject +from gi.repository import Gdk from gi.repository import Gtk from gi.repository import Pango @@ -79,7 +80,7 @@ class LoadGraph: self.max = max # size of the GtkDrawingArea - self.__rect = self.__inner = () + self.__rect = self.__inner = Gdk.Rectangle() self.maxval = 0 # maximum value in the history self.__mesh_x = self.__mesh_y = 0 # distance in pixels between items self.__get_max() |