diff --git a/status-applets/mate/mate-xapp-status-applet.py b/status-applets/mate/mate-xapp-status-applet.py index 16bf0e4..8742dc7 100755 --- a/status-applets/mate/mate-xapp-status-applet.py +++ b/status-applets/mate/mate-xapp-status-applet.py @@ -24,6 +24,7 @@ ICON_SIZE_REDUCTION = 2 VISIBLE_LABEL_MARGIN = 5 # When an icon has a label, add a margin between icon and label +SYMBOLIC_ICON_SIZE = 22 statusicon_css_string = """ .statuswidget-horizontal { @@ -140,7 +141,10 @@ self.label.set_margin_start(0) def set_icon(self, string): - size = self.size - ICON_SIZE_REDUCTION + if "symbolic" in string: + size = SYMBOLIC_ICON_SIZE + else: + size = self.size - ICON_SIZE_REDUCTION self.image.set_pixel_size(size)