[evince] [libview] Remove set_focus_on_map and set NOTIFICATION type hint for loading window



commit 55987f7d1bde72651c83b48cae7c8207a7ef08ab
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Jun 2 12:20:19 2010 +0200

    [libview] Remove set_focus_on_map and set NOTIFICATION type hint for loading window
    
    For some reason this prevents focus stealing and skips taskbar and
    pager hints.

 libview/ev-loading-window.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libview/ev-loading-window.c b/libview/ev-loading-window.c
index 6c60c34..c04933b 100644
--- a/libview/ev-loading-window.c
+++ b/libview/ev-loading-window.c
@@ -95,11 +95,9 @@ ev_loading_window_init (EvLoadingWindow *window)
 
 	gtk_container_set_border_width (GTK_CONTAINER (window), 10);
 
+	gtk_window_set_type_hint (gtk_window, GDK_WINDOW_TYPE_HINT_NOTIFICATION);
 	gtk_window_set_accept_focus (gtk_window, FALSE);
-	gtk_window_set_focus_on_map (gtk_window, FALSE);
 	gtk_window_set_decorated (gtk_window, FALSE);
-	gtk_window_set_skip_taskbar_hint (gtk_window, TRUE);
-	gtk_window_set_skip_pager_hint (gtk_window, TRUE);
 	gtk_window_set_resizable (gtk_window, FALSE);
 
 	style = gtk_widget_get_style (widget);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]