summaryrefslogtreecommitdiff
path: root/extra/thunar
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-20 11:12:20 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-20 11:12:20 -0300
commit5c0a5f2b9fa7f1683f279728342aa7f5f0cf90a3 (patch)
treea55da6178b48e7abe9508505d3e92cf02a03da52 /extra/thunar
parentc56b2c50f5748090efb9f10f2a021e57a2455764 (diff)
parent1a136cf48dd7f710f38ff998182508f5a0d41c35 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/comix/PKGBUILD community/geany/PKGBUILD community/gnome-do-docklets/PKGBUILD community/gnome-do-plugins/PKGBUILD community/gnome-system-tools/PKGBUILD community/gnustep-make/PKGBUILD community/gtweakui/PKGBUILD community/hwinfo/PKGBUILD community/kungfu/PKGBUILD community/liboauth/PKGBUILD community/liboobs/PKGBUILD community/lua-lzlib/PKGBUILD community/mcdp/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-runtime/PKGBUILD community/mplayer2/PKGBUILD community/pdf2svg/PKGBUILD community/perl-data-dumper/PKGBUILD community/perl-digest-md5/PKGBUILD community/perl-perlio-eol/PKGBUILD community/perl-xml-libxslt/PKGBUILD community/python-cherrypy/PKGBUILD community/python-pexpect/PKGBUILD community/python-pyro/PKGBUILD community/python2-cherrypy/PKGBUILD community/rexima/PKGBUILD community/shp2svg/PKGBUILD community/system-tools-backends/PKGBUILD community/tracker/PKGBUILD community/virtualbox/PKGBUILD core/bridge-utils/PKGBUILD extra/avidemux/PKGBUILD extra/beagle/PKGBUILD extra/bug-buddy/PKGBUILD extra/dssi/PKGBUILD extra/evolution-sharp/PKGBUILD extra/evolution-webcal/PKGBUILD extra/feh/PKGBUILD extra/ffmpeg/PKGBUILD extra/gnome-mag/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/gnutls/PKGBUILD extra/gok/PKGBUILD extra/gpsd/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/hyphen/PKGBUILD extra/kdelibs/PKGBUILD extra/keytouch-editor/PKGBUILD extra/keytouch/PKGBUILD extra/koffice/PKGBUILD extra/krusader/PKGBUILD extra/libbeagle/PKGBUILD extra/libffi/PKGBUILD extra/libgnomeuimm/PKGBUILD extra/libreoffice/PKGBUILD extra/m17n-lib/PKGBUILD extra/mtr/PKGBUILD extra/openbabel/PKGBUILD extra/poppler/PKGBUILD extra/pulseaudio/PKGBUILD extra/rox/PKGBUILD extra/transmission/PKGBUILD extra/xf86-input-synaptics/PKGBUILD extra/xorg-server/PKGBUILD extra/xorg-xinit/PKGBUILD kde-unstable/calligra/PKGBUILD libre/icecat/PKGBUILD libre/linux-libre/PKGBUILD multilib/lib32-ncurses/PKGBUILD multilib/lib32-openssl/PKGBUILD multilib/lib32-talloc/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'extra/thunar')
-rw-r--r--extra/thunar/fix-gvfs.patch148
-rw-r--r--extra/thunar/fix-samba.patch14
2 files changed, 0 insertions, 162 deletions
diff --git a/extra/thunar/fix-gvfs.patch b/extra/thunar/fix-gvfs.patch
deleted file mode 100644
index 71c7dbb57..000000000
--- a/extra/thunar/fix-gvfs.patch
+++ /dev/null
@@ -1,148 +0,0 @@
---- a/thunar/thunar-shortcuts-model.c
-+++ b/thunar/thunar-shortcuts-model.c
-@@ -1,25 +1,23 @@
--/* vi:set et ai sw=2 sts=2 ts=2: */
-+/* $Id$ */
- /*-
- * Copyright (c) 2005-2006 Benedikt Meurer <benny@xfce.org>
-- * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org>
-+ * Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org>
- *
-- * This program is free software; you can redistribute it and/or
-- * modify it under the terms of the GNU General Public License as
-- * published by the Free Software Foundation; either version 2 of
-- * the License, or (at your option) any later version.
-+ * This program is free software; you can redistribute it and/or modify it
-+ * under the terms of the GNU General Public License as published by the Free
-+ * Software Foundation; either version 2 of the License, or (at your option)
-+ * any later version.
- *
-- * This program is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- * GNU General Public License for more details.
-+ * This program is distributed in the hope that it will be useful, but WITHOUT
-+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-+ * more details.
- *
-- * You should have received a copy of the GNU General Public
-- * License along with this program; if not, write to the Free
-- * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-- * Boston, MA 02110-1301, USA.
-+ * You should have received a copy of the GNU General Public License along with
-+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-+ * Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
--
- #ifdef HAVE_CONFIG_H
- #include <config.h>
- #endif
-@@ -219,84 +217,6 @@ thunar_shortcuts_model_drag_source_init (GtkTreeDragSourceIface *iface)
-
-
-
--static gboolean
--thunar_shortcuts_model_add_network_idle (gpointer user_data)
--{
-- ThunarShortcutsModel *model = THUNAR_SHORTCUTS_MODEL (user_data);
-- ThunarShortcut *shortcut = NULL;
-- GtkTreePath *path;
-- GtkTreeIter iter;
-- ThunarFile *file = NULL;
-- GVolume *volume = NULL;
-- gboolean have_iter = FALSE;
-- gboolean is_separator = FALSE;
-- gboolean position_found = FALSE;
-- GFile *location = NULL;
--
-- /* append the network icon if browsing the network is supported */
-- if (thunar_g_vfs_is_uri_scheme_supported ("network"))
-- {
-- /* load the network root file */
-- location = g_file_new_for_uri ("network://");
-- file = thunar_file_get (location, NULL);
-- g_object_unref (location);
--
-- /* create the shortcut */
-- shortcut = g_slice_new0 (ThunarShortcut);
-- shortcut->type = THUNAR_SHORTCUT_SYSTEM_DEFINED;
-- shortcut->file = file;
--
-- /* iterate over all rows in the model in order to find the
-- * first one with a volume or a separator */
-- have_iter = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (model), &iter);
-- while (have_iter && !position_found)
-- {
-- /* read volume and separator flag from the current row */
-- gtk_tree_model_get (GTK_TREE_MODEL (model), &iter,
-- THUNAR_SHORTCUTS_MODEL_COLUMN_VOLUME, &volume,
-- THUNAR_SHORTCUTS_MODEL_COLUMN_SEPARATOR, &is_separator,
-- -1);
--
-- /* check if a volume row was found */
-- if (volume != NULL)
-- {
-- /* stop searching */
-- position_found = TRUE;
--
-- /* release the volume */
-- g_object_unref (volume);
-- }
-- else if (is_separator)
-- {
-- /* stop searching */
-- position_found = TRUE;
-- }
-- else
-- {
-- /* advance to the next row */
-- have_iter = gtk_tree_model_iter_next (GTK_TREE_MODEL (model), &iter);
-- }
-- }
--
-- /* we always have a volume or separator row */
-- g_assert (position_found);
--
-- /* get the path of the iter */
-- path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter);
--
-- /* append the shortcut to the list */
-- thunar_shortcuts_model_add_shortcut (model, shortcut, path);
--
-- /* release the path */
-- gtk_tree_path_free (path);
-- }
--
-- /* remove this idle handler */
-- return FALSE;
--}
--
--
--
- static void
- thunar_shortcuts_model_init (ThunarShortcutsModel *model)
- {
-@@ -339,6 +259,10 @@ thunar_shortcuts_model_init (ThunarShortcutsModel *model)
- /* append the root file system */
- system_paths = g_list_append (system_paths, thunar_g_file_new_for_root ());
-
-+ /* append the network icon if browsing the network is supported */
-+ if (thunar_g_vfs_is_uri_scheme_supported ("network"))
-+ system_paths = g_list_append (system_paths, g_file_new_for_uri ("network://"));
-+
- /* will be used to append the shortcuts to the list */
- path = gtk_tree_path_new_from_indices (0, -1);
-
-@@ -416,9 +340,6 @@ thunar_shortcuts_model_init (ThunarShortcutsModel *model)
- g_object_unref (bookmarks);
- g_object_unref (home);
- gtk_tree_path_free (path);
--
-- /* add the network item (and other slow items) in an idle handler */
-- g_idle_add_full (G_PRIORITY_LOW, thunar_shortcuts_model_add_network_idle, model, NULL);
- }
-
-
-
diff --git a/extra/thunar/fix-samba.patch b/extra/thunar/fix-samba.patch
deleted file mode 100644
index 61d53bec3..000000000
--- a/extra/thunar/fix-samba.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- thunar-file-ORIGINAL.c 2011-05-27 00:11:27.000000000 +0200
-+++ thunar-1.2.2/thunar/thunar-file.c 2011-08-22 08:00:24.095066077 +0200
-@@ -754,7 +754,10 @@ thunar_file_load (ThunarFile *file,
- target_uri =
- g_file_info_get_attribute_string (file->info,
- G_FILE_ATTRIBUTE_STANDARD_TARGET_URI);
-- file->is_mounted = (target_uri != NULL);
-+ file->is_mounted = (target_uri != NULL)
-+ ? !g_file_info_get_attribute_boolean (file->info,
-+ G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT)
-+ : FALSE;
- }
- }
- else