summaryrefslogtreecommitdiff
path: root/src/file-manager
AgeCommit message (Collapse)AuthorFilesLines
2019-07-26fm-directory-view: add icon to "empty trash" into "File" menuPablo Barciela1-1/+1
2019-07-24add git.mk to generate .gitignoreWu Xiaotian1-0/+2
2019-07-23fm-list-view: replace deprecated gtk_drag_beginraveit651-6/+7
use gtk_drag_begin_with_coordinates instead
2019-07-23Show thumbnails in list viewWu Xiaotian1-1/+8
2019-07-21fix build error about fm-empty-viewWu Xiaotian1-1/+2
2019-07-17src / file-manager: reduce the scope of some variablesPablo Barciela10-229/+408
2019-07-10Replace gdkpixbuf with cairo_surfaces in a few more placesVictor Kareh1-3/+3
2019-07-02desktop icon view: disconnect callback from correct GSettings instancemonsta1-1/+1
taken from: https://github.com/linuxmint/nemo/commit/89090ac192638d75359876d917b6d3ce106196af
2019-07-02Add scroll tabs with mouse wheelLaurent Napias1-0/+8
File's properties and caja's preferences windows
2019-06-29fm-list-view: suppress GtkAction warningsraveit651-0/+2
2019-06-29fm-icon-view: suppress GtkAction warningsraveit651-0/+16
2019-06-29fm-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.
2019-06-28Fix cppcheck warningsPablo Barciela2-110/+110
appeared since the silence of deprecated gtkaction warnings
2019-06-27Revert "fm-directory-view: free var action_name"raveit651-2/+0
This reverts commit f13416d256ede64396c3c6bb26fadb9b5e527bd3. This was wrong.
2019-06-27fm-directory-view: free var action_nameraveit651-0/+2
2019-06-27fm-directory-view: fix previous GtkAction commitraveit651-9/+12
2019-06-25fm-directory-view: suppress GtkAction warningsraveit651-3/+107
2019-06-25fm-desktop-icon-view: suppress GtkAction warningsraveit651-0/+9
2019-06-18Remove trailing whitespacesrbuj2-2/+2
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2019-06-11Change URL prefixes from http to httpsrbuj1-1/+1
2019-05-04eel: remove date & time functionsrbuj2-3/+3
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
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela18-194/+194
2019-04-10local #include files inside "" instead <>Pablo Barciela18-245/+287
2019-04-08Pass "NULL" for keyboard eventlukefromdc2-2/+10
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-04-05fm-desktop-icon-view: remove dead codePablo Barciela1-11/+1
Fixes Clang static analyzer warnings: fm-desktop-icon-view.c:331:33: warning: 1st function call argument is an uninitialized value if (pointer == NULL && (gdk_device_get_source (cur) == GDK_SOURCE_MOUSE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fm-desktop-icon-view.c:335:34: warning: 1st function call argument is an uninitialized value if (keyboard == NULL && (gdk_device_get_source (cur) == GDK_SOURCE_KEYBOARD)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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-07avoid variables set but not usedPablo Barciela1-4/+0
2019-03-04fm-tree-model: Fix use of memory after it is freedPablo Barciela1-2/+6
to avoid warning with Clang Analyzer
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-28Avoid deprecated g_type_class_add_privateWu Xiaotian4-39/+31
- caja-connect-server-dialog - caja-navigation-window - caja-property-browser - caja-sidebar-title - caja-trash-bar - caja-window - caja-zoom-action - caja-zoom-control - fm-desktop-icon-view - fm-properties-window
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 stringSargastic2-7/+0
2018-12-27Add independent show/hide backup filesSargastic3-4/+67
2018-12-01fm-properties-window: Fix memory leaksPablo Barciela1-6/+13
'g_strconcat' needs to be freed
2018-11-02properties-window: fix checking inconsistent stateAlexandru Pandelea1-1/+1
In the function initial_permission_state_consistent, when the check was made to see if the files have the same permissions, the check was not correct. To fix this, also do & between the first_permissions and the mask. https://bugzilla.gnome.org/show_bug.cgi?id=698955 Adapted from https://gitlab.gnome.org/GNOME/nautilus/commit/37595852
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-06-04avoid deprecated 'gtk_window_set_wmclass'Pablo Barciela1-1/+0
2018-05-18avoid deprecated 'gtk_dialog_get_action_area'Pablo Barciela1-5/+6
2018-05-10eel-gtk-extensions: replace deprecated gtk_menu_popup functionraveit651-13/+6
2018-05-07Replace deprecated gtk_menu_popupraveit651-3/+2
Replace deprecated gtk_menu_popup in eel-editable-label,caja-dnd, emblem-sidebar,caja-side-pane, fm-tree-view, caja-navigation-window-pane, and caja-zoom-control
2018-05-07fm-desktop-icon-view: replace deprecated gdk_error_trap_push/pop functionsraveit651-4/+6
2018-05-07replace deprecated gdk_flushraveit651-1/+3
2018-05-05avoid deprecated 'gtk_style_context_get_background_color'Pablo Barciela1-1/+8
2018-04-18sidebar popup menu: show "media-eject" icon in the "unmount" itemsPablo Barciela1-1/+1
2018-04-11fm-icon-view: Show size on disk as sort criterionMoritz Bruder2-1/+9
This was introduced in commit b28445b3d2c42a7d2dbac97983d007e4ab58684d but has never been added to some parts of the UI.
2018-04-10sidebar popup menu: show "media-eject" iconPablo Barciela1-1/+1