summaryrefslogtreecommitdiff
path: root/src/file-manager
AgeCommit message (Collapse)AuthorFilesLines
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
2018-04-08Add sort criterion by reversed extension segmentsMoritz Bruder2-0/+15
The basenames of files are split by dots and then starting from the end each segment is compared to find a sort order. Example: bar.tar.bz2 foo.tar.bz2 a.bar.gz x.tar.gz z.tar.gz test.tex A heuristic determines what extension segments are part of the extension. There is probably no perfect solution but there are much less false positives. As a result the sorting is more intuitive and the displayed column in the list view is better readable and displays extensions more accurately. In addition a bug related to the default sort criteria in the preferences has been fixed.
2018-04-08set icon names instead stock ids in some placesPablo Barciela1-1/+1
2018-04-04HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh4-97/+100
This allows icons in most places to scale up properly for HiDPI displays.
2018-04-04general: use gdk_monitor_get_scale_factorAlexandru Pandelea1-1/+1
As it is deprecated, instead of using gdk_screen_get_monitor_scale_factor use gdk_monitor_get_scale_factor(). https://bugzilla.gnome.org/show_bug.cgi?id=779774 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/273e6efc
2018-04-04list-view: use the cairo surface as a drag iconCosimo Cecchi1-11/+8
As we now store surfaces in the GtkListStore, we have to change the drag method to use it instead of a pixbuf. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/18a380af
2018-04-04Scale screen dimensionsVictor Kareh1-2/+4
2018-04-04properties-window: support HiDpi for the properties window iconCosimo Cecchi1-17/+10
This was missing from the last commit. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/3a6053f1
2018-04-04Support HiDpi iconsCosimo Cecchi7-35/+94
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-04-04desktop-canvas-view: scale desktop workareaAndrea Azzarone1-4/+8
The problem is that in the function canvas_container_set_workarea the screen width and height are in "application pixels" while the workarea ones are in "device pixels" so when the scaling is > 1, the margins are not properly setted. We need to scale-down the workarea geometries to "application pixels". https://bugzilla.gnome.org/show_bug.cgi?id=769302 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/315a55df
2018-03-30fm-tree-view.c: drop unused variablePablo Barciela1-1/+1
Fixes https://github.com/mate-desktop/caja/pull/956#issuecomment-377222055
2018-03-27fm-tree-view.c: avoid deprecated GtkImageMenuItemPablo Barciela1-32/+14
avoid deprecated: gtk_image_menu_item_new_from_stock gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-03-23avoid 'gtk_file_chooser_dialog_new' with stock idsPablo Barciela1-4/+4
2018-03-17avoid gtk_dialog_new_with_buttons with stock idsPablo Barciela2-26/+52
2018-03-12avoid gtk_dialog_add_buttons with stock idsPablo Barciela2-8/+18
2018-03-01avoid eel_create_question_dialog with stock idsPablo Barciela1-1/+1
2018-02-09avoid deprecated GtkStockPablo Barciela4-104/+104
2018-01-31require GTK+ 3.22 and GLib 2.50monsta7-86/+7
2018-01-14move libegg to the top srcdir and drop some leftoversmonsta1-1/+0
2018-01-09remove +x attr from source filesmonsta3-0/+0
fallout from last commit
2018-01-08ui: don't use overlay-scrollbarsraveit653-0/+9
make it consistent with behaviour for caja-places-sidebar
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela1-6/+4
This commit reverts: https://github.com/mate-desktop/caja/commit/4c130e22b98bbc1a85747adac3b582e45d34514e https://github.com/mate-desktop/caja/commit/ac12e6d16f4a51b3327d013781e72cfec17f3624 https://github.com/mate-desktop/caja/commit/17b3c0ca924ffcd4bd06fded98227eba626d4f0b https://github.com/mate-desktop/caja/commit/42c8d2c3373c25d6e321be6950997c0d7ce44279 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height gdk_screen_width gdk_screen_height
2017-11-12Fix: wrong behavior with key "enter" while renaming files in list viewPablo Barciela1-10/+21
Fixes https://github.com/mate-desktop/caja/issues/698
2017-11-05open folder in new window: [ctrl] + [shift] + [w]Pablo Barciela1-1/+1
Fixes https://github.com/mate-desktop/caja/issues/859
2017-10-10View -> Visible Columns: fix vertical expand of dialog contentmonsta1-1/+1
this menu item is only visible when list view is selected, so I'm not surprised we missed it
2017-09-23Fix: wrong <Shift+Del> behavior while renaming filesPablo Barciela1-2/+4
Fixes https://github.com/mate-desktop/caja/issues/509