1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

* Add post-release patch that reverts the columns autosizing. It makes

file-list view not very usefull, when dealing with long file names and
  not fullscreen.
* While here drop, obsolete patch.

Submitted by:	Barbara Guida <barbara.freebsd@gmail.com>
Obtained from:	caja upstream
This commit is contained in:
Koop Mast 2017-10-15 21:49:24 +00:00
parent 5cc91fb3fd
commit d49ac08021
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452166
3 changed files with 25 additions and 12 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= caja
PORTVERSION= 1.18.4
PORTREVISION= 1
CATEGORIES= x11-fm mate
MASTER_SITES= MATE
DIST_SUBDIR= mate

View File

@ -0,0 +1,24 @@
From 6ace67d382e7a138e86a5677dc4a999853d3ecdc Mon Sep 17 00:00:00 2001
From: monsta <monsta@inbox.ru>
Date: Thu, 31 Aug 2017 16:28:21 +0300
Subject: [PATCH] Revert "Adds columns autosizing"
This reverts commit ee0de1a5e74cbed5cf49517ea82a73e52dd6424a.
--- src/file-manager/fm-list-view.c.orig 2017-08-26 09:34:58 UTC
+++ src/file-manager/fm-list-view.c
@@ -1765,7 +1765,6 @@ create_and_set_up_tree_view (FMListView *view)
gtk_tree_view_column_set_sort_column_id (view->details->file_name_column, column_num);
gtk_tree_view_column_set_title (view->details->file_name_column, _("Name"));
gtk_tree_view_column_set_resizable (view->details->file_name_column, TRUE);
- gtk_tree_view_column_set_sizing(view->details->file_name_column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
gtk_tree_view_column_pack_start (view->details->file_name_column, cell, FALSE);
gtk_tree_view_column_set_attributes (view->details->file_name_column,
@@ -1805,7 +1804,6 @@ create_and_set_up_tree_view (FMListView *view)
column);
gtk_tree_view_column_set_resizable (column, TRUE);
- gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
}
g_free (name);
g_free (label);

View File

@ -1,12 +0,0 @@
--- src/file-manager/fm-properties-window.c.orig Mon May 14 20:58:01 2007
+++ src/file-manager/fm-properties-window.c Mon May 14 20:58:42 2007
@@ -89,9 +89,7 @@
#if HAVE_SYS_VFS_H
#include <sys/vfs.h>
#elif HAVE_SYS_MOUNT_H
-#if HAVE_SYS_PARAM_H
#include <sys/param.h>
-#endif
#include <sys/mount.h>
#endif