[nautilus/wip/oholy/gnome-42: 24/41] Revert "files-view: Drop unused vfunc"
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/oholy/gnome-42: 24/41] Revert "files-view: Drop unused vfunc"
- Date: Fri, 11 Feb 2022 14:07:55 +0000 (UTC)
commit ce1f7ab2adf1a46a6272f4122f6fbaa9933bc592
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 9bbd61962..e7bfb0b76 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]