summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-10-11EelLabeledImageButton classes do not need a custom accessible object under GKT 3Luke Yelavich1-29/+3
2016-10-11Fix accessible object inherritance when used with GTK 3Luke Yelavich8-5/+343
Also disable eel accessibility code that is not needed. Fixes https://github.com/mate-desktop/caja/issues/590
2016-10-10Fix hashtable warnings on closelukefromdc3-9/+4
As in Nautilus, use g_hash_table_new rather than eel_g_hash_table_new_free_at_exit
2016-10-09GtkApplication: Disable session management when root/not in MATElukefromdc2-10/+20
Limit session management to non-root sessions within MATE to stop restart loops in root sessions and inablity to kill off Caja in non-mate sessions such as XFCE. Also remove the autostarted hold-in previously used to stop restart loops. egg_sm_client_set_mode only works when called before the main loop starts, thus it cannot be used in GtkApplication startup functions or otherwise later in the program. Note that this commit restores the Caja 3.16 and earlier restart loop in normal mate sessions if a user disables icons on the desktop, then sets exit_with_last_window. The combination is the default for root/not in mate sessions though, so without the ability to set "no restart" later than the start of the main loop, session management outside of MATE and in root sessions has to be disabled.
2016-10-08GTK3: port libunique ->GtkApplication as build time optionlukefromdc17-122/+1293
Add --disable-libunique configuration option for GTK3 builds. This builds a port from libunique to GtkApplication. keep GTK2 builds unchanged Caja can now be build with GTK2 and libunique, GTK3 and libunique, or GTK3 without libunique using GtkApplication instead GtkApplication port Based on cherrypicked nautilus commits from https://github.com/GNOME/nautilus/commit/a8481ee4bd8d34e792d63598fa5efb47736f9de4 main: adapt to GtkApplication changes through https://github.com/GNOME/nautilus/commit/c3382e0415d51082545f277c380d37be160e8d2d application: move nautilus_application_new() to its own function GTK3/GtkApplication builds: add --force-desktop option This is useful for other DE's All: StartupNotify=false in .desktop files, as caja never connects to notification daemons and in GtkApplication builds this causes busy spinning curors
2016-10-08Stop warnings on window-close and 3 warnings on exitlukefromdc4-5/+15
Fix the gsignal warnings on window-close based on https://github.com/mate-desktop/atril/commit/fda33fbeedc0aab64d9479850047d0817d0b38be "Check if handler_id is connected before disconnect" from Atril Also Fix "Source ID XXX was not found..." warnings on closing Caja These three gsources are already gone when Caja exits, their ID's still exist but they cannot be found to remove. The warnings indicate double removal so this code block is just a source of errors. Leave it in place but commented out for now.
2016-10-08pre-bump versionraveit652-1/+3
2016-10-04GTK3: fix warnings cause by GtkGridlukefromdc1-52/+3
Apply https://github.com/itzexor/nemo/commit/2c60a3edaef10e9ef331740d55d3c45dd366c5db window: remove custom get_preferred_width/height implementation We already take care of the default size when we create the window, and these only break assumptions of the default GtkWindow's handlers. in turn from https://github.com/GNOME/nautilus/commit/da06dfc438e578405d616c48e8e3809d37c908bb Nautilus commit is from Feb 17, 2014 prior to release of GTK 3.14. Could not build against GTK 3.14 over GTK 3.22 system due to mate-desktop errors but should work as Nautilus used it with 3.14. Test builds with GTK 3.16 and 3.22 worked fine, no issues with saved or command line geometry
2016-09-19release 1.16.0v1.16.0raveit651-1/+1
2016-09-19update NEWS for 1.16monsta1-96/+14
2016-09-19sync with Transifexmonsta106-57485/+55697
2016-09-15Fix for #492bl0ckeduser1-0/+3
2016-09-06GTK3.20:fix statusbar deprecation warninglukefromdc1-1/+7
2016-09-06GTK3: Fix last pathbar warninglukefromdc1-27/+18
Replace size request code with padding code borrowed from Nemo. For some reason gtk_widget_set_margin_start(or end) does not throw GTK warnings when called on GTK_WIDGET(button_date->label) while gtk_widget_set_size_request does throw warnings. Neither generates a build warning.
2016-09-05GTK3: Fix pathbar "w/o calling gtk_widget get preferred width" warningslukefromdc1-3/+12
Stop the "allocating size of GtkButton <xxxx> without calling gtk_widget get preferred width/height()" warnings from caja-pathbar's slider buttons
2016-09-05GTK3: fix pathbar pango warningslukefromdc1-1/+9
Fix gtk_widget_create_pango_layout: assertion 'GTK_IS_WIDGET (widget)' failed warning and those descending from it. This does NOT fix the gtk_widget_set_size_request: assertion 'GTK_IS_WIDGET (widget)' failed, which occurs because recent GTK3 versions warn that button_data is not a GtkWidget but still succeed in setting the size. Since GTK 3.22 will be the LAST version of GTK3 this won't break until GTK4 if ever. Taking this out caused the pathbar buttons to jump on bold text so it had to be retained
2016-08-31GTK3: stop warning spew from sidebar, pathbarlukefromdc2-1/+6
The button underallocation warnings came from pathbar sliders picking up padding from themes, then being forced to render to a smaller size in the code. The GTK_ICON_LOOKUP_GENERIC_FALLBACK warnings came from the sidebar icons, this flag is now a source of errors. Unfortunately NULL does not work, so set GTK_ICON_LOOKUP_FORCE_SIZE, which does not create errors and ensures the icon size we actually want in the sidebar is used anyway. Stops all but two of the warnings listed in https://github.com/mate-desktop/caja/issues/561
2016-08-27Update caja-actions.hbkerlin1-1/+0
Duplicate define of "CAJA_ACTION_UP_ACCEL" removed.
2016-08-23libcaja-extension: don't call get_widget if it's NULLmonsta1-0/+1
2016-08-23libcaja-extension: remove duplicated code linemonsta1-1/+0
2016-08-23libcaja-extension: fix docs generation and fix some indentmonsta23-535/+663
docs are still far from perfect, but most build warnings are gone
2016-08-23po: update POTFILES.* after latest changes and fix sorting a bitmonsta2-5/+2
2016-08-22thumbnails: port from raw pthread API to GTask and GMutexmonsta1-27/+25
taken from: https://git.gnome.org/browse/nautilus/commit/?id=050d031250970b55bbb0e4a58dfaded84c89b354 https://git.gnome.org/browse/nautilus/commit/?id=b2ee410dc353a871992eebcbdbb4399daa59d57b
2016-08-22drop a large amount of completely unused codemonsta40-1951/+0
2016-08-12release 1.15.4v1.15.4raveit652-1/+10
2016-08-12sync with transiflexraveit658-50/+53
2016-08-12GTK+-3 property-browser: port GtkTable to GtkGridraveit651-1/+61
2016-08-12GTK+-3 window: port GtkTable to GtkGridraveit654-2/+53
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-09Bring back part of caja.css needed for compositinglukefromdc1-1/+5
Composited case still requires desktop, desktop window to be set transparent. Changes in last commit only affected noncomposited case
2016-08-09Revert "caja.css: include GTK 3.21 desktop selectors"raveit651-9/+0
This reverts commit 8d658fa4f3790972c38e04df23eaa7b88b5066d8. No need of this after latest commit.
2016-08-08Fix background rendering in noncomposited caselukefromdc2-36/+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-04release 1.15.3v1.15.3raveit652-4/+17
2016-08-04sync with transiflexraveit65113-16468/+16472
2016-08-04caja.css: include GTK 3.21 desktop selectorslukefromdc1-0/+9
The selectors to hold the desktop transparent in GTK 3.21 or later builds seem to be ignored in GTK 3.20 or older builds where Caja draws the desktop. Ideally some makefile work and two raw files would apply this only in GTK 3.21 and later builds
2016-08-04GTK3.21:fix desktop redraw (caja-icon-container.c)lukefromdc1-3/+7
2016-08-04GTK3.21:fix desktop redraw (fm-list-view.c)lukefromdc1-0/+6
2016-08-04GTK3.21:fix desktop redraw (fm-icon-view.c)lukefromdc1-2/+10
2016-08-04GTK3.21:fix desktop redraw (fm-directory-view.c)lukefromdc1-5/+14
2016-08-04GTK3.21:fix desktop redraw (fm-desktop-icon-view.c)lukefromdc1-0/+13
2016-08-04GTK3.21:fix desktop redraw (caja-desktop-window.c)lukefromdc1-2/+16
2016-07-30use GtkAbout instead of MateAboutraveit652-15/+12
2016-07-20GTK 3.21: stop properties window going full heightlukefromdc1-1/+4
Stop the properties window from ballooning to full screen height when built and run with GTK 3.21/22. In GTK 3.21 the "emblems" tab's scrolled window will expand to the entire height of the screen attempting to accomodate all icons unless this is explicitly limited using the new command gtk_scrolled_window_set_max_content_height(). Unfortunately that command is GTK 3.21 and later only, so this forces GTK 3.21 builds to be run only with Gtk 3.21 and later. Thus this is put behind a GTK 3.21 selector and packages built from it must depend on GTK 3.21 and later. Fortunately no distro is going to ship any file manager built with newer GTK 3 than they ship. A GTK 3.21 build of this will actually open in 3.20 but hit the undefined symbol and crash if you select "properties" on any item, exactly as I would expect it to so.
2016-07-20release 1.15.2v1.15.2raveit651-0/+42
2016-07-20sync with transiflexraveit65113-47520/+47523
2016-07-15GTK+-3 eel: fix color definition pointed out by running distcheck with gtk3raveit651-3/+4
2016-07-15distcheck: explicitly use currently selected GTK+ versionmonsta1-1/+1
2016-07-14fix stupid mistakeraveit651-2/+2
2016-07-14pre-bump versionraveit652-1/+3
2016-07-14GTK+-3 pathbar: always show the slidersraveit651-2/+2
taken from: https://git.gnome.org/browse/nautilus/commit/src?id=6f6bfde