summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-undostack-manager.c
AgeCommit message (Collapse)AuthorFilesLines
2022-07-21Remove trailing spaces/tabsrbuj1-1/+1
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \;
2022-07-20fix runtime warning from newly unused codelukefromdc1-10/+1
Remove now unused confirm_delete property Fix warning "caja-undostack-manager.c:323: invalid property id 2 for "confirm-delete" of type 'GParamBoolean' in 'CajaUndoStackManager' " caused by newly unused property
2022-07-20Confirm before deleting during an undo operationlukefromdc1-24/+6
Unless user turns 'Ask before emptying trash or deleting files" off. Remove special case direct delete code that broke this behavior Also remove now unused priv->confirm_delete As we no longer use unique code directly deleting files that used it
2022-07-20Remove trailing whitespacesrbuj1-5/+5
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2022-07-20libcaja-private: reduce the scope of some variablesPablo Barciela1-17/+87
2019-01-31Avoid deprecated g_type_class_add_private under libcaja-privateWu Xiaotian1-8/+2
Changed CajaIconCanvasItem, CajaTrashMonitor and CajaUndoStackManager
2018-05-07libcaja-private: fix -Wlogical-not-parentheses build warningraveit651-1/+1
fixes this warning: caja-undostack-manager.c: In function 'retrieve_files_to_restore': caja-undostack-manager.c:1967:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!(g_hash_table_size (trashed)) > 0) { ^ caja-undostack-manager.c:1967:7: note: add parentheses around left hand side expression to silence this warning if (!(g_hash_table_size (trashed)) > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( )
2015-09-17undostack: don't try restoring files w/o "trash::orig-path" attributemonsta1-0/+5
fixes https://github.com/mate-desktop/caja/issues/361
2015-09-17use standard defines for "trash::" attributesmonsta1-2/+4
2015-06-27Use g_malloc instead of malloc to be safeOBATA Akio1-2/+2
2015-01-13drop support for GLib < 2.36Monsta1-70/+0
Closes https://github.com/mate-desktop/caja/pull/372
2014-12-10libcaja-private: don't leak memoryMonsta1-38/+24
2013-04-10Typo on deprecations webpage.Scott Balneaves1-16/+16
2013-04-10Fix for issue #93Scott Balneaves1-1/+68
2012-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-20/+12
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-16[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan1-9/+16
Was: general: use g_list_free_full() instead of eel functions http://git.gnome.org/browse/nautilus/commit/?id=5e669515fd7f760382e6b7aa1449734a35a2d7f4 . Instead of g_list_free_full(), we use g_list_foreach and g_list_free() to avoid unnecessary glib dependency bump to 2.28
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-2/+2
2011-12-26fix some forgotten thingsStefano Karapetsas1-1/+1
2011-12-26updated UNDO-REDO with nautilus-elementary bzr rev 137Stefano Karapetsas1-2/+2
2011-12-26updated UNDO-REDO with nautilus-elementary bzr rev 138Stefano Karapetsas1-20/+68
2011-12-26ported nautilus-elementary UNDO-REDO (bzr rev 60)Stefano Karapetsas1-0/+1988