X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Ficons.py;h=3f663d7371b30067f0e607d87b6cab3761b7e18f;hb=97ecd4b9fdb91f797b6a6ddbac335e52326845e0;hp=015273b96d3d5d04593b7c1ebaeb54ec99578572;hpb=b5fa97bf63a4160f20eb6e946f7132236ee63b72;p=drlaunch diff --git a/src/icons.py b/src/icons.py index 015273b..3f663d7 100755 --- a/src/icons.py +++ b/src/icons.py @@ -116,6 +116,13 @@ class Icons(gobject.GObject): def getSize(self): return(self.size) + def setWindow(self, win): + """ Set the window for all icons """ + + for i in self.icons: + ic=self.icons[i] + ic.setWindow(win) + def signalLongpress(self, icon): #print "signalLongpress()", icon self.emit('long-press', icon)