mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-05 23:50:07 +00:00
Hide normal selection when handle_selection is true
This commit is contained in:
parent
f015cd292b
commit
2e580e7857
|
@ -129,6 +129,8 @@ class Gitg.DiffViewHunk : Gtk.Grid
|
|||
d_sourceview_hunk.button_press_event.connect(button_press_event_on_view);
|
||||
d_sourceview_hunk.motion_notify_event.connect(motion_notify_event_on_view);
|
||||
d_sourceview_hunk.button_release_event.connect(button_release_event_on_view);
|
||||
|
||||
d_sourceview_hunk.get_style_context().add_class("handle-selection");
|
||||
}
|
||||
|
||||
update_hunk_label();
|
||||
|
|
|
@ -36,6 +36,11 @@ GitgDiffViewHunk GtkSourceView.view {
|
|||
color: @theme_text_color;
|
||||
}
|
||||
|
||||
GitgDiffViewHunk GtkSourceView.view.handle-selection:selected {
|
||||
background-color: transparent;
|
||||
color: @theme_text_color;
|
||||
}
|
||||
|
||||
GitgDiffView GitgDiffViewCommitDetails {
|
||||
border-bottom: 1px outset lighter(@borders);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue