mate applet: Set the new icon size property (this provides a hint to
xapp-sn-watcher or any client app to provide a correct icon size in
some situations).
Michael Webster
4 years ago
61 | 61 | self.size = size |
62 | 62 | |
63 | 63 | self.proxy = icon |
64 | self.proxy.props.icon_size = size | |
64 | 65 | |
65 | 66 | # this is the bus owned name |
66 | 67 | self.name = self.proxy.get_name() |
108 | 109 | |
109 | 110 | def update_icon(self): |
110 | 111 | string = self.proxy.props.icon_name |
112 | self.proxy.props.icon_size = self.size | |
111 | 113 | |
112 | 114 | self.set_icon(string) |
113 | 115 |