summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2016-01-13GTK3 notebook: port to GtkStyleContextWolfgang Ulbrich1-0/+27
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=bc5d290
2016-01-13GTK3 location-bar: port to GtkStyleContextWolfgang Ulbrich1-0/+16
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=5fc40ad
2016-01-13GTK3 properties-window: port to GtkStyleContextWolfgang Ulbrich1-4/+80
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=8e5689
2016-01-13GTK3 list-view: port to GtkStyleContextWolfgang Ulbrich1-0/+15
2016-01-13Gtk3 tree-view-drag-dest: port to GtkStyleContextWolfgang Ulbrich1-4/+5
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=f8bdf9c
2016-01-13Gtk3 caja-sidebartitle: partial-port-to-GtkStyleContextWolfgang Ulbrich1-1/+104
2016-01-13GTK3 icon-container: fix rendering of text on the desktopWolfgang Ulbrich2-8/+8
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=2e5f7a23350016c67bb9e9cca86a9fb2360d79e2
2016-01-13GTK3 icon-container: port to GtkStyleContextWolfgang Ulbrich3-7/+247
taken from: https://git.gnome.org/browse/nautilus/commit/?id=4f23a0a
2016-01-13GTK3 icon-canvas-item: port to GtkStyleContextWolfgang Ulbrich1-16/+74
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=fc74332
2016-01-13GTK3 file-conflict-dialog: port to GtkStyleContextWolfgang Ulbrich1-1/+23
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=5da941e
2016-01-13GTK3 eel-gdk-pixbuf: use GdkRGBA everywhereWolfgang Ulbrich4-0/+42
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=020adaf
2016-01-13GTK3 editable-label: port to GtkStyleContextWolfgang Ulbrich1-24/+152
There are still some rendering artifacts, but we will fix them later. (maybe) taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=d6e07c7
2016-01-13Gtk3 eel-canvas: port to GtkStyleContextWolfgang Ulbrich1-1/+5
2016-01-13GTK3 eel-canvas-rect: use RGBA colors onlyWolfgang Ulbrich2-0/+88
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=f0691e7
2016-01-13GTK3 icon-dnd: fix DnD highlighting regressionWolfgang Ulbrich1-1/+11
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=7bd06fa
2016-01-13GTK3 eel-gdk-extensions: add eel_make_color_inactive() to public APIWolfgang Ulbrich2-0/+35
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=42e7268