From bc1405c9f54e19e74f973581130229ef1053ff9c Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 2 Aug 2013 14:37:13 +0200 Subject: Support HiDpi icons Port the rendering of icons to cairo surfaces, so that we can apply the GDK scale factor when rendering icons. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/0d4555d7 --- src/caja-window-menus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/caja-window-menus.c') diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c index d425b6d7..890c9dac 100644 --- a/src/caja-window-menus.c +++ b/src/caja-window-menus.c @@ -1051,7 +1051,7 @@ add_extension_menu_items (CajaWindow *window, g_object_get (item, "menu", &menu, NULL); - action = caja_action_from_menu_item (item); + action = caja_action_from_menu_item (item, GTK_WIDGET (window)); gtk_action_group_add_action_with_accel (action_group, action, NULL); path = g_build_path ("/", POPUP_PATH_EXTENSION_ACTIONS, subdirectory, NULL); -- cgit v1.2.1