[gitg] Remove style deprecations
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Remove style deprecations
- Date: Sat, 5 Oct 2019 06:35:08 +0000 (UTC)
commit ff8814a7030f8b6878e5ca4d74542bfa2123ef7e
Author: Gaurav Agrawal <agrawalgaurav1999 gmail com>
Date: Sat Oct 5 08:34:11 2019 +0200
Remove style deprecations
gitg/commit/gitg-commit-dialog.vala | 6 ------
gitg/history/gitg-history-paned.vala | 2 --
gitg/resources/ui/style.css | 5 -----
3 files changed, 13 deletions(-)
---
diff --git a/gitg/commit/gitg-commit-dialog.vala b/gitg/commit/gitg-commit-dialog.vala
index 1d4181ff..ce469423 100644
--- a/gitg/commit/gitg-commit-dialog.vala
+++ b/gitg/commit/gitg-commit-dialog.vala
@@ -592,13 +592,7 @@ class Dialog : Gtk.Dialog
ctx.save();
ctx.add_class("warning");
- var fg = ctx.get_color(Gtk.StateFlags.NORMAL);
- var bg = ctx.get_background_color(Gtk.StateFlags.NORMAL);
-
ctx.restore();
-
- d_too_long_tag.background_rgba = bg;
- d_too_long_tag.foreground_rgba = fg;
}
private bool on_commit_message_key_press_event(Gtk.Widget widget, Gdk.EventKey event)
diff --git a/gitg/history/gitg-history-paned.vala b/gitg/history/gitg-history-paned.vala
index 90101b6d..dff77b93 100644
--- a/gitg/history/gitg-history-paned.vala
+++ b/gitg/history/gitg-history-paned.vala
@@ -194,8 +194,6 @@ class Paned : Gitg.AnimatedPaned
var c = get_style_context();
c.save();
- c.add_region("panel-switcher", 0);
-
Gtk.Allocation alloc;
d_stack_switcher_panels.get_allocation(out alloc);
diff --git a/gitg/resources/ui/style.css b/gitg/resources/ui/style.css
index a7c4a542..e499866b 100644
--- a/gitg/resources/ui/style.css
+++ b/gitg/resources/ui/style.css
@@ -71,11 +71,6 @@ GitgCreateTagDialog GtkTextView:disabled {
background-color: @sidebar_bg_unfocused;
}
-GitgHistoryPaned panel-switcher {
- border-top: 1px solid @borders;
- background-color: @theme_bg_color;
-}
-
GitgHistoryPaned GtkEntry.ref_editing_entry {
padding: 0;
border: 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]