summaryrefslogtreecommitdiff
path: root/libcaja-private
AgeCommit message (Collapse)AuthorFilesLines
2018-04-05file: support HiDpi for thumbnails imagesCosimo Cecchi1-3/+3
This was missing from the last commit. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/b3b4bea5
2018-04-05Support HiDpi iconsCosimo Cecchi11-122/+177
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-05canvas-container: listen to scale factor to invalidate iconsLionel Landwerlin1-0/+12
This is one of the condition that needs to trigger an invalidation to recompute layout at the correct size. https://bugzilla.gnome.org/show_bug.cgi?id=776896 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/b257699e
2018-04-05canvas-item: use gtk_render_icon_surface for the DnD surfaceCosimo Cecchi1-3/+8
So to get HiDpi support. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/31059f33
2018-04-05modify code error: end the statement with a semicolon张雯1-2/+2
2018-01-31require GTK+ 3.22 and GLib 2.50monsta9-135/+4
2018-01-15search_dispose and search_finilize can't be run after search finishedchen donghai1-1/+0
in caja_search_directory.c, fixes https://github.com/mate-desktop/caja/issues/895
2018-01-14move libegg to the top srcdir and drop some leftoversmonsta1-2/+1
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-31eject: Do not show "safe to remove" notification if drive fails to unmountlukefromdc1-1/+4
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela1-22/+8
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-10-08reword Size on Disk column description a bitmonsta1-1/+1
2017-09-02icon-dnd: remove hardcoded highlight frameCosimo Cecchi1-6/+1
The call to gtk_render_frame() should be enough; Now the .dnd style class setting from themes are used. Fixes https://github.com/mate-desktop/mate-themes/issues/194 origin commit: https://git.gnome.org/browse/nautilus/commit/?id=8d8979f
2017-08-25gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+10
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-08-24libcaja-private: remove wrong link from internal READMEmonsta1-6/+0
2017-08-22private: Ensure we allow launching .desktop files from trusted symlinksIkey Doherty1-0/+42
When a file is a symlink to one of the XDG data dirs, we'll allow that link to work, as they're vendor provided and not world-writeable by a malicious entity. This lookup is handled by the "is_system_dir" logic, to ensure that whatever the .desktop symlink is pointing at is already implicitly whitelisted. This allows for vendor provided "default" symlinks on within user directories, such as installer shortcuts for LiveCDs, etc. Signed-off-by: Ikey Doherty <[email protected]>
2017-08-19open-with-dialog: set max-char-width for a labelraveit651-0/+1
use max_char_width for 'Select and application to view his description' label, as this can cause a window size jumping for this gui. Depends on language translations. Ie. german language was affected.
2017-08-18Fix #828 "Open With" dialog "Open" button's text misalignedlukefromdc1-1/+1
2017-08-12avoid deprecated gdk_screen_width/heightZenWalker1-2/+7
2017-08-12avoid deprecated gdk_screen_get_width/heightZenWalker1-6/+15
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker2-4/+5
2017-05-25added feature: present the size on disk of files as we present the size of ↵Felipe Barriga Richards11-47/+221
the file.
2017-04-20Open With dialog: force icon sizemonsta1-1/+1
fixes https://github.com/mate-desktop/caja/issues/735
2017-04-20file: make caja_file_get_gicon return custom icons too (#765)monsta1-0/+5
fixes https://github.com/mate-desktop/caja/issues/410 taken from: https://git.gnome.org/browse/nautilus/commit/?id=f1c782c13dd675bafffb2a4d85900da52be88f3f
2017-04-19Expand grid width to canvasraveit651-1/+6
Minimum of one column taken from: https://github.com/linuxmint/nemo/commit/78d4a4f https://github.com/linuxmint/nemo/commit/21ea094 fix
2017-04-18use atk_component_get_extents instead of atk_component_get_positionmonsta1-2/+2
fixes build warning about deprecation ported from: https://git.gnome.org/browse/nautilus/commit/?id=bd73a8ee91610310c3b0dfdaa69465fc48ecac8f
2017-04-18don't parse .hidden files manually - GIO does it since 2.36monsta4-139/+2
taken from: https://git.gnome.org/browse/nautilus/commit/?id=ace6d2c2170028148785f3fa87eedf883f20f1dd GIO commit for reference: https://git.gnome.org/browse/glib/commit/?id=510ba9b4efe1813e24c6dfa7405c3547bf9efdd7
2017-04-18don't check nonexistent MATE22_USER_DIR env varmonsta1-13/+2
another case of excessive gnome -> mate renaming back in 2011
2017-04-18don't check nonexistent ~/.mate2 directorymonsta1-16/+3
it's probably some leftover from excessive gnome -> mate renaming back in 2011. even if it ever existed, we can drop it now, like upstream did for ~/.gnome2: https://git.gnome.org/browse/nautilus/commit/?id=5c17044597c980bdbe77a4894d92150fbe69909c
2017-04-13Add size_request to IconContainer to work around unncecessaryraveit651-0/+64
relayouting The GtkScrolledWindow uses the widget prefered size as a guess as to whether scrollbars are needed or not in the automatic scrollbars case. If we don't report anything for them we typically get it wrong and cause two size allocate calls on the child each time, with different sizes. This (the two sizes speicifically) will cause unnecessary relayouts of the window. So, we just report the current size of the layed out icons as the prefered size. This is somewhat wrong as its depending on previous size_allocation calls rather than the "ideal" size of the widget, but since the ideal size is ignored anyway and just used for this it works well. taken from: https://git.gnome.org/browse/nautilus/commit/?id=fa6e447
2017-04-13IconCanvasItem: fix overlapping filenames on hoverraveit651-1/+0
taken from: https://git.gnome.org/browse/nautilus/commit/?id=308f4ce
2017-03-28fix build with gcc 4.9.2 (looks like it's in c89 mode by default)monsta1-2/+6
2017-03-23search: added tag support (xattr::xdg.tags).Felipe Barriga Richards3-9/+205
2017-03-13eel: Avoid deprecated gdk_window_set_background functionsAlexei Sorokin2-4/+16
Fixes partially #506, fixes compiz-reloaded/compiz#40.
2017-03-13Revert "GTK3.21:fix desktop redraw"Alexei Sorokin1-7/+0
2017-02-07Add an option for asking confirmation before moving files to the trashColomban Wendling3-1/+68
Add an option to show a confirmation dialog when moving files to the trash, like there is for deleting files directly or emptying the trash. Closes #632.
2017-01-27Rename method to reflect its altered functionalityLuke Yelavich1-4/+4
2017-01-27Replace other instances of atk_focus_tracker_notify with appropriate ↵Luke Yelavich1-5/+5
atk_set_state calls
2017-01-27Use ATK_STATE_SELECTED and ATK_STATE_FOCUSED appropriately for highlight ↵Luke Yelavich1-9/+7
property changes
2017-01-07a11y: fix accessibility implementation for CajaIconCanvasItemAccessibleColomban Wendling1-3/+3
Fix CajaIconCanvasItemAccessible inheritance to properly inherit from EelCanvasItemAccessible. This fixes the ATK state machinery in CajaIconCanvasItemAccessible, and adds AtkComponent support which provides several useful features. Part of https://github.com/mate-desktop/caja/issues/245 Based off https://git.gnome.org/browse/nautilus/commit/?id=6c5baeb7626eda6629fc6642c9eb513ef8bc5c8e See https://bugzilla.gnome.org/show_bug.cgi?id=677509
2017-01-06remove some unused code that's also gone upstreammonsta1-14/+0
2017-01-02Fix keyboard-down wraparound on compact viewlukefromdc1-26/+22
Fix https://github.com/mate-desktop/caja/issues/671 Apply https://git.gnome.org/browse/nautilus/commit/?id=40be4b85f51fc7b192ef7421b2ede27954997cc8
2016-12-31Fix cursor on single-click navigation mode.Franco Tortoriello1-2/+15
On this mode, after opening a folder, the hand cursor was used until the user moved the cursor over a file or folder. Based on Nautilus commit https://git.gnome.org/browse/nautilus/commit/?id=2644c6ef4e7839e976d4861d6c86e16e34d46a13
2016-12-29file: don't consider all desktop files caja linkslukefromdc1-3/+6
Only those which match application/x-desktop directly. Apply Nautilus commit https://github.com/GNOME/nautilus/commit/b241fd28913e87fe01419e4922259949a11c973f
2016-12-29Show "open with" menu for desktop and theme fileslukefromdc1-4/+2
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-11/+11
2016-12-29check for stable version of GTK+3, not for development onemonsta1-3/+3
2016-12-14Add a separator when concatenating strings in icon text accessibleColomban Wendling1-0/+2
This makes the string exposed to ATK more sensible, instead of having unrelated words coupled together.
2016-12-06schema: capitalize MIME in descriptionsmonsta1-2/+2