[gitg] Remove unneeded selection style overrides



commit 8eb368de9e27cd1b878ddb018999b1ec49ce9c07
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sun Dec 20 21:33:44 2015 +0100

    Remove unneeded selection style overrides

 libgitg/gitg-diff-view-file-selectable.vala |    2 --
 libgitg/resources/ui/libgitg-style.css      |    5 -----
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/libgitg/gitg-diff-view-file-selectable.vala b/libgitg/gitg-diff-view-file-selectable.vala
index 32c8648..4f43316 100644
--- a/libgitg/gitg-diff-view-file-selectable.vala
+++ b/libgitg/gitg-diff-view-file-selectable.vala
@@ -57,8 +57,6 @@ class Gitg.DiffViewFileSelectable : Object
                source_view.motion_notify_event.connect(motion_notify_event_on_view);
                source_view.button_release_event.connect(button_release_event_on_view);
 
-               source_view.get_style_context().add_class("handle-selection");
-
                source_view.realize.connect(() => {
                        update_cursor(cursor_ptr);
                });
diff --git a/libgitg/resources/ui/libgitg-style.css b/libgitg/resources/ui/libgitg-style.css
index a6ca53f..b463d6b 100644
--- a/libgitg/resources/ui/libgitg-style.css
+++ b/libgitg/resources/ui/libgitg-style.css
@@ -31,11 +31,6 @@ GitgDiffViewFile GtkSourceView.view {
        color: @theme_text_color;
 }
 
-GitgDiffViewFile GtkSourceView.view.handle-selection:selected {
-       background-color: transparent;
-       color: @theme_text_color;
-}
-
 GitgDiffView GitgDiffViewCommitDetails {
        border-bottom: 1px outset lighter(@borders);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]