summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-03[global-prefs|application] use MATE global 'show-desktop-icons' settingJasmine Hassan3-62/+58
instead of a local-to-caja setting 'show-desktop' This key would indicate that file managers (by default Caja, but applies to others like Thunar or ROX) should handle desktop, i.e. draw a background and place icons there. Otherwise (when false), mate-settings-daemon will take over drawing desktop background. This is different from 'draw-background', which is a separate option used only for drawing background without icons (by mate-settings-daemon). To Caja, 'show-desktop-icons' implies 'draw-background', and so if set to false, Caja won't (needlessly) draw the desktop. However, if the user uses the "Background & Emblems dialog" to drop an image-pattern/color/reset on the desktop, Caja will again draw the desktop. For reference: https://bugzilla.gnome.org/show_bug.cgi?id=632225
2012-12-03[directory-bg] rewrite/refactor, untangle directory & desktop bg-setting codeJasmine Hassan3-513/+250
- Fixes crashes when resizing a VM window in VirtualBox. - Adds a method to allow handling desktop reset.
2012-12-03[eel-background] refactor to untangle directory & desktop bg-setting codeJasmine Hassan5-836/+742
2012-12-03[eel-background] make sure screen size actually changed before emmitting signalJasmine Hassan1-1/+26
that is, APPEARANCE_CHANGED signal. Also, add a verbose message to know when the signal is about to be emitted, hopefully to aid id debugging a 'BadPixmap (invalid Pixmap parameter)' error & crash when resizing VM window in VirtualBox (4.2.4-81684 as of date).
2012-12-01fix caja/nautilus renameStefano Karapetsas1-1/+1
close https://github.com/mate-desktop/mate-file-manager/issues/58
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-23Merge pull request #56 from jasmineaura/developStefano Karapetsas49-293/+287
[all] add and use glibcompat.h for glib-2.27.2 forward-compat
2012-11-23[src] fix some incompatible pointer type warningsJasmine Hassan4-8/+14
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 Hassan47-288/+234
Also fixes a double-free regression in lc-p/caja-query from 7a42b9b0
2012-11-23[src] add glibcompat.h for glib-2.27.2 forward-compatabilityJasmine Hassan2-0/+42
to use g_list_free_full() directly
2012-11-22Merge pull request #55 from jasmineaura/developSteve Zesch1-2/+0
[directory-view] fix double-free regression from 7a42b9b0
2012-11-23[directory-view] fix double-free regression from 7a42b9b0Jasmine Hassan1-2/+0
2012-11-22Preparing for 1.5.1 release.Steve Zesch2-1/+3431
2012-11-21Merge pull request #52 from jasmineaura/developSteve Zesch1-1/+1
[eel-background] missed g_strdup in previous commit 3ba2c5e4
2012-11-22[eel-background] missed g_strdup in previous commit 3ba2c5e4Jasmine Hassan1-1/+1
2012-11-21Merge pull request #51 from jasmineaura/developSteve Zesch1-5/+17
[eel-background] fix gradient support of color-drops (#49)
2012-11-21[eel-background] use GtkStyle's bg color when no custom one is setJasmine Hassan1-5/+17
this fixes #49 "Gradients-support of color-drops broken since 1.2"
2012-11-20Merge pull request #50 from jasmineaura/developSteve Zesch6-47/+60
eel-bg and lc-p rendering-cleanup followups, eel-bg-box rendering-cleanup
2012-11-21[background-box] use expose-event for GTK2, draw for GTK3Jasmine Hassan1-12/+22
2012-11-20[lc-p] revise rendering-cleanup commit 2a4433a562Jasmine Hassan3-30/+17
mainly, in icon-dnd, in drag_begin_callback, CajaIconContainer was only declared for GTK2. Also, replace some deprecated gdk_drawable_get(size|screen) calls, and remove some unnecessary GDK_DRAWABLE casts. Also, in icon-canvas-item, in draw_label_text, missed ommitting a NULL parameter to gtk_paint_focus, for GTK3.
2012-11-20[sidebar-title] fix minor styling regression from 638df47eJasmine Hassan1-4/+20
1. Actually return if the widget isn't realized, not the other way around. 2. install the style properties (in class_init) before trying to use them in _select_text_color(). This was basically adapted from code in lc-p/icon-container
2012-11-20[eel-background] fix minor _expose regression from b5f9a6c8Jasmine Hassan1-1/+1
2012-11-19Merge pull request #45 from jasmineaura/developStefano Karapetsas2-198/+162
[eel-background] drawable deprecations (GTK2), rendering-cleanup (GTK3)
2012-11-19[eel-background] drawable deprecations (GTK2), rendering-cleanup (GTK3)Jasmine Hassan2-198/+162
1. Don't use gdk_drawable_get_display (deprecated in 2.24) 2. Use GDK_PIXMAP_XDISPLAY(pixmap) directly instead of GDK_DISPLAY_XDISPLAY(gdk_drawable_get_display(GDK_DRAWABLE (pixmap))) 3. Don't require GTK3 for stuff in GTK2.24, which we now require, and don't use gdk_drawable_get_size at all. So, use (i/o = instead of): gdk_window_get_width|height i/o gdk_drawable_get_size gdk_window_get_screen i/o gdk_drawable_get_screen gdk_window_get_visual i/o of gdk_drawable_get_visual 4. add eel_background_draw for GTK3, eel_background_expose for GTK2 This was removed in nautilus (after eel-background-box was removed): http://git.gnome.org/browse/nautilus/commit/?id=87eb53a0701252607b494f34c677b6506f82278c 5. background: port to rendering-cleanup & cope with renamings of gnome-bg APIs http://git.gnome.org/browse/nautilus/commit/?id=0b664aae4090704fa2e44d42f213da2cea8bd828 http://git.gnome.org/browse/nautilus/commit/?id=426079ef07d5f902911f30b0a9d7de95f3020374 6. Fix remaining issue #41: crashes w/ gdk_x_error BadPixmap when changing screen resolution Remove eel_background_get_pixmap_and_color(), and use the pixmap/surface & color properties in background->details directly, when needed. i.e. No more g_object/surface referencing. And call eel_background_ensure_realized() and make_color_inactive() where appropriate.
2012-11-18fixed incorrect fsf addresses.Steve Zesch4-8/+8
2012-11-16Merge pull request #42 from jasmineaura/developStefano Karapetsas164-9759/+6123
Bring Caja up to speed, stage1
2012-11-16[navigation-window] Use gtk_paned_new for GTK3 instead of gtk_[h|v]paned_newJasmine Hassan1-0/+8
http://git.gnome.org/browse/nautilus/commit/?id=0609431a5cb3803d0b98bd333f90e3c7796f86b7
2012-11-16[eel] remove eel_gdk_pixbuf_list_ref()Jasmine Hassan3-18/+1
But unlike upstream commit below, not removing include eel-art-extensions.h from eel-gdk-pixbuf-extensions.h, as we still have functions in the latter using eel_irect_* (from eel-art-extensions), which are still used by the eel-debug-drawing we kept around. http://git.gnome.org/browse/nautilus/commit/?id=7dee3226ad6b3aa1c782cc3d2969e32c5eeae3f3
2012-11-16[eel] remove unused eel_get_filename_charset()Jasmine Hassan2-101/+0
http://git.gnome.org/browse/nautilus/commit/?id=00c0b9daa2053a110e17c64fb79ce4884290dc76
2012-11-16[eel] remove eel_gtk_widget_set_shown()Jasmine Hassan2-25/+0
http://git.gnome.org/browse/nautilus/commit/?id=31dfbdc19075ddf92b4f04a2f84e3111c3fb429b
2012-11-16[places-sidebar] use gtk_widget_set_visible() instead of the eel helperJasmine Hassan1-9/+9
http://git.gnome.org/browse/nautilus/commit/?id=bb145a018a9d66b748971e40be4e09a7f843b2be
2012-11-16[all] use g_list_free() and g_strcmp0 instead of eel functionsJasmine Hassan53-320/+302
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[editable-label] don't use deprecated size_request vfuncJasmine Hassan1-1/+41
http://git.gnome.org/browse/nautilus/commit/?id=12c7a03bfe3c49078cb5b44ff2651eb9ce1edce4
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[icon-container] remove size_request vfunc implJasmine Hassan1-10/+0
It doesn't seem to do anything useful. http://git.gnome.org/browse/nautilus/commit/?id=1cdd0b41bf9de69a93cb166636d7eccff9f5355f
2012-11-16[pathbar] don't use deprecated size_request vfuncJasmine Hassan1-13/+186
http://git.gnome.org/browse/nautilus/commit/?id=22cb1accd98c1ae10938eac10cc6beda8fb6b145
2012-11-16[general] use new GtkScrollable interfaceJasmine Hassan5-64/+98
http://git.gnome.org/browse/nautilus/commit/?id=d811553a4e74106efdf8bf6c91c6d29944ed6df7 canvas: use GTK_LAYOUT casts instead of going through the parent struct http://git.gnome.org/browse/nautilus/commit/?id=2260005986d8c620669e56c4b9f2fba12e8e0625
2012-11-16[fm-properties] use GtkComboBoxText in the GtkBuilder fileJasmine Hassan1-178/+69
http://git.gnome.org/browse/nautilus/commit/?id=18fc6dd2516f9091570902640032e68b263cfddf Also include subsequent commit: preferences: cleanup expand/fill flags Probably a change in GTK+ requires fixing this flags, so that the dialog doesn't look odd. http://git.gnome.org/browse/nautilus/commit/?id=6669f155734c320617bcf79f3b5d8f315f4886f9
2012-11-16[src] replace deprecated GtkComboBox text APIs with GtkComboBoxTextJasmine Hassan4-21/+22
[src] don't use GtkComboBox text APIs (#632651) They got replaced by GtkComboBoxText. Thanks to Mathias Clasen and Flo Gravo. http://git.gnome.org/browse/nautilus/commit/?id=f123f99bee1005cd279783f9d441f538fcf85542
2012-11-16[image-properties-page] call gdk_pixbuf_loader_close() earlierJasmine Hassan1-1/+4
This helps smaller images (>8192 bytes) to signal size_prepared before reading image geometry. (#558267) http://git.gnome.org/browse/nautilus/commit/?id=d3ab8e137ae957e5afef54bf0ec1e275b96caab5
2012-11-16[column-utilities] fix a TODO about a missing description stringJasmine Hassan1-2/+1
http://git.gnome.org/browse/nautilus/commit/?id=0f8dcf2ac394121c488afdf0fecc2b7afeb673b6
2012-11-16[column-utilities] disable SELinux column if !HAVE_SELINUXJasmine Hassan1-0/+2
http://git.gnome.org/browse/nautilus/commit/?id=b0550951f461c2033f4d1aaa4404078c7a70f220
2012-11-16[icon-view] if possible, use the local path for the previewJasmine Hassan1-1/+17
This solves issues where the audio previewer is not capable of understanding some GVfs URIs. (#624841) http://git.gnome.org/browse/nautilus/commit/?id=ebcbb167876f8b4491af0bc86bc29015c211b3af
2012-11-16[horizontal-splitter] remove, and use a regular GtkPaned insteadJasmine Hassan6-391/+4
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[editable-label] fix cairo drawing regressionsJasmine Hassan1-14/+21
http://git.gnome.org/browse/nautilus/commit/?id=407666719856127547f5c2f3f03f6a050858239a
2012-11-16[cell-renderer-text-ellipsized] use new GtkSizeRequest vfunctionsJasmine Hassan1-31/+57
This fixes the 'Name' column being too thin in list view. http://git.gnome.org/browse/nautilus/commit/?id=33c9b6d24a60079fe6c4c1be281c76f43def6fee
2012-11-16[build] fix distcheckJasmine Hassan2-0/+2
http://git.gnome.org/browse/nautilus/commit/?id=74a0311e65f2c9fc2d03967b0607633dcb652f88
2012-11-16[properties-window] split some long linesJasmine Hassan1-8/+32
http://git.gnome.org/browse/nautilus/commit/?id=64819695a13eb636df535e08e0eed6e896a8821c
2012-11-16[properties-window] don't use expose-event to draw the pie chartJasmine Hassan1-12/+50
Use GtkWidget::draw instead http://git.gnome.org/browse/nautilus/commit/?id=5ece5d67163e30a91e600d2f2bcf0d657d365dc4