nautilus/libnautilus-private
Carlos Soriano 984438f102 canvas-container: fix desktop snapping
To snap an icon to the closest grid cell, we were trying to round
the x position with an offset of 0.5. However, cells are not
normalized, so that 0.5 is actually doing little to round the
position.

This is making the icons to snap to the right closest cell once the
user drags more the icon left to the current cell.

The actual size of the cell is SNAP_SIZE_*, so to fix this use half
of the SNAP_SIZE to "round" the number.

https://bugzilla.gnome.org/show_bug.cgi?id=750446
2016-02-01 09:49:57 +01:00
..
Makefile.am gschema: move to /data 2015-12-16 13:00:19 +01:00
nautilus-bookmark.c Revert "nautilus-bookmark: don't crash if file is gone" 2015-10-06 17:09:00 +02:00
nautilus-bookmark.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-canvas-container.c canvas-container: fix desktop snapping 2016-02-01 09:49:57 +01:00
nautilus-canvas-container.h nautilus-view: use popover for renaming 2015-08-16 14:53:54 +02:00
nautilus-canvas-dnd.c dnd: use GtkPlacesSidebar drop targets hints 2015-10-06 23:36:30 +02:00
nautilus-canvas-dnd.h dnd: use GtkPlacesSidebar drop targets hints 2015-10-06 23:36:30 +02:00
nautilus-canvas-item.c Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-canvas-item.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-canvas-private.h dnd: use GtkPlacesSidebar drop targets hints 2015-10-06 23:36:30 +02:00
nautilus-clipboard-monitor.c files-view: add optional menu item for creating links 2015-12-22 15:40:09 +01:00
nautilus-clipboard-monitor.h files-view: add optional menu item for creating links 2015-12-22 15:40:09 +01:00
nautilus-clipboard.c general: rework menus of nautilus 2015-01-24 02:06:03 +01:00
nautilus-clipboard.h general: rework menus of nautilus 2015-01-24 02:06:03 +01:00
nautilus-column-chooser.c column-chooser: also move "Reset to Defaults" to the toolbar 2015-01-19 13:49:02 -08:00
nautilus-column-chooser.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-column-utilities.c nautilus-list-view: add a modified column with time 2015-02-17 11:28:39 +01:00
nautilus-column-utilities.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-debug.c configure: enable debug always 2015-02-26 17:25:42 +01:00
nautilus-debug.h Fix leftover debug ifdef 2015-02-26 15:06:31 -08:00
nautilus-default-file-icon.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-default-file-icon.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-directory-file.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-directory-file.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-directory.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-directory.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-icon-file.c file: add an utility to set the file directory 2014-09-01 15:31:18 -07:00
nautilus-desktop-icon-file.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-link-monitor.c Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-desktop-link-monitor.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-desktop-link.c desktop-link: use g_signal_connect_object 2014-04-28 20:26:52 -07:00
nautilus-desktop-link.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-metadata.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-desktop-metadata.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-directory-async.c directory-async: don't modify priv data on cancelled 2015-12-18 20:56:18 +01:00
nautilus-directory-notify.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-directory-private.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-directory.c directory: implement dump 2015-12-11 23:03:02 +01:00
nautilus-directory.h directory: implement dump 2015-12-11 23:03:02 +01:00
nautilus-dnd.c dnd: use GtkPlacesSidebar drop targets hints 2015-10-06 23:36:30 +02:00
nautilus-dnd.h dnd: use GtkPlacesSidebar drop targets hints 2015-10-06 23:36:30 +02:00
nautilus-entry.c Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-entry.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-file-attributes.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-changes-queue.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-changes-queue.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-conflict-dialog.c project: replace deprecated GtkMisc calls 2015-07-21 18:20:26 -03:00
nautilus-file-conflict-dialog.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-dnd.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-dnd.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-operations.c file-undo-manager: rename undo_redo_flag 2016-01-12 20:51:07 +02:00
nautilus-file-operations.h operations: implement new design 2015-07-17 00:45:39 +02:00
nautilus-file-private.h file: get filesystem type asynchronously 2015-10-14 12:19:55 +02:00
nautilus-file-queue.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-queue.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-file-undo-manager.c file-undo-manager: rename undo_redo_flag 2016-01-12 20:51:07 +02:00
nautilus-file-undo-manager.h file-undo-manager: rename undo_redo_flag 2016-01-12 20:51:07 +02:00
nautilus-file-undo-operations.c file-undo-manager: handle undo_redo_flag internally 2016-01-12 20:51:07 +02:00
nautilus-file-undo-operations.h file, file-undo-operations: Let renames on Google Drive be undone 2015-09-10 12:21:52 +02:00
nautilus-file-utilities.c places-view: implement a view for Other Locations 2015-08-20 17:38:35 -03:00
nautilus-file-utilities.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-file.c file-undo-manager: rename undo_redo_flag 2016-01-12 20:51:07 +02:00
nautilus-file.h file: refactor eel-partition for better ownership management 2015-12-11 22:42:04 +01:00
nautilus-global-preferences.c window: delegate view mode to slot 2015-08-23 01:03:33 +02:00
nautilus-global-preferences.h preferences: add preference for create a link in context menu 2015-12-22 15:40:09 +01:00
nautilus-icon-info.c nautilus: ensure nautilus uses a correct size for icons when the theme doesn't provide the right size 2015-08-25 15:19:38 -05:00
nautilus-icon-info.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-icon-names.h file-utilities: export special_directory_get_icon() 2012-09-26 13:12:35 -04:00
nautilus-keyfile-metadata.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-keyfile-metadata.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-lib-self-check-functions.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-lib-self-check-functions.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-link.c nautilus-link: fix XDG_CURRENT_DESKTOP usage 2016-01-18 17:08:42 +02:00
nautilus-link.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-metadata.c desktop-canvas-view: reorder if icon size changes 2015-03-11 10:36:25 +01:00
nautilus-metadata.h desktop-canvas-view: reorder if icon size changes 2015-03-11 10:36:25 +01:00
nautilus-mime-application-chooser.c Fix indentation in previous commit 2015-08-23 12:29:17 -05:00
nautilus-mime-application-chooser.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-module.c Don't mention FSF address 2014-02-17 14:41:43 -08:00
nautilus-module.h Don't mention FSF address 2014-02-17 14:41:43 -08:00
nautilus-monitor.c monitor: don't check for FAM 2016-01-22 15:19:55 +01:00
nautilus-monitor.h monitor: don't check for FAM 2016-01-22 15:19:55 +01:00
nautilus-private-enum-types.c.template search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
nautilus-private-enum-types.h.template search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
nautilus-profile.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-profile.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-program-choosing.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-program-choosing.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-progress-info-manager.c progress-info: allow finished infos to remain alive 2015-07-17 00:45:39 +02:00
nautilus-progress-info-manager.h progress-info: allow finished infos to remain alive 2015-07-17 00:45:39 +02:00
nautilus-progress-info.c progress-info: Use the proper destroy method 2015-10-27 15:26:41 +01:00
nautilus-progress-info.h file-operations: fix toolbar button not showing soon 2015-10-13 18:01:34 +02:00
nautilus-query.c Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-query.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-recent.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-recent.h Move all of Nautilus to single Gtk+ includes, because Mitch says so. 2008-05-21 18:19:36 +00:00
nautilus-search-directory-file.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-directory-file.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-directory.c search-directory: don't mark as all_files_seen on hits ready 2016-01-22 15:20:16 +01:00
nautilus-search-directory.h search-directory: remove leftovers of saved search APIs 2015-01-24 02:06:03 +01:00
nautilus-search-engine-model.c search-engine-model: fix infinity waiting 2015-12-17 15:52:30 +01:00
nautilus-search-engine-model.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-engine-simple.c search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
nautilus-search-engine-simple.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-engine-tracker.c search-engine: better debug info 2015-12-17 12:10:32 +01:00
nautilus-search-engine-tracker.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-engine.c search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
nautilus-search-engine.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-hit.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-hit.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-search-provider.c search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
nautilus-search-provider.h search: done loading signal only if not restarting engine 2015-07-22 13:02:04 +02:00
nautilus-selection-canvas-item.c selection-canvas-item: use GdkFrameClock for rubberband animation 2014-10-17 12:40:04 -07:00
nautilus-selection-canvas-item.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-signaller.c signaller: remove user-dirs-changed signal 2014-05-13 22:50:48 -07:00
nautilus-signaller.h Don't mention FSF address 2014-02-17 14:41:43 -08:00
nautilus-thumbnails.c thumbnails: avoid crash with jp2 images 2016-01-11 15:38:04 +01:00
nautilus-thumbnails.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-trash-monitor.c Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-trash-monitor.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-tree-view-drag-dest.c dnd: use GtkPlacesSidebar drop targets hints 2015-10-06 23:36:30 +02:00
nautilus-tree-view-drag-dest.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-ui-utilities.c ui-utilities: use libgd to frame images 2015-05-24 19:36:00 -07:00
nautilus-ui-utilities.h Remove more unused methods 2015-05-23 13:45:39 -07:00
nautilus-undo-private.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-vfs-directory.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-vfs-directory.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-vfs-file.c Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-vfs-file.h Updated FSF's address 2014-01-31 14:13:48 +01:00
nautilus-video-mime-types.h Add film strip in nautilus rather than in thumbnailer 2014-02-09 00:42:56 +01:00
README update mailing list 2003-03-10 Alex Duggan <aldug@astrolinux.com> 2003-03-10 21:47:25 +00:00

README for nautilus/libnautilus-private

This library, libnautilus-private, is totally private to nautilus.

If you are writing a nautilus component, you should not use this
library or link with it.  The code in here is internal to nautilus
and not available for public consumption.

If you think that there is something interesting in this library that
you would like to use in a third party component, please send mail to
the nautilus mailing list at:

nautilus-list@gnome.org