summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-04-08Add sort criterion by reversed extension segmentsMoritz Bruder4-0/+28
The basenames of files are split by dots and then starting from the end each segment is compared to find a sort order. Example: bar.tar.bz2 foo.tar.bz2 a.bar.gz x.tar.gz z.tar.gz test.tex A heuristic determines what extension segments are part of the extension. There is probably no perfect solution but there are much less false positives. As a result the sorting is more intuitive and the displayed column in the list view is better readable and displays extensions more accurately. In addition a bug related to the default sort criteria in the preferences has been fixed.
2018-04-08set icon names instead stock ids in some placesPablo Barciela3-6/+6
2018-04-07caja-spatial-window.c: avoid deprecated GtkImageMenuItemPablo Barciela1-54/+46
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-06Fix warnings from HiDPI commitslukefromdc1-0/+4
*caja-pathbar: fix warning,and in the process maybe fix occasional segfaults on opening mounted volumes from the desktop *caja-icon-info: Stop gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed warning by handling NULL return from function finding the pixbuf caja-icon-canvas-item-c: do not use g_object_unref where it does not work Stop the g_object_unref: assertion 'G_IS_OBJECT (object)' failed warnings on closing icon views
2018-04-04sidebar: Respect sidebar dimensions on HiDPIVictor Kareh2-2/+10
2018-04-04HiDPI: Convert Pixbufs to Cairo SurfacesVictor Kareh11-170/+183
This allows icons in most places to scale up properly for HiDPI displays.
2018-04-04general: use gdk_monitor_get_scale_factorAlexandru Pandelea1-1/+1
As it is deprecated, instead of using gdk_screen_get_monitor_scale_factor use gdk_monitor_get_scale_factor(). https://bugzilla.gnome.org/show_bug.cgi?id=779774 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/273e6efc
2018-04-04list-view: use the cairo surface as a drag iconCosimo Cecchi1-11/+8
As we now store surfaces in the GtkListStore, we have to change the drag method to use it instead of a pixbuf. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/18a380af
2018-04-04Scale screen dimensionsVictor Kareh3-8/+18
2018-04-04properties-window: support HiDpi for the properties window iconCosimo Cecchi1-17/+10
This was missing from the last commit. origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/3a6053f1
2018-04-04Support HiDpi iconsCosimo Cecchi21-63/+155
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
2018-04-04desktop-canvas-view: scale desktop workareaAndrea Azzarone1-4/+8
The problem is that in the function canvas_container_set_workarea the screen width and height are in "application pixels" while the workarea ones are in "device pixels" so when the scaling is > 1, the margins are not properly setted. We need to scale-down the workarea geometries to "application pixels". https://bugzilla.gnome.org/show_bug.cgi?id=769302 origin commit: https://gitlab.gnome.org/GNOME/nautilus/commit/315a55df
2018-04-02caja-side-pane.c: avoid deprecated GtkImageMenuItemPablo Barciela1-4/+6
avoid deprecated: gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-03-31caja-navigation-window-pane.c: avoid deprecated GtkImageMenuItemPablo Barciela1-7/+9
avoid deprecated: gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-03-31caja-navigation-window-menus.c: drop unused variablePablo Barciela1-8/+0
Fixes https://github.com/mate-desktop/caja/pull/965#issuecomment-377716724
2018-03-31caja-navigation-window-menus.c: avoid deprecated GtkImageMenuItemPablo Barciela1-3/+0
avoid deprecated 'gtk_image_menu_item_set_always_show_image'
2018-03-31caja-bookmark: avoid deprecated GtkImageMenuItemPablo Barciela1-0/+3
avoid deprecated: gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-03-31caja-places-sidebar.c: avoid deprecated GtkImageMenuItemPablo Barciela1-17/+19
avoid deprecated: gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image
2018-03-30caja-emblem-sidebar.c: avoid deprecated GtkImageMenuItemPablo Barciela1-9/+7
avoid deprecated: gtk_image_menu_item_new_with_label gtk_image_menu_item_set_image gtk_image_menu_item_new_from_stock
2018-03-30fm-tree-view.c: drop unused variablePablo Barciela1-1/+1
Fixes https://github.com/mate-desktop/caja/pull/956#issuecomment-377222055
2018-03-27fm-tree-view.c: avoid deprecated GtkImageMenuItemPablo Barciela1-32/+14
avoid deprecated: gtk_image_menu_item_new_from_stock gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-03-23caja-query-editor.c: add #include <eel/eel-stock-dialogs.h>Pablo Barciela1-0/+1
Fixes https://github.com/mate-desktop/caja/pull/950#issuecomment-375567705
2018-03-23avoid 'gtk_file_chooser_dialog_new' with stock idsPablo Barciela2-10/+10
2018-03-17avoid gtk_dialog_new_with_buttons with stock idsPablo Barciela5-61/+124
2018-03-12avoid gtk_dialog_add_buttons with stock idsPablo Barciela4-20/+38
2018-03-05caja-file-management-properties.ui: avoid deprecated GtkVBox and GtkHBoxPablo Barciela1-56/+98
2018-03-05caja-bookmarks-window.ui: avoid deprecated:Pablo Barciela1-22/+15
avoid deprecated GtkVBox, GtkHBox and GtkLabel:xpad/ypad
2018-03-01avoid eel_create_question_dialog with stock idsPablo Barciela3-4/+4
2018-02-27avoid eel_run_simple_dialog with stock idsPablo Barciela1-1/+1
2018-02-26remove runtime warning in usage of caja_clipboard_set_up_editablezhangwen21-1/+1
2018-02-23avoid deprecated GtkButton:use-stockPablo Barciela1-11/+5
2018-02-22can selected all the search keywords with Ctrl+a. #918张雯3-3/+13
2018-02-19caja-file-management-properties.ui: avoid stock properties:Pablo Barciela1-56/+68
avoid deprecated GtkImage:stock and GtkButton:use-stock
2018-02-19Toolbar: find icon: use icon name instead the stock idPablo Barciela1-1/+1
2018-02-18caja-bookmarks-window.ui: avoid deprecated GtkButton:use-stockPablo Barciela1-118/+137
2018-02-17CAJA_TYPE_NAVIGATION_ACTION: avoid deprecated property "stock_id"Pablo Barciela1-2/+2
2018-02-09avoid deprecated GtkStockPablo Barciela16-201/+210
2018-01-31require GTK+ 3.22 and GLib 2.50monsta28-268/+14
2018-01-26Fix tasklist icon change when opening new tabbl0ckeduser1-0/+3
Fixes #719
2018-01-19Include local files with "" instead of <>Jan Niklas Hasse2-3/+5
2018-01-15add missing window icon to About dialog for extensionsmonsta1-0/+1
2018-01-14move libegg to the top srcdir and drop some leftoversmonsta2-2/+0
2018-01-09update copyright year to 2018monsta1-1/+1
2018-01-09remove +x attr from source filesmonsta7-0/+0
fallout from last commit
2018-01-08ui: don't use overlay-scrollbarsraveit657-0/+27
make it consistent with behaviour for caja-places-sidebar
2018-01-01places-sidebar: show user's home dir when it is also the desktoplukefromdc1-25/+25
Current behavior is to show Desktop but hide the user's home directory in the sidebar when desktop-is-home-directory is set. This is opposite what would be expected so invert it. Patch by https://github.com/TomaszGasior
2018-01-01caja-file-management-properties.c: Fix build warning:Pablo Barciela1-1/+1
passing argument 2 of ‘gtk_about_dialog_set_authors’ from incompatible pointer type
2017-12-31places-sidebar: remove duplicate functionlukefromdc1-3/+0
This is already handled in libcaja-private/caja-file-operations.c
2017-12-16WidthOfScreen and HeightOfScreen implementationPablo Barciela3-22/+10
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-12-14Fix #880 and fix refusal to unmount when sidebar is widelukefromdc1-44/+23
caja-places-sidebar: revert all kludges for eject behavior: Revert https://github.com/mate-desktop/caja/commit/d14fef384a435471860130f7337d5dea5bb824a0 https://github.com/mate-desktop/caja/commit/9b2e152876067aaee3baa699c51c6c6174d4954e and https://github.com/mate-desktop/caja/commit/30f19d0aed3e40a3682f820059ebb8b3038ba84e the last being a subset of a commit we'll apply later caja-places-sidebar: fix eject button hover, eject behavior Apply https://github.com/GNOME/nautilus/commit/f294a4e80626793624d76d6002b094d1c0809de4 "Fix up eject button hover in places sidebar" We were calling gtk_tree_view_column_cell_get_position() without properly loading the cell attribute for the right row before. We fix this by calling gtk_tree_view_column_cell_set_cell_data(). With this in place we can also use the x_offset for the position and avoid the whole summing of widths. Due to a bug in Gtk which expands the eject icon cell renderer we have to right align it so that it lines up properly. https://bugzilla.gnome.org/show_bug.cgi?id=640741 caja-places-sidebar: disable overlay scrollbar disable overlay scrollbars as they force the use of too much padding