def _handle_icon_title_change(self): icon_name = self.prop_get("_NET_WM_ICON_NAME", "utf8", True) iconlog("_NET_WM_ICON_NAME=%s", icon_name) if icon_name is None: icon_name = self.prop_get("WM_ICON_NAME", "latin1", True) iconlog("WM_ICON_NAME=%s", icon_name) self._updateprop("icon-title", sanestr(icon_name))
def _handle_icon_title_change(self): icon_name = self.prop_get("_NET_WM_ICON_NAME", "utf8", True) iconlog("_NET_WM_ICON_NAME=%s", icon_name) if icon_name is None: icon_name = self.prop_get("WM_ICON_NAME", "latin1", True) iconlog("WM_ICON_NAME=%s", icon_name) self._updateprop("icon-title", sanestr(icon_name))