summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.c
AgeCommit message (Collapse)AuthorFilesLines
2022-07-20Remove comments that are not written to translators from pot filerbuj1-6/+6
2022-07-20fm-directory-view: add icon to "empty trash" into "File" menuPablo Barciela1-1/+1
2022-07-20src / file-manager: reduce the scope of some variablesPablo Barciela1-79/+119
2022-07-20fm-directory-view: change G_GNUC_END_IGNORE_DEPRECATIONS placePablo Barciela1-2/+2
Fixes cppcheck warnings: [src/file-manager/fm-directory-view.c:1007]: (style) Statements following return, break, continue, goto or throw will never be executed. [src/file-manager/fm-directory-view.c:1080]: (style) Statements following return, break, continue, goto or throw will never be executed.
2022-07-20Fix cppcheck warningsPablo Barciela1-102/+102
appeared since the silence of deprecated gtkaction warnings
2022-07-20Revert "fm-directory-view: free var action_name"raveit651-2/+0
This reverts commit f13416d256ede64396c3c6bb26fadb9b5e527bd3. This was wrong.
2022-07-20fm-directory-view: free var action_nameraveit651-0/+2
2022-07-20fm-directory-view: fix previous GtkAction commitraveit651-9/+12
2022-07-20fm-directory-view: suppress GtkAction warningsraveit651-3/+107
2022-07-20Remove trailing whitespacesrbuj1-1/+1
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2022-07-19eel: remove date & time functionsrbuj1-2/+2
Do not need to extend glib library, since it now incorporates these functions. Extended date format modifiers are available on glib v2.56. eel-glib-extensions.h/c: GDate * eel_g_date_new_tm (struct tm *time_pieces); char * eel_strdup_strftime (const char *format, struct tm *time_pieces); gint64 eel_get_system_time (void); Do not need to test the extensions in eel_self_check_glib_extensions (void). eel-glib-extensions.c: static void check_tm_to_g_date (time_t time) static char * test_strftime (...) Do not need to check if strftime implements extended date format modifiers on the system (available on glibc v2.27). configure.ac
2022-07-19local #include files inside "" instead <>Pablo Barciela1-47/+49
2022-07-19Pass "NULL" for keyboard eventlukefromdc1-1/+5
Fix #1198 "Context menu with menu key broken" Pass "NULL" for event which is passed ultimately to gtk_menu_popup_at_pointer as an invalid event was being passed when the menu key was used to open the icon views context menu
2019-03-29eel: remove g_object_list_copyrbuj1-1/+1
GNOME/nautilus@7af24a8 Replace GList * eel_g_object_list_copy (GList *list) with g_list_copy_deep (list, (GCopyFunc) g_object_ref, NULL)
2019-03-04fm-directory-view: Fix use of memory after it is freedPablo Barciela1-1/+1
to avoid warning with Clang Analyzer
2019-03-04drop unused variablesPablo Barciela1-1/+0
2019-02-02Fix incompatible pointer typesVictor Kareh1-4/+4
2019-01-03[libcaja-private] Re-check file MIME type before picking an application.Max Eliaser1-0/+7
An example of when the MIME type might change: a file is initially created with 0 bytes of content, but more data is added later. Empty files are always detected as plain text, but the file might not be empty anymore when the user opens it. This commit affects the behavior when double-clicking a file and when right- clicking on it too.
2019-01-03[file-manager] Fix apparent bug in context menu updating code.Max Eliaser1-1/+1
The code looked like it was supposed to check whether each file in the selection could be opened in an external app, but was only checking the first item in the selection repeatedly. This bug may have been mostly benign since the subsequent call to caja_mime_get_default_application_for_files will return NULL anyway if the files don't all match each other.
2018-12-30Revert "fm-directory-view.c: Decrease minimum update interval."Pablo Barciela1-2/+2
This reverts commit 021ff2ac062f1cfd52726c78e9a3956405001c6e. Fixes https://github.com/mate-desktop/caja/issues/1101
2018-12-27Remove useless comments, correct description stringSargastic1-6/+0
2018-12-27Add independent show/hide backup filesSargastic1-2/+61
2018-10-02fm-directory-view.c: Decrease minimum update interval.lukefromdc1-2/+2
With a lower starting interval, the UI responds more quickly, and loading tends to complete faster. Ported from github.com/linuxmint/nemo/commit/61368e3fc33c0d662f45731d6bbb2a28fc5023ca Where these benchmarks resulted for Nemo: NEMO_BENCHMARK_LOADING=1 nemo /usr/bin with: Nemo startup time: 1.797009 seconds Folder load time: 0.937992 seconds Idle...Folder load time: 0.973764 seconds without: Nemo startup time: 2.054006 seconds Folder load time: 1.187159 seconds Idle...Folder load time: 1.219712 seconds Speedup on opening a Caja folder with many files was immediate and obvious
2018-05-10eel-gtk-extensions: replace deprecated gtk_menu_popup functionraveit651-13/+6
2018-04-08set icon names instead stock ids in some placesPablo Barciela1-1/+1
2018-04-04HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh1-39/+39
This allows icons in most places to scale up properly for HiDPI displays.
2018-04-04Support HiDpi iconsCosimo Cecchi1-13/+19
Port the rendering of icons to cairo surfaces, so that we can apply the GDK scale factor when rendering icons. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/0d4555d7
2018-03-17avoid gtk_dialog_new_with_buttons with stock idsPablo Barciela1-21/+41
2018-03-12avoid gtk_dialog_add_buttons with stock idsPablo Barciela1-4/+9
2018-03-01avoid eel_create_question_dialog with stock idsPablo Barciela1-1/+1
2018-02-09avoid deprecated GtkStockPablo Barciela1-91/+91
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-16/+0
2018-01-09remove +x attr from source filesmonsta1-0/+0
fallout from last commit
2018-01-08ui: don't use overlay-scrollbarsraveit651-0/+3
make it consistent with behaviour for caja-places-sidebar
2017-11-05open folder in new window: [ctrl] + [shift] + [w]Pablo Barciela1-1/+1
Fixes https://github.com/mate-desktop/caja/issues/859
2017-09-23Fix: wrong <Shift+Del> behavior while renaming filesPablo Barciela1-2/+4
Fixes https://github.com/mate-desktop/caja/issues/509
2017-07-22don't use deprecated gtk_show_uriraveit651-0/+6
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker1-5/+6
2017-04-18don't check nonexistent MATE22_USER_DIR env varmonsta1-10/+1
another case of excessive gnome -> mate renaming back in 2011
2017-03-13Revert "GTK3.21:fix desktop redraw"Alexei Sorokin1-12/+0
2017-02-07Remove unused codelukefromdc1-7/+0
2017-02-07Fix for https://github.com/mate-desktop/caja/issues/734lukefromdc1-1/+1
restore "open with other application" menu entry for directories
2016-12-29Show "open with" menu for desktop and theme fileslukefromdc1-3/+1
Apply https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=b9c51fd4eb84a9f52ee4be1bf183fc516984130b via https://gist.github.com/raveit65/19cfc5fe706ac6a2ea5d663a94fb02af
2016-12-29fix indent and spacing a bitmonsta1-5/+6
2016-12-29check for stable version of GTK+3, not for development onemonsta1-6/+6
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-87/+6
option *Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591
2016-08-04GTK3.21:fix desktop redraw (fm-directory-view.c)lukefromdc1-5/+14
2016-02-16[GTK+3] handle smooth scroll events for zooming (with Ctrl held)monsta1-0/+28
fixes https://github.com/mate-desktop/caja/issues/516 adapted from: https://git.gnome.org/browse/nautilus/commit/?id=1a76e044a2c9b834d00c4ea30f1e3af3321d8cdd https://git.gnome.org/browse/nautilus/commit/?id=878e2a4f7ada26bb7c106e5bbdbd8434acf86c77 https://git.gnome.org/browse/nautilus/commit/?id=f7b54cdba55a0856b201e62818059ac5007fac35 https://git.gnome.org/browse/nautilus/commit/?id=3d275a971132a41809a3b1e5b8ac683d264d6c35
2016-02-08use g_hash_table_remove_all and get rid of some callbacksmonsta1-7/+1
taken from https://git.gnome.org/browse/nautilus/commit/?id=564264cc6cc6fa44390791248019547a7133d70d and applied in some other places as well
2016-01-25GTK3: fix deprecated GtkMiscWolfgang Ulbrich1-5/+5