summaryrefslogtreecommitdiff
path: root/src/caja-window.c
AgeCommit message (Collapse)AuthorFilesLines
2019-12-29Keep path same when opening new window from an existing oneYetoo11-0/+36
solved https://github.com/mate-desktop/caja/issues/1335
2019-08-26hide menu and toolbutton when view is only oneWu Xiaotian1-14/+15
2019-08-26add new FmWidgetView objectWu Xiaotian1-0/+1
2019-06-29caja-window: suppress GtkAction warningsraveit651-0/+30
2019-06-18Remove trailing whitespacesrbuj1-1/+1
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2019-06-17src: reduce the scope of some variablesPablo Barciela1-12/+16
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela1-14/+14
2019-04-10drop functions defined but not usedPablo Barciela1-40/+0
2019-04-10local #include files inside "" instead <>Pablo Barciela1-22/+25
2019-03-29eel: remove g_object_list_copyrbuj1-1/+1
GNOME/nautilus@7af24a8 Replace GList * eel_g_object_list_copy (GList *list) with g_list_copy_deep (list, (GCopyFunc) g_object_ref, NULL)
2019-03-06caja-window: Fix garbage valuePablo Barciela1-1/+2
Fixes Clang static analyzer warning: caja-window.c:554:34: warning: The left operand of '<' is a garbage value MIN (default_width, ^ ~~~~~~~~~~~~~
2019-03-04drop unused variablesPablo Barciela1-1/+0
2019-01-28Avoid deprecated g_type_class_add_privateWu Xiaotian1-5/+2
- caja-connect-server-dialog - caja-navigation-window - caja-property-browser - caja-sidebar-title - caja-trash-bar - caja-window - caja-zoom-action - caja-zoom-control - fm-desktop-icon-view - fm-properties-window
2018-12-27Add independent show/hide backup filesSargastic1-0/+19
2018-09-17add option to open multiple uri in tabs at startupClément Masci1-1/+9
2018-09-17Revert "add option to open multiple uri in tabs at startup"raveit651-9/+1
This reverts commit fd1f45f308e418d1c1b44b968ce83f77e4f8a689.
2018-09-14add option to open multiple uri in tabs at startupClément Masci1-1/+9
2018-07-31caja-window: Fix: mouse doesn't work with [ctrl] + [.] or [ctrl] + [;]Pablo Barciela1-0/+5
Fixes https://github.com/mate-desktop/caja/issues/1024
2018-04-04Scale screen dimensionsVictor Kareh1-2/+4
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-10/+1
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela1-12/+2
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-2/+12
2016-11-22move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build ↵lukefromdc1-108/+4
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-10-14GTK2: Use emanuele-f 's patch for build failure, fix build w/o libuniquelukefromdc1-5/+5
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-08GTK3: port libunique ->GtkApplication as build time optionlukefromdc1-1/+17
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-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-06GTK3.20:fix statusbar deprecation warninglukefromdc1-1/+7
2016-08-12GTK+-3 window: port GtkTable to GtkGridraveit651-0/+18
2016-07-12remove some unused includesmonsta1-1/+0
2016-04-21prefs dialog: don't crash on toggling "Show hidden and backup files"monsta1-1/+1
adapted from: https://git.gnome.org/browse/nautilus/commit/?id=7428762ea6601abba086fcc5e57f443b2e2b40b5 fixes https://github.com/mate-desktop/caja/issues/326
2016-01-26remove some unused/unneeded stuffmonsta1-6/+0
2016-01-15don't use deprecated gdk_cursor_new for both toolkit versionsWolfgang Ulbrich1-1/+5
gdk_cursor_new i deprecated with gtk+-3.16 and gdk_cursor_new_for_display is available since 2.2
2016-01-15GTK3 general: don't use gdk_cursor_unref()Wolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/nautilus/commit/?id=74a8f78
2016-01-13GTK3 window: port to GtkStyleContext, plug a leakWolfgang Ulbrich1-0/+2
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=465f576
2016-01-13GTK3 window: port to GtkStyleContextWolfgang Ulbrich1-0/+26
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=076886e
2015-05-19GTK3: set top and bottom margin of statusbar to zeroraveit651-0/+7
This reduce the size of the statusbar that it looks like GTK2 version. The size can now controled with .frame.flat and/or .flat.button selector by the theme.
2015-01-13drop support for GLib < 2.36Monsta1-2/+0
Closes https://github.com/mate-desktop/caja/pull/372
2013-07-25src: Add GTK3/GDK3 supportStefano Karapetsas1-3/+3
2012-12-22[all] silence warnings from GCC 4.6Jasmine Hassan1-3/+0
GCC 4.6 introduced a new warning about variables declared and initialized, but not really used in the function body. Remove all of these occurrences to build cleanly. http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5
2012-11-25fix previous commitmate-file-manager-1.5.1Nelson Marques1-1/+0
2012-11-25fix no-return-in-nonvoid-function caja-window.cNelson Marques1-0/+2
2012-11-23[src] fix some incompatible pointer type warningsJasmine Hassan1-5/+7
including a silly mistake in caja-window where destroy function's return type was accidently ommitted during the addition of gtk version checks.
2012-11-23[all] include src/glibcompat.h & use g_list_free_full() where neededJasmine Hassan1-8/+6
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-16[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan1-5/+6
Was: general: use g_list_free_full() instead of eel functions http://git.gnome.org/browse/nautilus/commit/?id=5e669515fd7f760382e6b7aa1449734a35a2d7f4 . Instead of g_list_free_full(), we use g_list_foreach and g_list_free() to avoid unnecessary glib dependency bump to 2.28
2012-11-16[window] don't use deprecated size_request vfuncJasmine Hassan1-17/+57
http://git.gnome.org/browse/nautilus/commit/?id=b532d0d9290d1731203d971e7c679979265f0a43
2012-11-16[horizontal-splitter] remove, and use a regular GtkPaned insteadJasmine Hassan1-1/+0
The feature it was bringing in (shrink when the paned handle is double-clicked) is even confusing. http://git.gnome.org/browse/nautilus/commit/?id=1620bd8a4e4ab1760c5c518dd954a4471645ce87
2012-11-16[src] don't use GtkObject (GTK3)Jasmine Hassan1-3/+20
the ::destroy signal of GtkObject has only been moved to GtkWidget in GTK3 (after GtkObject removal): http://developer.gnome.org/gtk3/3.0/ch25s02.html So we use conditionals in this case, to keep it working with GTK2. A tad similar: http://git.gnome.org/browse/nautilus/commit/?id=cc6cb51e827c0b15d4ef09f12d37b9f331ddcef8
2012-11-16[window] add _full() versions of _go_to and _open() methodsJasmine Hassan1-1/+13
These also have a callback to get the result of the operation. http://git.gnome.org/browse/nautilus/commit/?id=24515b87a91afd32885e07e32e2b4080584673a4
2012-11-16[build] don't include marshals we don't ownJasmine Hassan1-1/+0
http://git.gnome.org/browse/nautilus/commit/?id=8d07a73b28767b7c866fe403e9ac706b8affb8a2
2012-11-16[src] convert to new GDK_KEY prefixJasmine Hassan1-4/+4
http://git.gnome.org/browse/nautilus/commit/?id=71fa1a50145a6f06da3b805a29e75c1295fd546b Also, make sure we use GDK_KEY prefix in places-sidebar where this patch was previously applied to Caja but with old prefix: places-sidebar: allow keyboard navigation with Enter/Space (#637768) http://git.gnome.org/browse/nautilus/commit/?id=fd03c910a73ba18459e68baaf15e8dd295acd5c1