diff options
author | Giselle Machado <[email protected]> | 2014-06-19 12:50:40 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-28 16:04:00 +0200 |
commit | f071e6bc375f8107e92e88fe5b55268f5a127693 (patch) | |
tree | 383e116183e788680809a40fe5ef9d05ae67600a | |
parent | 4cd8ca27cdc099338dbc09f192231de9d6390071 (diff) | |
download | atril-f071e6bc375f8107e92e88fe5b55268f5a127693.tar.bz2 atril-f071e6bc375f8107e92e88fe5b55268f5a127693.tar.xz |
Change color of annotation window
When the color of the annotation window is chosen
in the properties dialog and apply is clicked, the
color of the window changes immediately.
Fixed by making ev_annotation_set_rgba send both
"color" and "rgba" signals.
https://bugzilla.gnome.org/show_bug.cgi?id=725571
origin commit:
https://git.gnome.org/browse/evince/commit/?id=d23d6c1
-rw-r--r-- | libdocument/ev-annotation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c index 1120a3a9..9e918b2a 100644 --- a/libdocument/ev-annotation.c +++ b/libdocument/ev-annotation.c @@ -574,7 +574,6 @@ ev_annotation_set_color (EvAnnotation *annot, rgba.alpha = 1.; ev_annotation_set_rgba (annot, &rgba); - g_object_notify (G_OBJECT (annot), "color"); return TRUE; } @@ -621,6 +620,7 @@ ev_annotation_set_rgba (EvAnnotation *annot, annot->rgba = *rgba; g_object_notify (G_OBJECT (annot), "rgba"); + g_object_notify (G_OBJECT (annot), "color"); return TRUE; } |