[arch-commits] Commit in thunar/trunk (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 6 11:46:37 UTC 2012
Date: Tuesday, November 6, 2012 @ 06:46:37
Author: foutrelis
Revision: 170253
upgpkg: thunar 1.4.0-4
Remove workaround now that GVFS is patched for FS#32325: Duplicate entries for mounted volumes in file manager
Modified:
thunar/trunk/PKGBUILD
Deleted:
thunar/trunk/thunar-1.4.0-dont-add-duplicates-of-devices.patch
---------------------------------------------------+
PKGBUILD | 8 --
thunar-1.4.0-dont-add-duplicates-of-devices.patch | 59 --------------------
2 files changed, 1 insertion(+), 66 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-06 11:45:54 UTC (rev 170252)
+++ PKGBUILD 2012-11-06 11:46:37 UTC (rev 170253)
@@ -4,7 +4,7 @@
pkgname=thunar
pkgver=1.4.0
-pkgrel=3
+pkgrel=4
pkgdesc="Modern file manager for Xfce"
arch=('i686' 'x86_64')
url="http://thunar.xfce.org"
@@ -23,19 +23,13 @@
options=('!libtool')
install=$pkgname.install
source=(http://archive.xfce.org/src/xfce/$pkgname/1.4/Thunar-$pkgver.tar.bz2
- thunar-1.4.0-dont-add-duplicates-of-devices.patch
thunar-1.4.0-show-loop-devices-hack.patch)
sha256sums=('2c11a19e64cef708a264fb4d5d933389899c3d132fe7b1e313dd6e37bfe4c8ba'
- 'c25f86a4c298c24327b0681702167aea9f9d712a738c8f3883f5d66da7f08f19'
'185c44db9bdf578d22cb69b81dce7fcc3e2ee6031b1547de6453ff0752dbc97e')
build() {
cd "$srcdir/Thunar-$pkgver"
- # https://bugzilla.xfce.org/show_bug.cgi?id=9440
- # Backport of http://git.xfce.org/xfce/thunar/commit/?id=70a4301
- patch -Np1 -i "$srcdir/thunar-1.4.0-dont-add-duplicates-of-devices.patch"
-
# Fix: Loop devices not appearing in Thunar side pane
# https://bugs.archlinux.org/task/29894
# https://bugzilla.xfce.org/show_bug.cgi?id=8947
Deleted: thunar-1.4.0-dont-add-duplicates-of-devices.patch
===================================================================
--- thunar-1.4.0-dont-add-duplicates-of-devices.patch 2012-11-06 11:45:54 UTC (rev 170252)
+++ thunar-1.4.0-dont-add-duplicates-of-devices.patch 2012-11-06 11:46:37 UTC (rev 170253)
@@ -1,59 +0,0 @@
-diff -uprb Thunar-1.4.0.orig/thunar/thunar-shortcuts-model.c Thunar-1.4.0/thunar/thunar-shortcuts-model.c
---- Thunar-1.4.0.orig/thunar/thunar-shortcuts-model.c 2012-11-03 07:42:39.000000000 +0200
-+++ Thunar-1.4.0/thunar/thunar-shortcuts-model.c 2012-11-03 08:13:25.000000000 +0200
-@@ -1221,11 +1221,25 @@ thunar_shortcuts_model_volume_added (GVo
- GVolume *volume,
- ThunarShortcutsModel *model)
- {
-+ GList *lp;
-+ gint idx;
-+
- _thunar_return_if_fail (G_IS_VOLUME_MONITOR (volume_monitor));
- _thunar_return_if_fail (model->volume_monitor == volume_monitor);
- _thunar_return_if_fail (G_IS_VOLUME (volume));
- _thunar_return_if_fail (THUNAR_IS_SHORTCUTS_MODEL (model));
-
-+ /* check that the volume is not in the internal list already */
-+ if (g_list_find (model->hidden_volumes, volume) != NULL)
-+ return;
-+
-+ /* nor in the list of visible volumes */
-+ for (idx = 0, lp = model->shortcuts; lp != NULL; ++idx, lp = lp->next)
-+ {
-+ if (THUNAR_SHORTCUT (lp->data)->volume == volume)
-+ return;
-+ }
-+
- /* place the volume on the hidden list */
- model->hidden_volumes = g_list_prepend (model->hidden_volumes, g_object_ref (volume));
-
-diff -uprb Thunar-1.4.0.orig/thunar/thunar-tree-model.c Thunar-1.4.0/thunar/thunar-tree-model.c
---- Thunar-1.4.0.orig/thunar/thunar-tree-model.c 2012-11-03 07:42:39.000000000 +0200
-+++ Thunar-1.4.0/thunar/thunar-tree-model.c 2012-11-03 08:09:36.000000000 +0200
-@@ -1127,11 +1127,26 @@ thunar_tree_model_volume_added (GVolumeM
- GVolume *volume,
- ThunarTreeModel *model)
- {
-+ ThunarTreeModelItem *item = NULL;
-+ GNode *node;
-+
- _thunar_return_if_fail (G_IS_VOLUME_MONITOR (volume_monitor));
- _thunar_return_if_fail (model->volume_monitor == volume_monitor);
- _thunar_return_if_fail (G_IS_VOLUME (volume));
- _thunar_return_if_fail (THUNAR_IS_TREE_MODEL (model));
-
-+ /* check that the volume is not in the internal list already */
-+ if (g_list_find (model->hidden_volumes, volume) != NULL)
-+ return;
-+
-+ /* nor in the list of visible volumes */
-+ for (node = model->root->children; node != NULL; node = node->next)
-+ {
-+ item = THUNAR_TREE_MODEL_ITEM (node->data);
-+ if (item->volume == volume)
-+ return;
-+ }
-+
- /* place the volume on the hidden list */
- model->hidden_volumes = g_list_prepend (model->hidden_volumes, g_object_ref (volume));
-
More information about the arch-commits
mailing list