[caja] 01/01: debian/patches: Add 0000_revert_add_column_autosizing.patch. Revert broken 'Adds columns autosizing' commit.
Vangelis Mouhtsis
gnugr-guest at moszumanska.debian.org
Wed Aug 30 04:49:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
gnugr-guest pushed a commit to branch parrot/3.7
in repository caja.
commit 0474846402fb4304930a3a09cc165c121e8ddb6e
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Tue Aug 29 20:40:20 2017 +0100
debian/patches: Add 0000_revert_add_column_autosizing.patch. Revert broken 'Adds columns autosizing' commit.
---
.../0000_revert_add_column_autosizing.patch | 33 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 34 insertions(+)
diff --git a/debian/patches/0000_revert_add_column_autosizing.patch b/debian/patches/0000_revert_add_column_autosizing.patch
new file mode 100644
index 0000000..88568c9
--- /dev/null
+++ b/debian/patches/0000_revert_add_column_autosizing.patch
@@ -0,0 +1,33 @@
+Author: Vlad Orlov <monsta at inbox.ru>
+Description: Revert "Adds columns autosizing". This reverts commit 2a424fca8bd928223e92570fa692266c471a52b3.
+
+diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
+index 155b3b20..85f6bad8 100644
+--- a/src/file-manager/fm-list-view.c
++++ b/src/file-manager/fm-list-view.c
+@@ -1766,7 +1766,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,
+@@ -1806,7 +1805,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);
+@@ -2779,6 +2777,9 @@ fm_list_view_set_zoom_level (FMListView *view,
+ gtk_cell_renderer_set_fixed_size (GTK_CELL_RENDERER (view->details->pixbuf_cell),
+ -1, icon_size);
+
++ /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=641518 */
++ gtk_tree_view_columns_autosize (view->details->tree_view);
++
+ fm_directory_view_update_menus (FM_DIRECTORY_VIEW (view));
+
+ gtk_tree_model_foreach (GTK_TREE_MODEL (view->details->model), list_view_changed_foreach, NULL);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3a9f387
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0000_revert_add_column_autosizing.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/caja.git
More information about the pkg-mate-commits
mailing list