[evince] libview: Don't draw a resize grip for Annotation Windows.



commit 04766ed2f064192b4a8eb3fb6a81a1bd020a139f
Author: José Aliste <jaliste src gnome org>
Date:   Wed Dec 1 12:55:20 2010 -0300

    libview: Don't draw a resize grip for Annotation Windows.
    
    Annotation Windows draw their own resize grip.

 libview/ev-annotation-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index aa7babd..61002e2 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -328,6 +328,7 @@ ev_annotation_window_init (EvAnnotationWindow *window)
 	gtk_widget_show (swindow);
 
 	/* Resize bar */
+	gtk_window_set_has_resize_grip (GTK_WINDOW(window), FALSE);
 	hbox = gtk_hbox_new (FALSE, 0);
 
 	window->resize_sw = gtk_event_box_new ();



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