[nautilus/wip/antoniof/gnome-42: 60/72] Revert "files-view: Drop unused vfunc"
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/gnome-42: 60/72] Revert "files-view: Drop unused vfunc"
- Date: Fri, 11 Feb 2022 19:28:01 +0000 (UTC)
commit b3d750533160795cf779ba7f0e13e57117e16424
Author: Ondrej Holy <oholy redhat com>
Date: Fri Feb 11 14:28:44 2022 +0100
Revert "files-view: Drop unused vfunc"
This reverts commit bfc9d4ed4e19e9c76ab715a433a8c800a2e6423d.
src/nautilus-files-view.h | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index 32ac9937c..acd01d5d8 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -199,6 +199,15 @@ struct _NautilusFilesViewClass {
*/
gboolean (* is_empty) (NautilusFilesView *view);
+ /* convert *point from widget's coordinate system to a coordinate
+ * system used for specifying file operation positions, which is view-specific.
+ *
+ * This is used by the the icon view, which converts the screen position to a zoom
+ * level-independent coordinate system.
+ */
+ void (* widget_to_file_operation_position) (NautilusFilesView *view,
+ GdkPoint *position);
+
/* Preference change callbacks, overridden by icon and list views.
* Icon and list views respond by synchronizing to the new preference
* values and forcing an update if appropriate.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]