nemo: Upgraded to 2.4.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-05-03 22:17:36 +07:00
parent 8cde7440fe
commit 297470eb14
2 changed files with 4 additions and 38 deletions

View file

@ -1,32 +0,0 @@
--- 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);

View file

@ -2,7 +2,7 @@
# Slackware build script for nemo
# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nemo
VERSION=${VERSION:-2.0.8}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then
@ -69,9 +69,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/Fix_rename_entry_position.patch
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \