[gnome-builder] omnibar: use colored dialog-warning-symbolic icon
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] omnibar: use colored dialog-warning-symbolic icon
- Date: Mon, 27 Feb 2017 22:05:24 +0000 (UTC)
commit f91a9ba73484313db453f7b55ca80d85519cba16
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Mon Feb 27 15:28:49 2017 +0530
omnibar: use colored dialog-warning-symbolic icon
Replace the dialog-warning icon with symbolic icon,
and add a warning style to match the design.
https://bugzilla.gnome.org/show_bug.cgi?id=779303
data/theme/shared.css | 5 +++++
libide/workbench/ide-omni-bar.ui | 5 ++++-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/shared.css b/data/theme/shared.css
index 983a560..320d0af 100644
--- a/data/theme/shared.css
+++ b/data/theme/shared.css
@@ -3,6 +3,11 @@ filechooser actionbar button.combo {
padding: 0;
}
+/* Generic styles */
+.warning {
+ color: @warning_color;
+}
+
/* styling for editor search */
frame.gb-search-frame {
background-image: linear-gradient(shade(@theme_bg_color,1.05), @theme_bg_color);
diff --git a/libide/workbench/ide-omni-bar.ui b/libide/workbench/ide-omni-bar.ui
index 6f1b3c3..87df8a8 100644
--- a/libide/workbench/ide-omni-bar.ui
+++ b/libide/workbench/ide-omni-bar.ui
@@ -51,7 +51,10 @@
</child>
<child>
<object class="GtkImage" id="build_result_diagnostics_image">
- <property name="icon-name">dialog-warning</property>
+ <property name="icon-name">dialog-warning-symbolic</property>
+ <style>
+ <class name="warning"/>
+ </style>
</object>
<packing>
<property name="pack-type">end</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]