summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-07Remove variableScope warnings reported by cppcheckrbuj32-349/+255
cppcheck --enable=all . 2> err.txt grep variableScope err.txt
2020-09-03wncklet: Check the length of the pixel data for empty thumbnailsrbuj1-3/+1
2020-08-08release 1.25.1v1.25.1raveit652-1/+49
2020-08-08tx: sync with transifexraveit65152-16900/+9463
2020-08-08tx: update resourceraveit651-144/+174
2020-08-08Handle locked down settings better when dropping an image URIColomban Wendling1-15/+52
Don't propose actions that will fail anyway, and create a launcher automatically if it's the only option. However, still ask for setting the background to still avoid unintentional changes.
2020-08-07panel-toplevel: Fix -Wenum-conversion warningrbuj1-1/+1
2020-08-05wncklet: Hide window preview on non-visible windowsVictor Kareh1-0/+5
When a window is not visible we cannot capture its thumbnail. We used to store the thumbnail when a window was visible so that we could reuse it when minimized, but this can cause visual glitches.
2020-08-05launcher: Fix memory leaksColomban Wendling1-11/+15
2020-08-05panel-action-button: using enum for accessing an array indexedrbuj1-52/+30
2020-08-05clock-face: Use gdk_pixbuf_new_from_resource_at_scalerbuj6-67/+4
2020-08-05launcher: Fix memory leakrbuj1-4/+2
2020-08-04Ask the user what to do when receiving an image dropColomban Wendling1-2/+104
Instead of unconditionally setting the panel's background when an image file URI gets dropped on a panel, ask the user whether to create a launcher for that URI (like for non-image URIs) or to use the image as the panel's background. A number of users have seen their panel's background changed unexpectedly due to unwanted drop of an image file over the panel, sometimes seeing this as a panel's bug. Also, this behavior is inconsistent with dropping a URI pointing to any other type of file, where it would create a launcher for it. Consequently, and as setting the panel's background doesn't seem like a so common task it ought to be super fast, ask the user what to do when receiving an image URI drop.
2020-08-04Create launchers when dropping multiple image URIsColomban Wendling1-2/+4
It doesn't make any sense to set the panel's background several times if we get multiple image URIs dropped, so don't consider multi-URI drops as candidate for setting the background, and handle those like other non-image URIs.
2020-08-04panel-util: Fix memory leakrbuj1-0/+1
2020-08-04Fix creating several launchers at onceColomban Wendling1-0/+5
When creating a new launcher, we try and find an available object ID by browsing the existing ones. This however fails to take into account objects that were created but that didn't make it to the backend yet, leading to likely re-using the same ID when creating several objects roughly at the same time. This happens e.g. when dropping several URIs together.
2020-08-01clock: assignment to 'GSList *' from incompatible pointer type 'GList *'rbuj1-2/+2
2020-08-01clock: Use single-linked lists for locationsrbuj5-45/+45
2020-08-01clock: sort locations by time reverse and namerbuj1-1/+17
2020-08-01clock: merge sorting and reversing node list of selected locationsrbuj1-2/+7
2020-07-29clock: Fix GError double freeTomas Bzatek4-6/+1
Let the GError ownership on the async finish method call.
2020-07-29clock: Properly free rsvg handlesTomas Bzatek1-1/+3
2020-07-29wncklet: Fix leaking cairo_tTomas Bzatek1-0/+1
2020-07-29panel-run-dialog: Fix leaking tree model stringsTomas Bzatek1-6/+18
The gtk_tree_model_get() duplicates memory or adds a reference and any data need to be freed explicitly.
2020-07-29workspace-switcher: Fix leaking color stringTomas Bzatek1-3/+7
2020-07-29panel-properties-dialog: Fix leaking stringTomas Bzatek1-0/+1
2020-07-29clock: Fix leaking GtkListStoreTomas Bzatek1-4/+4
The gtk_tree_view_set_model() adds its own reference.
2020-07-29panel-profile: Fix leaking list elementsTomas Bzatek1-2/+2
2020-07-29clock: Fix list iterationTomas Bzatek1-11/+12
Iteration over a linked list should be done over a side control variable and list head needs to be preserved for proper list free.
2020-07-29panel-lockdown: Fix leaking string arrayTomas Bzatek1-0/+1
Overwriting an already allocated memory.
2020-07-29panel-menu-items: Fix leaking stringTomas Bzatek1-1/+3
The PANEL_GLIB_STR_EMPTY() macro returns TRUE even when the memory was allocated yet the string was empty, so do explicit free() here.
2020-07-29mate-panel-applet: Fix leaking GVariantBuilderTomas Bzatek1-14/+18
And use stack-allocated GVariantBuilder for temporary storage.
2020-07-29launcher: Fix leaking stringsTomas Bzatek1-0/+2
2020-07-29clock: Fix leaking cairo surfaceTomas Bzatek1-0/+1
2020-07-24Clarify meaning of panel reset optionlukefromdc1-4/+4
Change "Reset Panel" to "Reset all Panels" in context menu and in reset confirmation dialog to make clear that ALL panels will be reset.
2020-07-23panel-toplevel: Refactor panel_toplevel_update_hide_buttons_size()Tomas Bzatek1-18/+11
No real leak here except of the unnecessary gtk_css_provider_new() call, refactored for readability and to conform to the code style.
2020-07-23panel-util: Fix leaking root GFileTomas Bzatek1-0/+1
2020-07-23panel-profile: Fix leaking list elementsTomas Bzatek1-2/+2
The mate_gsettings_strv_to_gslist() call will dup all the strings and removing duplicates should free them.
2020-07-23panel-frame: Fix leaking background-colorTomas Bzatek1-0/+2
2020-07-23panel-applet-frame: Fix leaking bg_patternTomas Bzatek1-19/+21
Also acquire it only when needed. This fixes a leak for me when switching workspaces back and forth.
2020-07-19Travis CI: enable irc notifications with tagged commitsPablo Barciela1-1/+1
2020-07-13panel-multimonitor: Do not require limits.h macrosrbuj1-2/+2
2020-07-08clock: Simplify notebook scroll-event callbackrbuj1-40/+35
2020-07-07tx:help:fish: fix build warning caused by Czech languageraveit651-3/+3
2020-07-07Using #include with system librariesrbuj5-6/+6
2020-07-05build: Add built sources to CLEANFILES targetrbuj3-1/+8
2020-07-05Avoid using single-line cpp commentsrbuj47-129/+140
2020-07-05build: Add glib-2.0 module in PKG_CHECK_MODULES(LIBEGG)rbuj1-1/+1
2020-07-05Use '#include <config.h>' instead of '#include "config.h"'rbuj17-17/+17
2020-06-26panel-util: switch to generic header for --disable-x11Jan Beich1-1/+1
panel-util.c:31:10: fatal error: 'gdk/gdkx.h' file not found #include <gdk/gdkx.h> ^~~~~~~~~~~~