summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc113-7968/+272
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-11-17configure.ac: Check for libnotifylukefromdc1-0/+1
Since https://github.com/mate-desktop/caja/commit/edb2cc870fa87cf1c57a61c0af5c578461b20a20 we use /usr/include/libnotify/notify.h so check for it.
2016-11-11application: correct description of --force-desktop optionmonsta1-1/+1
2016-11-10application: remove unused functionmonsta1-57/+0
same as done upstream: https://git.gnome.org/browse/nautilus/commit/?id=41da60c3a7156e504f7cf89cea87be49ef75a89c it's not used after 7008129b5a16ceceafc3dd5868a8317b35561768
2016-11-08remove convert metadatalukefromdc3-484/+2
Apply https://git.gnome.org/browse/nautilus/commit/?id=87d24047f674ca941e2691602da2501945a82330
2016-11-04Fix GTK2 buildlukefromdc1-1/+18
2016-11-04Compact view: ensure horizontal mouse wheel works both directionslukefromdc1-10/+9
Apply patch by ZenWalker for horizontal scrollwheel mice, without it scrolling left or right scrolls right only
2016-11-04Fix mousewheel scrolling in compact viewlukefromdc1-3/+13
Apply Nautilus commit https://github.com/GNOME/nautilus/commit/0832acdb4371fc7de957303e220e899c8fdcdf5c
2016-11-03Improved merge folder dialogZenWalker1-8/+40
based on nautilus commit: https://git.gnome.org/browse/nautilus/commit/?id=b370817 Fixes partially #535
2016-11-03suppress notification on unmounting non-ejectiable devicelukefromdc1-2/+1
Do not send "it is not safe to remove the drive" notifcation on unmount of internal drive or other non-ejectable device. Also stop incorrect notification on cancelled eject operation (as when mounted by another user and not authorized to eject).
2016-10-23Add gsettings preference to enable/disable notificationslukefromdc3-0/+8
Defaults to TRUE
2016-10-23libunique builds: enable eject notificationslukefromdc3-28/+15
We no longer need to use any GtkApplication features for this so enable it in libunique builds too. Tested with and without libunique in GTK 3.22
2016-10-23Refactor notification code to remove duplicate functionlukefromdc4-35/+8
The desktop icon eject code required a function in libcaja-private so we no longer need it in caja-application.c
2016-10-23GtkApplication: show notifications for ejecting from the desktop toolukefromdc2-2/+37
Show desktop notifications for ejecting a drive from the desktop as well.The code in caja-file-operations won't show notifications from the sidebar so that code is still needed too.
2016-10-22GtkApplication: Notify when ejected volumes safe to unpluglukefromdc4-4/+67
Notify users when an external drive is still writing data on attempt to eject, and again when drive is safe to unmount. Notifications behave as they do in Nemo when ejecting/unmounting a flash drive. Tested with GTK 3.22 and a known slow flash drive. This is in GtkApplication builds only, code is from Nemo. FIXME: build system does not limit libnotify dependency to GtkApplication builds and is rather improvised. Adding libnotify to CORE_MODULES via configure.ac did not work, and using Nemo's changes put -lnotify into CORE rather than ALL libs and that caused build failures on failure to link.
2016-10-22GtkApplication: fix "caja 3.0" messagelukefromdc1-1/+1
This text was borrowed from Nautilus 3.0 commits used in GtkApplication port, where all Nautilus references were changed to Caja
2016-10-19release 1.17.0v1.17.0raveit651-0/+11
2016-10-18sync with Transifexmonsta8-111/+115
2016-10-17Fix disabled controls when recursively processing directoriesemanuele-f2-25/+28
2016-10-17Operations window fixes and control improvementsemanuele-f3-32/+114
2016-10-17Start immediately some opsemanuele-f1-7/+7
2016-10-17Fix bad indentationemanuele-f1-73/+73
2016-10-17Anticipate progress window creation to provide immediate op startemanuele-f3-70/+68
2016-10-17add GtkStock compatibilityemanuele-f1-5/+25
2016-10-17typos and little changesemanuele-f1-24/+22
2016-10-17fix GSource leak and little changesemanuele-f1-12/+14
2016-10-17operations can now specify to start immediatelyemanuele-f3-30/+33
2016-10-17add image unref and use localized messagesemanuele-f1-7/+14
2016-10-17extend to all the operationsemanuele-f2-12/+26
2016-10-17fix queue button sensitive on startemanuele-f1-10/+10
2016-10-17implement queue sort orderemanuele-f1-53/+237
2016-10-17thread synchronization to implement pause resumeemanuele-f2-9/+89
2016-10-17begin state machine implementationemanuele-f1-25/+153
2016-10-17add start and enqueue buttonsemanuele-f1-3/+25
2016-10-17move cancel button before the baremanuele-f1-12/+13
2016-10-16GTK+2: use eel helper again to set adjustment valuesraveit651-0/+36
This reverts https://github.com/mate-desktop/caja/commit/1f7ab5d for gtk2 Fixes https://github.com/mate-desktop/caja/issues/659
2016-10-16Gtk+-2: add eel_gtk_adjustment* functions againraveit652-1/+40
This reverts https://github.com/mate-desktop/caja/commit/f02d495 for gtk2 fixes https://github.com/mate-desktop/caja/issues/659
2016-10-16support back and forward mouse buttons to navigateMartin Matuska5-0/+54
Fixes https://github.com/mate-desktop/caja/issues/78 Co-Authored-By: Oliver Joos <[email protected]> Co-Authored-By: Nelson Benitez Leon <[email protected]>
2016-10-15Gtk+-3 css: Consider GtkGrid changesraveit651-3/+4
2016-10-14Merge pull request #661 from lukefromdc/dev-gtk2fix-maybelukefromdc13-72/+77
Fix GTK2 builds
2016-10-14GTK2: Use emanuele-f 's patch for build failure, fix build w/o libuniquelukefromdc13-72/+75
Apply https://github.com/mate-desktop/caja/pull/658/commits/4b36a91af42d8efe0f594a95d28ab8448fd73b31 then fix the selectors in source files to use the boolean selectors for libunique
2016-10-14Fix missed selector change for separating GTK3 and libunique build optionslukefromdc2-1/+3
One selector was not updated in caja-location-bar.c to follow use or nonuse of libunique in GTK3 builds. Fixing this revealed need for a 3-way selector in one place in caja-application.c
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