summaryrefslogtreecommitdiff
path: root/eel
AgeCommit message (Collapse)AuthorFilesLines
2019-12-23editable-label: Don't hyphenate filenamesraveit651-0/+11
more fixes for https://github.com/mate-desktop/caja/issues/1284 Pango 1.44 got the ability to automatically hyphenate on line breaks, which is on by default, but can be set off by a new attribute. As a result, we now hyphenate filenames, which is confusing, because a filename may already include hyphens. To restore the previous behavior, let's not insert hyphens when breaking filenames in multiple lines. Inspired by https://gitlab.gnome.org/GNOME/nautilus/commit/9738d85
2019-07-23Replace gdkpixbuf with cairo_surfaces in a few more placesVictor Kareh2-6/+5
2019-07-23eel-editable-label: Use 'memmove' instead of 'memcpy'Pablo Barciela1-1/+1
Fixes 'flawfinder' warning: (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data.
2019-07-23eel-editable-label: call argument with initialized valuePablo Barciela1-2/+2
Fixes Clang static analyzer warning: eel-editable-label.c:2624:9: warning: 2nd function call argument is an uninitialized value if (pango_layout_line_x_to_index (line, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-23eel-canvas: Fix warning: Undefined or garbage value returned to callerPablo Barciela1-1/+1
Fixes Clang static analyzer warning: eel-canvas.c:3426:9: warning: Undefined or garbage value returned to caller return item; ^~~~~~~~~~~
2019-03-06eel-gdk-pixbuf-extensions: Fix division by zeroPablo Barciela1-3/+12
Fixes Clang static analyzer warning: eel-gdk-pixbuf-extensions.c:403:29: warning: Division by zero *dest++ = r / n_pixels; ~~^~~~~~~~~~
2019-03-05[Security] eel-string: Use 'g_strlcat' instead of 'strcat'Pablo Barciela1-2/+2
to avoid warnings with Clang Analyzer
2019-01-22[eel][libegg] Use G_DEFINE_TYPE_WITH_PRIVATE macroWu Xiaotian4-8/+4
Replace G_DEFINE_TYPE_WITH_CODE with G_DEFINE_TYPE_WITH_PRIVATE macro
2019-01-12[eel] Avoid deprecated g_type_class_add_privateWu Xiaotian8-35/+25
With minimal changes to avoid deprecated g_type_class_add_private
2018-12-01eel-gtk-extensions: Fix memory leaksPablo Barciela1-2/+9
'g_strconcat' needs to be freed
2018-06-21eel-gtk-extensions: show icons in right-click menus only if ↵lukefromdc1-2/+9
"menus-have-icons" set
2018-06-05avoid deprecated 'gtk_widget_override_font'Pablo Barciela1-1/+5
2018-05-16Pathbar button: fix poor response to right-clicklukefromdc1-1/+1
Fix https://github.com/mate-desktop/caja/issues/996
2018-05-16editable-label: avoid deprecated 'gtk_im_multicontext_append_menuitems'Pablo Barciela1-15/+1
drop "Input Methods"
2018-05-14eel-editable-label.c: avoid deprecated 'gdk_keymap_get_default'Pablo Barciela1-5/+5
2018-05-13eel-editable-label: avoid deprecated gtk_style_context_set_backgroundPablo Barciela1-15/+0
2018-05-10eel-gtk-extensions: replace deprecated gtk_menu_popup functionraveit652-37/+2
2018-05-07Replace deprecated gtk_menu_popupraveit651-37/+2
Replace deprecated gtk_menu_popup in eel-editable-label,caja-dnd, emblem-sidebar,caja-side-pane, fm-tree-view, caja-navigation-window-pane, and caja-zoom-control
2018-05-05avoid deprecated 'gtk_style_context_get_background_color'Pablo Barciela3-8/+37
2018-04-07caja-spatial-window.c: avoid deprecated GtkImageMenuItemPablo Barciela2-0/+27
avoid deprecated: gtk_image_menu_item_set_always_show_image gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-04-04HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh2-0/+17
This allows icons in most places to scale up properly for HiDPI displays.
2018-04-04Scale screen dimensionsVictor Kareh3-11/+30
2018-03-27rename 'mate_image_menu_item...' to 'eel_image_menu_item_new_from_icon'Pablo Barciela3-31/+36
2018-03-26eel-editable-label.c: avoid 'append_action_signal' with stock idsPablo Barciela1-3/+3
2018-03-23avoid 'gtk_file_chooser_dialog_new' with stock idsPablo Barciela2-0/+62
2018-03-12avoid gtk_dialog_add_buttons with stock idsPablo Barciela2-2/+4
2018-03-03rename mate_dialog_add_button to eel_dialog_add_buttonPablo Barciela2-12/+16
2018-03-01avoid eel_create_question_dialog with stock idsPablo Barciela1-1/+13
2018-02-27avoid eel_run_simple_dialog with stock idsPablo Barciela1-1/+6
2018-02-27eel-stock-dialogs: avoid gtk_dialog_add_button with stock idsPablo Barciela1-2/+24
2018-02-21eel-editable-label.c: avoid gtk_image_menu_item_new_from_stockPablo Barciela1-7/+34
and add icon to "Select All"
2018-02-13fix backgrounds and emblems dialog content renderinglukefromdc1-0/+8
Fix https://github.com/mate-desktop/caja/issues/506 Redraw the contents once and exactly once at intial run of eel_wrap_table_draw to get them to show up immediately.
2018-02-09avoid deprecated GtkStockPablo Barciela2-4/+4
2018-01-31require GTK+ 3.22 and GLib 2.50monsta7-189/+3
2018-01-19Include local files with "" instead of <>Jan Niklas Hasse1-1/+1
2018-01-09remove +x attr from source filesmonsta1-0/+0
fallout from last commit
2018-01-08ui: don't use overlay-scrollbarsraveit651-0/+3
make it consistent with behaviour for caja-places-sidebar
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela3-55/+13
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-09-01Fix: high cpu while loading background imageZenWalker1-0/+8
Fixes #606
2017-08-28make sure scaling the desktop wallpaper works in all monitorsZenWalker1-4/+20
Fixes #836
2017-08-25gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+5
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-08-21Fix: Scaling the desktop wallpaper doesn't workZenWalker1-6/+10
Fixes https://github.com/mate-desktop/caja/pull/824#issuecomment-323568583
2017-08-12avoid deprecated gdk_screen_width/heightZenWalker2-7/+25
2017-08-12avoid deprecated gdk_screen_get_width/heightZenWalker2-4/+9
2017-04-17eel-accessibility: remove unused code and outdated commentsmonsta2-112/+0
2017-04-17show correct right-click menu after making selectionmonsta1-0/+1
taken from: https://git.gnome.org/browse/nautilus/commit/?id=fabea8532911c2e38d91aa6230136cff5e52f095 upstream bug with detailed description: https://bugzilla.gnome.org/704289
2017-04-13eel: Queue resizes on the canvas as elements change visibilityraveit651-1/+18
Not queueing resizes may play oddly with the size request caches in GTK+, resulting in gtk_widget_get_preferred_width/height returning 0 even after the canvas was populated. https://bugzilla.gnome.org/show_bug.cgi?id=667831 Taken from: https://git.gnome.org/browse/nautilus/commit/?id=8c77821
2017-04-10eel: remove unneeded #include with conditionmonsta1-4/+0
2017-04-10eel: remove some unused code from eel-gdk-pixbuf-extensionsmonsta3-1133/+0
also remove self-test, it only tested the removed functions
2017-03-13eel: Avoid deprecated gdk_window_set_background functionsAlexei Sorokin2-46/+117
Fixes partially #506, fixes compiz-reloaded/compiz#40.