summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechoosernativequartz.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop using gtk_widget_get_surfaceMatthias Clasen2019-05-281-1/+1
| | | | | Replace all uses of gtk_widget_get_surface by gtk_native_get_surface.
* GtkWidget: Start renaming widget->windowAlexander Larsson2018-03-201-1/+1
| | | | | | | | | | | | | | | This is an automated change doing these command: git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface git sed -f g gtk_widget_set_window gtk_widget_set_surface git sed -f g gtk_widget_get_window gtk_widget_get_surface git sed -f g gtk_widget_register_window gtk_widget_register_surface git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface git checkout NEWS*
* GdkWindow -> GdkSurface initial type renameAlexander Larsson2018-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames the GdkWindow class and related classes (impl, backend subclasses) to surface. Additionally it renames related types: GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType, GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge This is an automatic conversion using the below commands: git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass git sed -f g GdkWindow GdkSurface git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2" git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE" git sed -f g "broadway_window" "broadway_surface" git sed -f g "BroadwayWindow" "BroadwaySurface" git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE" git sed -f g "wayland_window" "wayland_surface" git sed -f g "WaylandWindow" "WaylandSurface" git sed -f g "X11_WINDOW" "X11_SURFACE" git sed -f g "x11_window" "x11_surface" git sed -f g "X11Window" "X11Surface" git sed -f g "WIN32_WINDOW" "WIN32_SURFACE" git sed -f g "win32_window" "win32_surface" git sed -f g "Win32Window" "Win32Surface" git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE" git sed -f g "quartz_window" "quartz_surface" git sed -f g "QuartzWindow" "QuartzSurface" git checkout NEWS* po-properties
* GtkFileChooserNativeQuartz: restore parent focus after closing dialogTom Schoonjans2017-08-231-3/+21
| | | | | | Tested for both modal and non-modal dialogs https://bugzilla.gnome.org/show_bug.cgi?id=785306
* GtkFileChooserNativeQuartz: improve support for file filtersTom Schoonjans2017-08-231-5/+6
| | | | | | | Instead of using conditional compilation, use respondsToSelector to check at runtime for setAccessoryViewDisclosed. https://bugzilla.gnome.org/show_bug.cgi?id=785306
* GtkFileChooserNativeQuartz: add support for Mountain Lion and MavericksTom Schoonjans2017-08-231-8/+8
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=784723 introduced support for native file chooser dialogs on macOS, but due to the use of generics in the patch, there will be compilation errors on pre-Xcode 7 platforms, such as Mountain Lion and Mavericks. I strongly recommend to revert this patch when the oldest supported macOS release is bumped to Yosemite (10.10). https://bugzilla.gnome.org/show_bug.cgi?id=785306
* GtkFileChooserNativeQuartz: add support for get_filter and set_filterTom Schoonjans2017-07-181-3/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=784723
* GtkFileChooserNativeQuartz: add support for filtersTom Schoonjans2017-07-181-18/+102
| | | | | | | | | Includes: * Simple glob patterns (*.ext, *.*,...) * MIME types * pixbuf formats https://bugzilla.gnome.org/show_bug.cgi?id=784723
* GtkFileChooserNativeQuartz: add partial support for extra widgetTom Schoonjans2017-07-181-8/+24
| | | | | | | When the extra widget is a GtkLabel, then its text will be displayed as a message in the NSSavePanel or NSOpenPanel https://bugzilla.gnome.org/show_bug.cgi?id=784723
* GtkFileChooserNativeQuartz: add support for ↵Tom Schoonjans2017-07-181-39/+51
| | | | | | | | GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER Which is via NSOpenPanel, not NSSavePanel... https://bugzilla.gnome.org/show_bug.cgi?id=784723
* GtkFilechooserNative: add macOS supportTom Schoonjans2017-07-181-0/+431
Based on the Win32 implementation, as well as the macOS file chooser from https://github.com/GNOME/gedit/blob/master/gedit/gedit-file-chooser-dialog-osx.[ch] Not fully tested yet, but working properly so far. TODO: filter support, extra widget (label), documentation... https://bugzilla.gnome.org/show_bug.cgi?id=784723