summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-02-08Add --disable-self-check for configureWu Xiaotian1-0/+2
Fixed make distcheck, see #1129
2019-01-13pathbar: fix random segfaults on opening mounts from Desktoplukefromdc3-121/+84
Adapt and apply these four relevent Nautilus commits, which remove the code responsible for the segfaults: *https://github.com/GNOME/nautilus/commit/e1ad3c05a6cd08c8cbf18ae53701dd742249d5fd#diff-f896071d07d34e87af94a18de95e4ea2 "pathbar: add a path-event signal" *https://github.com/GNOME/nautilus/commit/875efc324f8e91f2d157c7532fe5570c1de421c7#diff-f896071d07d34e87af94a18de95e4ea2 "pathbar: remove unused code" *https://github.com/GNOME/nautilus/commit/cfa51e6702ade6a8ca9045791773e6e10560262f "window-pane: use the path-event signal from NautilusPathBar" (now CajaPathBar) *https://github.com/GNOME/nautilus/commit/2759def4968f89c1a2370ca5b2b91af84dc4afd3 "pathbar: add a return value from path-event signal"
2018-12-03caja-places-sidebar: replace two other uses of g_drive_poll_for_media_finishlukefromdc1-2/+2
Both of these uses are incorrect and if this code is ever run would likely segfault. Adapted from https://github.com/linuxmint/nemo/commit/4ffea61b26033da1305ab8287058044065a1c101
2018-12-03Fix segfault on stopping USB hard driveslukefromdc1-1/+1
Fix https://github.com/mate-desktop/caja/issues/1046 drive_stop_cb should never have used g_drive_poll_for_media_finish which is for ejectable media in a fixed drive (e.g CD drive) and not for stopping a removable drive
2018-12-03fm-properties-window: Fix memory leaksPablo Barciela1-6/+13
'g_strconcat' needs to be freed
2018-11-08Fix case-insensitive comparison in running_in_mateZhang Xianwei2-4/+4
The environment variable XDG_SESSION_DESKTOP and DESKTOP_SESSION in running_in_mate are compared using "MATE". Actually the environment variable in MATE DE is "mate"(lower case). Using "mate" instead of "MATE" to fix it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-08-25pathbar: Activate pane when changing locationVictor Kareh1-0/+3
2018-08-01caja-window: Fix: mouse doesn't work with [ctrl] + [.] or [ctrl] + [;]Pablo Barciela1-0/+5
Fixes https://github.com/mate-desktop/caja/issues/1024
2018-06-27desktop window: Add is-desktop AtkObject attributeSamuel Thibault2-0/+51
Screen readers need to distinguish between the desktop window and normal windows, to be able to provide nicer speech synthesis. This can be done by simply adding an "is-desktop" attribute to the underlying AtkObject. This is here done by introducing a thin caja_desktop_window_accessible_class class which is based on GtkWindowAccessible and just appends the attribute. Closes: #999
2018-04-06Fix warnings from HiDPI commitslukefromdc1-0/+4
*caja-pathbar: fix warning,and in the process maybe fix occasional segfaults on opening mounted volumes from the desktop *caja-icon-info: Stop gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed warning by handling NULL return from function finding the pixbuf caja-icon-canvas-item-c: do not use g_object_unref where it does not work Stop the g_object_unref: assertion 'G_IS_OBJECT (object)' failed warnings on closing icon views
2018-04-05sidebar: Respect sidebar dimensions on HiDPIVictor Kareh2-2/+10
2018-04-05HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh11-170/+183
This allows icons in most places to scale up properly for HiDPI displays.
2018-04-05general: 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-05list-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-05Scale screen dimensionsVictor Kareh3-8/+18
2018-04-05properties-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-05Support HiDpi iconsCosimo Cecchi21-63/+155
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-05desktop-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-13remove runtime warning in usage of caja_clipboard_set_up_editablezhangwen21-1/+1
2018-03-13can selected all the search keywords with Ctrl+a.张雯3-3/+13
Fixes #918
2018-01-31require GTK+ 3.22 and GLib 2.50monsta28-268/+14
2018-01-26Fix tasklist icon change when opening new tabbl0ckeduser1-0/+3
Fixes #719
2018-01-19Include local files with "" instead of <>Jan Niklas Hasse2-3/+5
2018-01-15add missing window icon to About dialog for extensionsmonsta1-0/+1
2018-01-14move libegg to the top srcdir and drop some leftoversmonsta2-2/+0
2018-01-09update copyright year to 2018monsta1-1/+1
2018-01-09remove +x attr from source filesmonsta7-0/+0
fallout from last commit
2018-01-08ui: don't use overlay-scrollbarsraveit657-0/+27
make it consistent with behaviour for caja-places-sidebar
2018-01-01places-sidebar: show user's home dir when it is also the desktoplukefromdc1-25/+25
Current behavior is to show Desktop but hide the user's home directory in the sidebar when desktop-is-home-directory is set. This is opposite what would be expected so invert it. Patch by https://github.com/TomaszGasior
2018-01-01caja-file-management-properties.c: Fix build warning:Pablo Barciela1-1/+1
passing argument 2 of ‘gtk_about_dialog_set_authors’ from incompatible pointer type
2017-12-31places-sidebar: remove duplicate functionlukefromdc1-3/+0
This is already handled in libcaja-private/caja-file-operations.c
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela3-22/+10
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-12-14Fix #880 and fix refusal to unmount when sidebar is widelukefromdc1-44/+23
caja-places-sidebar: revert all kludges for eject behavior: Revert https://github.com/mate-desktop/caja/commit/d14fef384a435471860130f7337d5dea5bb824a0 https://github.com/mate-desktop/caja/commit/9b2e152876067aaee3baa699c51c6c6174d4954e and https://github.com/mate-desktop/caja/commit/30f19d0aed3e40a3682f820059ebb8b3038ba84e the last being a subset of a commit we'll apply later caja-places-sidebar: fix eject button hover, eject behavior Apply https://github.com/GNOME/nautilus/commit/f294a4e80626793624d76d6002b094d1c0809de4 "Fix up eject button hover in places sidebar" We were calling gtk_tree_view_column_cell_get_position() without properly loading the cell attribute for the right row before. We fix this by calling gtk_tree_view_column_cell_set_cell_data(). With this in place we can also use the x_offset for the position and avoid the whole summing of widths. Due to a bug in Gtk which expands the eject icon cell renderer we have to right align it so that it lines up properly. https://bugzilla.gnome.org/show_bug.cgi?id=640741 caja-places-sidebar: disable overlay scrollbar disable overlay scrollbars as they force the use of too much padding
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-11-02zoom-control: change zoom with mousewheel scroll over buttonmonsta1-1/+2
like it was with GTK+2
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
2017-08-29list view: fix large icon margins on zooming outmonsta1-0/+3
ported from: https://git.gnome.org/browse/nautilus/commit/?id=4f17fb7db7b8736ebb4fe82ddb1c279777847730 https://git.gnome.org/browse/nautilus/commit/?id=41de4e52b43c8ed5c9118860dac7caa303ebbc5b
2017-08-29Revert "Adds columns autosizing"monsta1-2/+0
This reverts commit 2a424fca8bd928223e92570fa692266c471a52b3.
2017-08-28remove weird +x attribute from a source filemonsta1-0/+0
2017-08-25gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+13
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-08-25Adds columns autosizingJury Verrigni1-0/+2
2017-08-25Refresh all rows on zoom changeJury Verrigni1-1/+1
2017-08-25Forces widget redraw on zoomJury Verrigni1-0/+2
2017-08-25pathbar: enable mousewheel scrolling like it was with GTK+2monsta1-0/+5
fixes https://github.com/mate-desktop/caja/issues/779 ported from: https://git.gnome.org/browse/nautilus/commit/?id=04116ab2876412445c788091be07d7f7321a4a94
2017-08-12avoid deprecated gdk_screen_get_width/heightZenWalker3-10/+22
2017-07-22don't use deprecated gtk_show_uriraveit658-0/+51
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker1-5/+6
2017-07-12application: remove unneeded forward declarationsmonsta1-22/+2