summaryrefslogtreecommitdiff
path: root/community/nemo
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-02 04:06:07 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-02 04:06:07 +0000
commitc667b77b6719baf541fff1a3e0a855d1ca7c6433 (patch)
tree160a3ef2cadf16ee901ebbfb33235a840565a41c /community/nemo
parent0918b213023626f9fb5958a5927263aa4d2ea28b (diff)
Wed Apr 2 04:01:38 UTC 2014
Diffstat (limited to 'community/nemo')
-rw-r--r--community/nemo/Fix_rename_entry_position.patch32
-rw-r--r--community/nemo/PKGBUILD13
2 files changed, 41 insertions, 4 deletions
diff --git a/community/nemo/Fix_rename_entry_position.patch b/community/nemo/Fix_rename_entry_position.patch
new file mode 100644
index 000000000..615f58d7d
--- /dev/null
+++ b/community/nemo/Fix_rename_entry_position.patch
@@ -0,0 +1,32 @@
+--- a/eel/eel-canvas.c
++++ b/eel/eel-canvas.c
+@@ -3213,11 +3213,19 @@ eel_canvas_draw (GtkWidget *widget, cair
+ return FALSE;
+
+ bin_window = gtk_layout_get_bin_window (GTK_LAYOUT (widget));
++
++ if (!gtk_cairo_should_draw_window (cr, bin_window))
++ return FALSE;
++
++ cairo_save (cr);
++
+ gtk_cairo_transform_to_window (cr, widget, bin_window);
+
+ region = eel_cairo_get_clip_region (cr);
+- if (region == NULL)
++ if (region == NULL) {
++ cairo_restore (cr);
+ return FALSE;
++ }
+
+ #ifdef VERBOSE
+ g_print ("Draw\n");
+@@ -3249,6 +3257,8 @@ eel_canvas_draw (GtkWidget *widget, cair
+ if (canvas->root->flags & EEL_CANVAS_ITEM_MAPPED)
+ EEL_CANVAS_ITEM_GET_CLASS (canvas->root)->draw (canvas->root, cr, region);
+
++ cairo_restore (cr);
++
+ /* Chain up to get exposes on child widgets */
+ if (GTK_WIDGET_CLASS (canvas_parent_class)->draw)
+ GTK_WIDGET_CLASS (canvas_parent_class)->draw (widget, cr);
diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD
index 29e7553b3..12558ef0d 100644
--- a/community/nemo/PKGBUILD
+++ b/community/nemo/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 101573 2013-11-28 01:30:36Z faidoc $
+# $Id: PKGBUILD 108679 2014-04-01 03:36:38Z faidoc $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
# Contributor: Ner0
pkgname=nemo
pkgver=2.0.8
-pkgrel=1
+pkgrel=2
pkgdesc="Cinnamon file manager (Nautilus fork)"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/nemo"
@@ -15,12 +15,17 @@ depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python2'
makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common')
options=('!emptydirs')
install=nemo.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver")
-sha256sums=('6a40868e46fd2ed6c27e694e76c160996d16e2d27681bf5126e6b0e647c24033')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver"
+ "Fix_rename_entry_position.patch")
+sha256sums=('6a40868e46fd2ed6c27e694e76c160996d16e2d27681bf5126e6b0e647c24033'
+ '07e81aaeeff9ae8c6de76fe2b87b28b89323577ef425596241b96e94b4e04750')
prepare() {
cd linuxmint-nemo-*
+ # Rename files and directory : invisible field: https://bugzilla.redhat.com/show_bug.cgi?id=1045181
+ patch -Np1 -i ../Fix_rename_entry_position.patch
+
# Python2 fix
sed -i 's/bin\/python/bin\/python2/g' files/usr/share/nemo/actions/myaction.py