mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-07 15:43:10 +00:00
Fix #1988 : Problem retrieving colormap for piecesbar
This commit is contained in:
parent
b69163b57d
commit
04b8949178
@ -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…
x
Reference in New Issue
Block a user