Age | Commit message (Collapse) | Author | Files | Lines |
|
Update icon cache and avoid conflict with mate theme:
PNG icons are created if they are not present in icon folder.
To remove png icons:
cd icons; make clean-png-icons
$ cat test.py
import gtk
screen = gtk.gdk.screen_get_default()
icon_theme = gtk.icon_theme_get_for_screen(screen)
print icon_theme.lookup_icon("mate-desktop", 16, 0).get_filename()
print icon_theme.lookup_icon("mate-desktop", 22, 0).get_filename()
print icon_theme.lookup_icon("mate-desktop", 24, 0).get_filename()
print icon_theme.lookup_icon("mate-desktop", 32, 0).get_filename()
print icon_theme.lookup_icon("mate-desktop", 48, 0).get_filename()
print icon_theme.lookup_icon("mate-desktop", 128, 0).get_filename()
print icon_theme.lookup_icon("mate-desktop", 256, 0).get_filename()
print icon_theme.lookup_icon("mate", 16, 0).get_filename()
print icon_theme.lookup_icon("mate", 22, 0).get_filename()
print icon_theme.lookup_icon("mate", 24, 0).get_filename()
print icon_theme.lookup_icon("mate", 32, 0).get_filename()
print icon_theme.lookup_icon("mate", 48, 0).get_filename()
print icon_theme.lookup_icon("mate", 128, 0).get_filename()
print icon_theme.lookup_icon("mate", 256, 0).get_filename()
print icon_theme.lookup_icon("mate", 1000, 0).get_filename()
$ python test.py
/usr/share/icons/hicolor/16x16/apps/mate-desktop.png
/usr/share/icons/hicolor/22x22/apps/mate-desktop.png
/usr/share/icons/hicolor/24x24/apps/mate-desktop.png
/usr/share/icons/hicolor/32x32/apps/mate-desktop.png
/usr/share/icons/hicolor/48x48/apps/mate-desktop.png
/usr/share/icons/hicolor/128x128/apps/mate-desktop.png
/usr/share/icons/hicolor/scalable/apps/mate-desktop.svg
/usr/share/icons/mate/16x16/apps/mate.png
/usr/share/icons/mate/22x22/apps/mate.png
/usr/share/icons/mate/24x24/apps/mate.png
/usr/share/icons/mate/32x32/apps/mate.png
/usr/share/icons/mate/48x48/apps/mate.png
/usr/share/icons/mate/scalable/apps/mate.svg
/usr/share/icons/mate/scalable/apps/mate.svg
/usr/share/icons/mate/scalable/apps/mate.svgT
|
|
Fixes Clang static analyzer warnings:
mate-rr-config.c:549:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
strcpy (output->priv->vendor, "???");
^~~~~~
mate-desktop-item.c:2118:2: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
strcpy (the_exec, exec);
^~~~~~
|
|
Fixes Clang static analyzer warning:
test-ditem.c:94:2: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119
strcat (path, "/foo.desktop");
^~~~~~
|
|
avoid Clang static analyzer warning:
mate-hsv.c:913:19: warning: Value stored to 'priv' during its initialization is never read
MateHSVPrivate *priv = hsv->priv;
^~~~ ~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Please see mate-desktop/mate-dev-scripts#13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Changed MateBgCrossfade, MateColorbutton and MateDesktopThumbnail
|
|
|
|
|
|
|
|
|
|
There are some incorrect comments in mate_bg_create_surface_scale. Fix them.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
Defines a schema that allows users to specify a default calculator application.
Default initialized to 'mate-calc'.
Signed-off-by: Zhang Xianwei <[email protected]>
|
|
|
|
|
|
|
|
Add new setting org.mate.accessibility-keyboard.stickykeys-latch-to-lock
to control whether latching is enabled together with sticky keys.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When enabled (default), m-s-d will attempt to set QT_SCALE_FACTOR during the init phase.
When disabled, the user can then choose to control this env var elsewhere.
|
|
The MATE cursor theme does not have an 18px cursor size, so having
a 18px as the default setting does not make sense. Using 24px looks
better in modern displays and allows for proper HiDPI scaling.
|
|
This change is a super hacky way of supporting the fallback desktop background (without caja) on HiDPI displays. It does this by doing two things: providing a function for scaled-up background surfaces using cairo_scale; and triggering a change signal when the entire background schema is re-loaded, and so triggering a redraw.
|