summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-21GTK3 editable-label: don't use deprecated gtk_draw_insertion_cursor()Wolfgang Ulbrich1-46/+81
+ reduce if define hell a bit taken from: https://git.gnome.org/browse/nautilus/commit/?id=377349b
2016-01-19GTK3 mime-application-chooser: don't use deprecated gtk_hbutton_box_newWolfgang Ulbrich1-0/+4
2016-01-19GTK3 fm-list-view: don't use deprecated gtk_tree_view_set_rules_hintWolfgang Ulbrich1-0/+2
2016-01-19GTK3: don'use deprecated gtk_hseparator_newWolfgang Ulbrich2-3/+11
2016-01-19GTK3 eel-wrap-table: don't use deprecated gtk_viewport_get_{h/v}adjustmentWolfgang Ulbrich1-0/+5
2016-01-19GTK: some missing GTK_TYPE_{H/V}BOX adjustmentsWolfgang Ulbrich8-1/+64
this completes https://github.com/mate-desktop/caja/commit/cf39567
2016-01-18fix fg-color of dark themesWolfgang Ulbrich1-3/+2
fixes https://github.com/mate-desktop/caja/issues/81
2016-01-18GTK3: fix deprecated GTK_TYPE_{H/V}BOX usageWolfgang Ulbrich7-2/+53
2016-01-18GTK3 icon-info: don't use deprecated gtk_icon_info_freeWolfgang Ulbrich1-4/+16
taken from: https://git.gnome.org/browse/nautilus/commit/?id=67028ca
2016-01-18GTK3 desktop-icon-view: don't use deprecated GDK grab APIWolfgang Ulbrich1-0/+40
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-2&id=70df8fa
2016-01-18GTK3 canvas: don't use deprecated GDK grab APIWolfgang Ulbrich2-1/+62
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-2&id=2ff006d
2016-01-17GTK3: more deprecated GtkVBox/GtkHBox fixesWolfgang Ulbrich7-3/+60
2016-01-17GTK3 connect-to-server-dialog: reduce if define hellWolfgang Ulbrich1-38/+16
2016-01-15GTK3 all: don't use deprecated GDK pointer methodsWolfgang Ulbrich6-1/+59
Use the new GdkDevice methods instead. taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=a816e00 https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-4&id=cdf858f
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