summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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> ^~~~~~~~~~~~
2020-06-23add git.mk to generate .gitignoretamplan1-0/+400
2020-06-20fix release tarballs on travis CI failedv1.25.0Wu Xiaotian1-1/+3
2020-06-20release 1.25.0raveit651-0/+17
2020-06-20sync with transifexraveit65264-1025/+4807
2020-06-20update resource for transifexraveit651-119/+70
2020-06-20update submoduleraveit651-0/+0
2020-06-17update to use the latest submodule codeWu Xiaotian1-0/+0
2020-06-15pre-bump versionraveit652-1/+3
2020-06-11libegg: use git submoduleWu Xiaotian12-3859/+12
2020-06-06panel-toplevel: Use monotonic time for measuring time intervalsrbuj1-41/+20
2020-06-06panel-toplevel: Use animation duration time instead of end timerbuj1-25/+13