mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
Fix #1988 : Problem retrieving colormap for piecesbar
This commit is contained in:
parent
b69163b57d
commit
04b8949178
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class PiecesBar(gtk.DrawingArea):
|
||||||
self.__cr = None
|
self.__cr = None
|
||||||
|
|
||||||
self.connect('size-allocate', self.do_size_allocate_event)
|
self.connect('size-allocate', self.do_size_allocate_event)
|
||||||
self.set_colormap(self.get_screen().get_rgba_colormap())
|
self.set_colormap(gtk.gdk.colormap_get_system())
|
||||||
self.show()
|
self.show()
|
||||||
|
|
||||||
def do_size_allocate_event(self, widget, size):
|
def do_size_allocate_event(self, widget, size):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue