summaryrefslogtreecommitdiff
path: root/libmate-desktop
AgeCommit message (Collapse)AuthorFilesLines
2024-03-11Make MateImageMenuItem subclassablezhu yaliang2-29/+71
See the discussion on:https://github.com/mate-desktop/mate-panel/issues/1433
2024-02-29MateImageMenuItem: Remove unnecessary label fieldColomban Wendling1-39/+0
This was used in GtkImageMenuItem to support stock items, but this is a deprecated feature that didn't make it to MateImageMenuItem. Now, this is entirely unused, and just leads to glue code maintaining an unused local copy of the label, effectively wasting a little bit of memory and adding complexity. Just drop all references to it, without any functional difference.
2023-10-19mate-colorsel: Fix compilation warnings use rgba replace colorzhuyaliang3-207/+160
2023-10-12meson: Add meson support for static libraryzhuyaliang1-1/+1
2023-10-11Fix compilation warning replace gtk_style_context_get_background_colorzhuyaliang2-3/+9
2023-10-10wayland: fix uninitialized variablelukefromdc1-0/+4
We still have sn_display in the runtime checks to determine whether to call the startup notification, so we have to initialize it to NULL in the wayland case
2023-10-09mate-rr-labeler: Fix compilation warnings use css replace ↵zhuyaliang1-1/+21
gtk_widget_override_color
2023-10-09mate-colorseldialog: Fix compilation warnings remove deprecated functionzhuyaliang1-3/+1
2023-10-08Remove useless mate_color_button apiszhuyaliang6-1079/+1
2023-10-05Fix MATE_DESKTOP_CHECK_VERSIONColomban Wendling2-4/+7
Not that I know anybody that wants it though.
2023-10-05Remove useless codezhuyaliang1-10/+0
2023-10-05Rename libmate-desktop/{mate-desktop.h => mate-desktop.h.in} add ↵zhuyaliang2-3/+14
MATE_DESKTOP_VERSION marco
2023-09-15Fix ninja test symbols check FAILzhuyaliang1-0/+1
2023-08-11desktop-item: limit startup notification to x11lukefromdc1-46/+52
*Wrap all startup notification calls in x11-only conditional blocks *This is x11-specific code, so don't try to run it outside of x11
2023-07-02Initial support for showing a caja desktop in waylandlukefromdc1-1/+4
*put XKillClient and gdk_x11_screen_get_xscreen behind x11-only runtime checks
2023-04-02Add mate image menu item apiszhuyaliang6-3/+706
2022-11-09Revert "[mate-bg] small cleanup"Colomban Wendling1-9/+8
It is not possible to use the `list` pointer after it has been deleted, so the "cleanup" this commit made lead to using freed memory if any item actually got clean up. This "cleanup" also don't seem meaningful to me, as all it does otherwise is trade an assignation for a redundant test -- either of which the compiler might happily optimize out. This reverts commit 47426c90d10e9f738ecf89f35db94ca8deff55e0.
2022-08-20mate-desktop-item: time_t mtime -> gint64 mtimerbuj1-5/+5
The timestamp is compared with g_file_info_get_attribute_uint64 in mate_desktop_item_get_file_status (const MateDesktopItem *item)
2022-08-20mate-bg: time_t mtime -> gint64 mtimerbuj1-19/+8
The timestamp is retrieved with g_file_info_get_attribute_uint64 in get_mtime (const char *filename)
2022-08-20Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj2-3/+3
2022-08-20mate-desktop-thumbnail: fix memory leakrbuj1-0/+1
2022-08-20Fix build warnings about missing field initializerrbuj1-3/+3
2022-08-20mate-bg: fix memory leakrbuj1-3/+7
2022-08-20mate-bg: Dereference of null pointerrbuj1-1/+1
2022-08-20mate-desktop-item: macro is not used [-Wunused-macros]rbuj1-2/+0
2022-08-20mate-colorsel: macro is not used [-Wunused-macros]rbuj1-2/+0
2022-08-20mate-bg: macro is not used [-Wunused-macros]rbuj1-4/+0
2022-08-15mate-colorbutton: fix -Wenum-conversion warningrbuj1-1/+1
2022-08-15mate-rr: fix -Wsign-compare warningrbuj1-4/+4
2022-08-15mate-rr-config: fix -Wsign-compare warningrbuj1-2/+2
2022-08-15mate-bg: fix -Wsign-compare warningrbuj1-1/+1
2022-08-15display-name: fix -Wsign-compare warningrbuj1-2/+2
2021-12-11Use a blank line at mostrbuj17-65/+0
2021-07-21Replace the obsolete API in mate-colorsel.c filezhuyaliang1-15/+40
2021-07-19Fix compilation warningzhuyaliang3-24/+57
2021-06-21update copyright to 2021raveit6511-0/+11
2021-03-29Remove shadow warnings [-Wshadow]rbuj3-11/+7
2021-02-27Remove warning -Wbad-function-castrbuj4-36/+57
2021-02-08g_settings_get_string always returns a newly-allocated stringrbuj2-14/+9
2020-08-06mate-languages: portability of localedir fallbackrbuj1-6/+13
2020-08-04mate-desktop-thumbnail: Remove trailing spaces/tabsrbuj1-1/+1
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
2020-03-03mate-bg: remove warning function declaration isn’t a prototyperbuj1-1/+1
2020-03-03Remove warnings: cast between incompatible function typesrbuj2-19/+8
2020-02-17build: add meson config files to EXTRA_DISTraveit651-2/+4
fixes https://github.com/mate-desktop/mate-desktop/issues/431
2020-02-16Remove GTimeVal deprecation warning for GLib 2.61.2+rbuj3-3/+45
2020-02-16thumbnail: fix typo in function descriptionmonsta1-1/+1
2020-01-18thumbnail: Remove obsolete mate_desktop_thumbnail_md5()Bastien Nocera3-22/+0
https://bugzilla.gnome.org/show_bug.cgi?id=785198 origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/8663695
2020-01-18thumbnail: Remove obsolete pixbuf helperBastien Nocera5-82/+0
https://bugzilla.gnome.org/show_bug.cgi?id=785198 origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/2887d75
2020-01-18thumbnail: Use an array to store the thumbnailer's cmdlineBastien Nocera1-48/+104
Instead of a shell-quoted string, to make it easier to add new elements to this command-line. origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/483ea2e
2020-01-18thumbnail: Use g_strcmp0() and remove a NULL checkBastien Nocera1-7/+2
origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/a5188e5