Skip to content

Commit

Permalink
Annotation window color is not sensitive to theme
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Giselle Machado authored and Carlos Garcia Campos committed Apr 19, 2015
1 parent 4991262 commit 204d543
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libview/ev-annotation-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 204d543

Please sign in to comment.