Additional change to recent About dialog changes

Disable the cursor change for links when text is selected which is
similar to the recent change to disabling the links for selected text.
With the change to the text background, the selected text is not very
clear so add some CSS to improve readability of selection.
pull/2162/head
Robert Fewell 2 months ago
parent b5f1f189dd
commit 5fc5cfeb87

@ -5287,7 +5287,9 @@ textview_motion_notify_cb (GtkWidget *textview,
GdkEventMotion *event,
gpointer user_data)
{
if (event->state & GDK_BUTTON1_MASK)
if ((event->state & GDK_BUTTON1_MASK) ||
gtk_text_buffer_get_has_selection (gtk_text_view_get_buffer
(GTK_TEXT_VIEW(textview))))
return false;
GtkTextIter iter;

@ -94,9 +94,10 @@ dialog#GnuCash > box > box > label
.gnc-class-textview * {
background-color: rgb(246,245,244);
}
.gnc-class-textview-dark * {
background-color: rgb(53,53,53);
}
dialog#GnuCash * text selection {
background-color: rgb(27,106,203);
}

Loading…
Cancel
Save