diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 40d75aae9320eb3a6cd7fcdacbc36244f766a7a5..5cb8849ffeae0719dfc085c0bab6486f13b5a736 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -292,7 +292,7 @@ var FileList={
 						procesSelection();
 					} 
 				});
-	},
+	}
 };
 
 $(document).ready(function(){
diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index 20f9cb8daff35bc7fb230ce277a0009ae655864c..2e978ae190be243f0cfa6f9f6ea539b4723e7c5a 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -95,6 +95,7 @@ $list->assign('dirlisting', $dirlisting);
 $list->assign('disableDownloadActions', true);
 $tmpl->assign('breadcrumb', $breadcrumbNav->fetchPage(), false);
 $tmpl->assign('fileList', $list->fetchPage(), false);
+$tmpl->assign('files', $files);
 $tmpl->assign('dir', OC_Filesystem::normalizePath($view->getAbsolutePath()));
 
 $tmpl->printPage();
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 92a431d495af8353b4713a83171053a119809fb2..553e4cbc6f0138591d3c9d52d5713a0020475df6 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -2,7 +2,7 @@
 $(document).ready(function() {
 
 	if (typeof FileActions !== 'undefined') {
-		FileActions.register('all', 'Undelete', OC.PERMISSION_READ, '', function(filename) {
+		FileActions.register('all', 'Undelete', OC.PERMISSION_READ,  OC.imagePath('core', 'actions/undelete.png'), function(filename) {
 			var tr=$('tr').filterAttr('data-file', filename);
 			$.post(OC.filePath('files_trashbin','ajax','undelete.php'),
 				{files:tr.attr('data-file'), dirlisting:tr.attr('data-dirlisting') },
diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php
index e81ba12758e21a52b0f4204fb57184e95e6e807d..fad96e5222a6e868ba5e01aebef062d4cafef132 100644
--- a/apps/files_trashbin/lib/trash.php
+++ b/apps/files_trashbin/lib/trash.php
@@ -54,7 +54,7 @@ class Trashbin {
 		self::copy_recursive($file_path, 'files_trashbin/'.$deleted.'.d'.$timestamp, $view);
 		
 		$query = \OC_DB::prepare("INSERT INTO *PREFIX*files_trash (id,timestamp,location,type,mime,user) VALUES (?,?,?,?,?,?)");
-		$result = $query->execute(array($deleted, $timestamp, $location, $type, $mime, $user));
+		$query->execute(array($deleted, $timestamp, $location, $type, $mime, $user));
 
 		if ( \OCP\App::isEnabled('files_versions') ) {
 			if ( $view->is_dir('files_versions'.$file_path) ) {
diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php
index a9cb216b1f77ffed872cbba6917b3e0bdf7e22ec..ebabec2d4d07ea63038b279b3da1edae838e0f2a 100644
--- a/apps/files_trashbin/templates/index.php
+++ b/apps/files_trashbin/templates/index.php
@@ -5,8 +5,8 @@
 </div>
 <div id='notification'></div>
 
-<?php if (isset($_['files']) and $_['isCreatable'] and count($_['files'])==0):?>
-	<div id="emptyfolder"><?php echo $l->t('Nothing in here. Upload something!')?></div>
+<?php if (isset($_['files']) && count($_['files'])==0):?>
+	<div id="emptyfolder"><?php echo $l->t('Nothing in here. Trash bin empty!')?></div>
 <?php endif; ?>
 
 <table>
@@ -17,9 +17,8 @@
 				<span class='name'><?php echo $l->t( 'Name' ); ?></span>
 				<span class='selectedActions'>
 						<a href="" class="undelete">
-							<!-- <img class="svg" alt="Undelete"
-								 src="<?php echo OCP\image_path("core", "actions/download.svg"); ?>" />
-							-->
+							<img class="svg" alt="Undelete"
+								 src="<?php echo OCP\image_path("core", "actions/undelete.png"); ?>" />
 							<?php echo $l->t('Undelete')?>
 						</a>
 				</span>
diff --git a/core/img/actions/undelete.png b/core/img/actions/undelete.png
new file mode 100644
index 0000000000000000000000000000000000000000..9f728252394f15555fe35e3ca049995a1c2d6117
Binary files /dev/null and b/core/img/actions/undelete.png differ