[evince] Annotation window color is not sensitive to theme



commit 204d543efd35f0925b537a27c088c3d0d7a319b2
Author: Giselle Machado <gisellemnr src gnome org>
Date:   Wed Jun 25 11:37:41 2014 +0200

    Annotation window color is not sensitive to theme
    
    The annotation window color should be the
    annotation color and the system should not change
    it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732211
    
    Also removing a redundant set_border_width (the
    same method is called again 7 lines below).

 libview/ev-annotation-window.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index d88e657..ee002ce 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -377,13 +377,11 @@ ev_annotation_window_init (EvAnnotationWindow *window)
        gtk_widget_show (hbox);
 
        gtk_container_add (GTK_CONTAINER (window), vbox);
-       gtk_container_set_border_width (GTK_CONTAINER (window), 0);
        gtk_widget_show (vbox);
 
        gtk_widget_add_events (GTK_WIDGET (window),
                               GDK_BUTTON_PRESS_MASK |
                               GDK_KEY_PRESS_MASK);
-       gtk_widget_set_app_paintable (GTK_WIDGET (window), TRUE);
 
        gtk_container_set_border_width (GTK_CONTAINER (window), 2);
 


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