summaryrefslogtreecommitdiff
path: root/src/caja-desktop-window.c
AgeCommit message (Collapse)AuthorFilesLines
2024-01-17Manage desktop backgrounds when running in waylandlukefromdc1-0/+5
*Draw the background on the desktop window, using the same code as on navigation windows to bypass the no-root-window issue. *Works from caja's "Change Desktop Background" menu item, from caja-extensions "set as wallpaper" and with changing the background in dconf-editor. *All background options available in x11 supported in wayland, UI is new for wayland *Apply changes immediately, keep the dialog open until closed by user *Let users see changes in realtime while keeping the dialog open *Preview both colors and pictures *Add ability to apply changes from either combobox including using any image saved from when dialog was opened *Add tooltips to the buttons, filepicker, and comboboxes
2023-07-08wayland: initial support for showing the desktopLuke from DC1-24/+108
* Wayland: Support rendering the desktop *Wayland support is optional via the --enable-wayland option * eel-editable-label-c: remove unused variable This was leftover from earlier code compatable only with x11 * Fix gtk-layer-shell-0 version check, improve error message when Wayland requested but not found
2023-06-29Replace deprecated code from xrandr fixlukefromdc1-2/+3
*In x11 we can anchor the desktop size to the root window instead of the screen or (possibly multiple)monitors
2023-06-29caja-desktop-window: Fix the xrandr erroryangxiaojuan1-5/+2
fix https://github.com/mate-desktop/caja/issues/1069
2020-04-13Fix -Wmissing-prototypes build warningsPablo Barciela1-0/+2
2020-02-09Set a real title on the desktop window (as provided to ATK)Jonathan Michalon1-7/+2
Even if we think that the desktop window title is never seen, it is used by the window selector in "all windows" mode and speech synthesis.
2019-06-29caja-desktop-window: suppress GtkAction warningsraveit651-0/+2
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela1-4/+4
2019-04-10local #include files inside "" instead <>Pablo Barciela1-8/+11
2019-01-31Avoid deprecated g_type_class_add_private under srcWu Xiaotian1-8/+5
Changed CajaConnectServerOperation, CajaDesktopWindow and CajaImagePropertiesPage
2018-06-06desktop window: Add is-desktop AtkObject attributeSamuel Thibault1-0/+37
Screen readers need to distinguish between the desktop window and normal windows, to be able to provide nicer speech synthesis. This can be done by simply adding an "is-desktop" attribute to the underlying AtkObject. This is here done by introducing a thin caja_desktop_window_accessible_class class which is based on GtkWindowAccessible and just appends the attribute. Closes: #999
2018-06-05caja-desktop-window.c: Fix: caja crashes unexpectedlyPablo Barciela1-0/+13
Fixes https://github.com/mate-desktop/caja/pull/1005#issuecomment-394805519
2018-06-04avoid deprecated 'gtk_window_set_wmclass'Pablo Barciela1-3/+0
2018-04-04Scale screen dimensionsVictor Kareh1-4/+10
2018-04-04Support HiDpi iconsCosimo Cecchi1-1/+2
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-01-31require GTK+ 3.22 and GLib 2.50monsta1-6/+2
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela1-4/+4
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-08-12avoid deprecated gdk_screen_get_width/heightZenWalker1-4/+4
2017-03-13eel: Avoid deprecated gdk_window_set_background functionsAlexei Sorokin1-0/+15
Fixes partially #506, fixes compiz-reloaded/compiz#40.
2017-03-13Revert "GTK3.21:fix desktop redraw"Alexei Sorokin1-141/+0
2016-12-29check for stable version of GTK+3, not for development onemonsta1-11/+11
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-6/+0
option *Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591
2016-08-10Fix background change crashlukefromdc1-0/+24
Apply https://gist.github.com/raveit65/51b40a20f8836562369fc155a828edc4 to add a "finalize" function to the desktop window and stop background-change crashes after turning icons off-or off and back on. Also match tab styling to that in rest of file, the one difference here from the patchfile.
2016-08-08Fix background rendering in noncomposited caselukefromdc1-26/+126
Apply Alberts Muktupāvels' https://bugzilla.gnome.org/attachment.cgi?id=332444&action=diff to Caja, it just plain works. Remove previous fallback background code. Add GTK 3.21 selectors missed in caja_desktop_window_class_init, clean up a couple tabs
2016-08-04GTK3.21:fix desktop redraw (caja-desktop-window.c)lukefromdc1-2/+16
2016-04-19GTK+3: add style class caja-desktop-window at top levelraveit651-2/+9
The existing style class .caja-desktop does not match every widget which you see at the screen. Ie. the widget scrolledwindow, which is above the existing class in hierarchy.
2016-03-16GTK 3.20-fix wrong desktop size rightlukefromdc1-2/+6
Reset default size of desktop window to -1 in GTK 3.19/20 only. The combination of a non-resizable window with a default size is what causes the desktop to open wrong size. based on https://github.com/GNOME/nautilus/commit/cf79068dc70c87e963e217e2e8ae149ee5ed1872 "desktop-window: avoid wrong size" "gtk+ recently changed and unresizable windows now take into account the default size set. We set the default size for normal resizable windows in nautilus." "However the desktop window is a no resizable window. What happens now when setting a default size is that that size is used instead of the widget request size, since window sizing now takes precedence over widget sizing." "To fix it, set the default size to -1 to override what the nautilus window does by default, so we can avoid this misbehaviour."
2013-07-25Fixes for GTK3 supportStefano Karapetsas1-0/+4
2012-11-16[desktop-window] add a 'loaded' flagJasmine Hassan1-1/+11
http://git.gnome.org/browse/nautilus/commit/?id=f95927360079b1c05efb9cea0de62457eea307ab&context=6
2012-11-16[desktop-window] cleanupsJasmine Hassan1-36/+28
http://git.gnome.org/browse/nautilus/commit/?id=ef13366e667f848adc6b96509612e3321554d188
2012-08-12Fixed incorrect fsf addresses. Closes #28.Steve Zesch1-1/+1
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+277