diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-01 16:42:54 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-01 16:42:54 +0200 |
commit | 238b29fda5214e45a216f644c6211b8bf284ae73 (patch) | |
tree | 70ed28b37d71c48197564ed1989a3ff22e7e4fed /src | |
parent | 88547b74b4d6b6ead74c8b88a0b302cc6ac9c4a0 (diff) | |
parent | c4ee1d5857bc5b93d501a42a070be1d9faa3a48a (diff) |
Update upstream source from tag 'upstream/42.5'
Update to upstream version '42.5'
with Debian dir 264e51c7cf60c3e37be80725242db36b8adae8f1
Diffstat (limited to 'src')
-rw-r--r-- | src/book-view.vala | 5 | ||||
-rw-r--r-- | src/scanner.vala | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/book-view.vala b/src/book-view.vala index df2beb4..e16dc92 100644 --- a/src/book-view.vala +++ b/src/book-view.vala @@ -204,6 +204,7 @@ public class BookView : Gtk.Box selected_page_view.selected = true; selected_page_view = page; + redraw(); if (selected_page_view == null) return; @@ -444,6 +445,8 @@ public class BookView : Gtk.Box pages.append (get_nth_page (i)); var ruler_color = get_style_context ().get_color (get_state_flags ()); + Gdk.RGBA ruler_color_selected = {}; + ruler_color_selected.parse("#3584e4"); /* Gnome Blue 3 */ /* Render each page */ foreach (var page in pages) @@ -457,7 +460,7 @@ public class BookView : Gtk.Box context.save (); context.translate (-x_offset, 0); - page.render (context, ruler_color); + page.render (context, page == selected_page_view ? ruler_color_selected : ruler_color); context.restore (); if (page.selected) diff --git a/src/scanner.vala b/src/scanner.vala index 495ee9d..9fd141c 100644 --- a/src/scanner.vala +++ b/src/scanner.vala @@ -1455,7 +1455,6 @@ public class Scanner : Object page_number++; pass_number = 0; - notify_event (new NotifyPageDone (job.id)); state = ScanState.START; return; } |