[nautilus/wip/gbsneto/actionbar: 5/5] files-view: set empty view widgets pass-through
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gbsneto/actionbar: 5/5] files-view: set empty view widgets pass-through
- Date: Tue, 29 Mar 2016 07:13:31 +0000 (UTC)
commit a23e27d85947bee0740ebc5312e13a5a1a7a5eb3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Mar 29 04:07:39 2016 -0300
files-view: set empty view widgets pass-through
The empty views are not interactive, and in fact we
shouldn't even let them steal input as they currently
do.
Fix that by setting them pass-through.
src/nautilus-files-view.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 8f0c3bc..64eb5bb 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -7740,11 +7740,17 @@ nautilus_files_view_init (NautilusFilesView *view)
builder = gtk_builder_new_from_resource ("/org/gnome/nautilus/ui/nautilus-no-search-results.ui");
view->details->no_search_results_widget = GTK_WIDGET (gtk_builder_get_object (builder,
"no_search_results"));
gtk_overlay_add_overlay (GTK_OVERLAY (view->details->overlay),
view->details->no_search_results_widget);
+ gtk_overlay_set_overlay_pass_through (GTK_OVERLAY (view->details->overlay),
+ view->details->no_search_results_widget,
+ TRUE);
g_object_unref (builder);
builder = gtk_builder_new_from_resource ("/org/gnome/nautilus/ui/nautilus-folder-is-empty.ui");
view->details->folder_is_empty_widget = GTK_WIDGET (gtk_builder_get_object (builder,
"folder_is_empty"));
gtk_overlay_add_overlay (GTK_OVERLAY (view->details->overlay),
view->details->folder_is_empty_widget);
+ gtk_overlay_set_overlay_pass_through (GTK_OVERLAY (view->details->overlay),
+ view->details->folder_is_empty_widget,
+ TRUE);
g_object_unref (builder);
/* Default to true; desktop-icon-view sets to false */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]