summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-15don't use deprecated gdk_cursor_new for both toolkit versionsWolfgang Ulbrich4-8/+16
gdk_cursor_new i deprecated with gtk+-3.16 and gdk_cursor_new_for_display is available since 2.2
2016-01-15GTK3 test-caja-wrap-table: don't use deprecated ↵Wolfgang Ulbrich1-2/+7
gtk_scrolled_window_add_with_viewport () gtk_scrolled_window_add_with_viewport () --> gtk_container_add ()
2016-01-15GTK3 general: don't use gdk_cursor_unref()Wolfgang Ulbrich6-2/+24
taken from: https://git.gnome.org/browse/nautilus/commit/?id=74a8f78
2016-01-15GTK3 icon-canvas-item: add a missing gtk_style_context_restore()Wolfgang Ulbrich1-0/+2
taken from: https://git.gnome.org/browse/nautilus/commit/?id=8296f8c
2016-01-15GTK3 eel-editable-label: don't use deprecated gtk_widget_get_requisition ()Wolfgang Ulbrich1-0/+4
gtk_widget_get_requisition () --> gtk_widget_get_preferred_size ()
2016-01-15GTK3: don't use deprecated gdk_threads_{enter/leave} ()Wolfgang Ulbrich4-4/+22
Since we don't ever call gdk_threads_init()
2016-01-15Revert "define max/min version of GLib"Wolfgang Ulbrich2-8/+2
To avoid a glib redefine of a version defined by glib itself, which spams only the build log and nobody takes care of it. This reverts commit 3e9b28b2ebc9579bc868e2a8d1dc2d6f6b568c68.
2016-01-15GTK3: don't use deprecated gtk_widget_size_requestWolfgang Ulbrich5-14/+26
gtk_widget_size_request --> gtk_widget_get_preferred_size
2016-01-14Small additional for closing tabs with middle-clickbl0ckeduser1-1/+1
fixes https://github.com/mate-desktop/caja/issues/457
2016-01-13Merge pull request #498 from mate-desktop/dev-GtkStyleContextWolfgang Ulbrich28-175/+1236
port to gtk_style_context and other fixes
2016-01-13GTK3 file-conflict-dialog: don't use override_fontWolfgang Ulbrich1-18/+14
Set the PangoAttributeList on the GtkLabel instead. and 'don't force a size request on the labels' This is not required anymore in GTK+ 3 taken from: https://git.gnome.org/browse/nautilus/commit/?id=52b8185 https://git.gnome.org/browse/nautilus/commit/?id=b8077a7 https://git.gnome.org/browse/nautilus/commit/?id=1457f53
2016-01-13GTK3 icon-container: invalidate the layout cache on style-updatedWolfgang Ulbrich1-1/+1
This way label sizes will be recomputed if e.g. DPI settings change. https://bugzilla.gnome.org/show_bug.cgi?id=578468 taken from: https://git.gnome.org/browse/nautilus/commit/?id=2f064e5
2016-01-13GTK3 icon-container: don't chain up style-updated for the desktop containerWolfgang Ulbrich1-3/+14
Chaining up resets the background to the default color, which is not what we want for the desktop container. Fixes https://github.com/mate-desktop/caja/issues/445 taken from: https://git.gnome.org/browse/nautilus/commit/?id=83a7d27
2016-01-13GTK3 icon-container: use the "rubberband" style class for the selection itemWolfgang Ulbrich1-43/+78
Instead of using a custom style property. Autor: lukefromdc same as: https://git.gnome.org/browse/nautilus/commit/?id=ca7f81e2
2016-01-13GTK3 icon-canvas-item: don't override parent container style flagsWolfgang Ulbrich1-17/+10
When drawing the canvas item elements, don't override the parent container style flags, so we don't lose e.g. backdrop information. taken from: https://git.gnome.org/browse/nautilus/commit/?id=31dad6f
2016-01-13GTK3 icon-canvas-item: don't draw pango layouts when renamingWolfgang Ulbrich1-2/+4
Fixes a regression introduced in commit 3a858857fff5e1d7e0bffcec63fea6d2a933ce27 that causes unwanted text to be drawn while renaming a file in icon view. taken from: https://git.gnome.org/browse/nautilus/commit/?id=f07aa75
2016-01-13GTK3 icon-canvas-item: render the additional text with gtk_render_layout()Wolfgang Ulbrich1-4/+31
And add a style class for it. taken from: https://git.gnome.org/browse/nautilus/commit/?id=7732a6b https://git.gnome.org/browse/nautilus/commit/?id=2cb91c0
2016-01-13GTK3 icon-container: remove unused code caching canvas item colorsWolfgang Ulbrich2-131/+18
Caching colors in CajaIconContainer to use them in the canvas item is not needed anymore, as gtk_render_* fetches the right values directly from the style context. taken from: https://git.gnome.org/browse/nautilus/commit/?id=77eecef
2016-01-13GTK3 icon-canvas-item: use gtk_render_* methods instead of direct cairoWolfgang Ulbrich1-142/+243
Instead of hardcoding colors and using direct cairo calls to draw the canvas items frame/background/labels, use gtk_render_* methods directly. This has the advantage of making them more friendly with GTK+ themes (by adding a caja-canvas-item style class to the canvas context when drawing) and removes a ton of convolut taken from: https://git.gnome.org/browse/nautilus/commit/?id=95910c9
2016-01-13GTK3 editable-Label: render backgroundWolfgang Ulbrich1-4/+9
Without this the rename widget background is always transparent, which makes it very hard to read on e.g. the desktop with a background image. taken from: https://git.gnome.org/browse/nautilus/commit/?id=c3b2b0a
2016-01-13GTK3 editable-label: fix selection color in backdrop stateWolfgang Ulbrich1-3/+2
Don't set the ACTIVE flag if we don't have focus, it just doesn't make sense. taken from: https://git.gnome.org/browse/nautilus/commit/?id=845d3fc
2016-01-13GTK3 editable-label: use GTK_STYLE_CLASS_ENTRYWolfgang Ulbrich1-0/+4
Because that's what it is actually... taken from: https://git.gnome.org/browse/nautilus/commit/?id=e54ace0
2016-01-13GTK3 editable-label: use gtk_render_frame() instead of hardcoding a strokeWolfgang Ulbrich1-10/+8
This allows the stroke to use rounded corners and border images, among other things. taken from: https://git.gnome.org/browse/nautilus/commit/?id=b143b95
2016-01-13GTK3 editable-label: don't hardcode black for the insertion cursorWolfgang Ulbrich1-4/+10
Use the theme foreground/text color instead. taken from: https://git.gnome.org/browse/nautilus/commit/?id=f9383ac
2016-01-13GTK3 editable-label: make sure to size_request the padding set on the labelWolfgang Ulbrich1-0/+9
And not the alignment, which is an offset inside the allocated size. taken from: https://git.gnome.org/browse/nautilus/commit/?id=8b87a3e
2016-01-13GTK3 icon-canvas-item: make the icon frame transparent when not prelitWolfgang Ulbrich1-10/+5
This fixes icons on the desktop appearing weird taken from: https://git.gnome.org/browse/nautilus/commit/?id=6a11ecd
2016-01-13GTK3 editable-label: chain up in style_updated()Wolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/nautilus/commit/?id=fbabd8e
2016-01-13GTK3 editable-label: fix some drawing regressionsWolfgang Ulbrich1-219/+10
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=6d079cc
2016-01-13GTK3 general: use eel_create_spotlight_pixbuf()Wolfgang Ulbrich3-0/+25
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=8b13a04
2016-01-13GTK3 icon-canvas-item: remove an useless snippet of drawing codeWolfgang Ulbrich1-11/+1
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=09f0b79
2016-01-13GTK3 icon-container: remove unused style propertiesWolfgang Ulbrich2-46/+3
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=e652eb0
2016-01-13GTK3 icon-container: hook to style_updated instead of style_setWolfgang Ulbrich1-6/+13
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=a083fa0
2016-01-13GTK3 icon-canvas-item: use eel_create_spotlight_pixbuf()Wolfgang Ulbrich1-6/+7
Instead of passing eel_pixbuf_render() always the same values taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=a1fa4ea
2016-01-13GTK3 icon-container: fix setting the selection when renamingWolfgang Ulbrich1-1/+9
Closes: bgo #642766 taken from: https://git.gnome.org/browse/nautilus/commit/?id=a8a5b8d
2016-01-13GTK3 icon-container: fix a couple of ACTIVE -> NORMAL typosWolfgang Ulbrich1-3/+3
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=d0d9059
2016-01-13GTK3 icon-container: remove useless theming propertiesWolfgang Ulbrich2-32/+41
taken from: https://git.gnome.org/browse/nautilus/commit/?id=e2ca42cac78cb0287a1bbb73030e7bba8b171970
2016-01-13GTK3 icon-container: plug a memory leakWolfgang Ulbrich1-1/+6
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=f394ce8
2016-01-13GTK3 icon-container: fix rendering of text on the desktopWolfgang Ulbrich1-2/+5
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=2e5f7a2
2016-01-13GTK3 icon-container: don't malloc() GdkRGBA colors manuallyWolfgang Ulbrich1-7/+7
As GdkRGBA might or might not use internally a different allocator, like g_slice. This should fix some memory corruption issues, thanks to Alban Browaeys for tracking down the bug. taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=4c026bf
2016-01-13GTK3 icon-dnd: set the right style class, and use GdkRGBAWolfgang Ulbrich1-3/+20
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=5d811bb
2016-01-13Gtk3 tree-drag-dest: set the right style classWolfgang Ulbrich1-1/+11
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=18e3369
2016-01-13GTK3 icon-canvas-item: set the right style classWolfgang Ulbrich1-1/+15
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=0668960
2016-01-13GTK3 editable-label: use gtk_style_context_get() to query standard propsWolfgang Ulbrich1-4/+7
Also, fix a leak. taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=ef8544b
2016-01-13GTK3 icon-info: plug a leakWolfgang Ulbrich1-1/+7
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=705d814
2016-01-13GTK3 editable-label: copy-paste code from GTK+ to sync drawing with GtkLabelWolfgang Ulbrich1-3/+220
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=ca9f8d8 https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=e3feaf8 https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=caa55b7
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 eel-gtk-extensions: do not use gtk_widget_modify_fontWolfgang Ulbrich1-1/+5
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=b5302eb
2016-01-13GTK3 eel-gdk-extensions: port to GtkStyleContextWolfgang Ulbrich2-17/+42
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=1d3dd96
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
2016-01-13GTK3 spatial-window: port to GtkStyleContextWolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=507b56e3a527e28117b259dbf0dce48f1656dd7d