comparison libervia/desktop_kivy/core/common_widgets.py @ 518:196483685a63 default tip

Use Font-Awesome instead of Fontello, following change in Libervia Media.
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 22:44:37 +0200
parents b3cedbee561d
children
comparison
equal deleted inserted replaced
517:f316c7f19909 518:196483685a63
109 def profile(self): 109 def profile(self):
110 return self.main_wid.profile 110 return self.main_wid.profile
111 111
112 def get_symbol(self): 112 def get_symbol(self):
113 if self.identities.type == 'desktop': 113 if self.identities.type == 'desktop':
114 return 'desktop' 114 return 'display'
115 elif self.identities.type == 'phone': 115 elif self.identities.type == 'phone':
116 return 'mobile' 116 return 'mobile-screen-button'
117 elif self.identities.type == 'web': 117 elif self.identities.type == 'web':
118 return 'globe' 118 return 'globe'
119 elif self.identities.type == 'console': 119 elif self.identities.type == 'console':
120 return 'terminal' 120 return 'terminal'
121 else: 121 else:
122 return 'desktop' 122 return 'display'
123 123
124 def do_item_action(self, touch): 124 def do_item_action(self, touch):
125 pass 125 pass
126 126
127 127