Codebase list xapp / 0eb8978
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
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6161 self.size = size
6262
6363 self.proxy = icon
64 self.proxy.props.icon_size = size
6465
6566 # this is the bus owned name
6667 self.name = self.proxy.get_name()
108109
109110 def update_icon(self):
110111 string = self.proxy.props.icon_name
112 self.proxy.props.icon_size = self.size
111113
112114 self.set_icon(string)
113115