From f358bb1a965fd8a6cdd9ed044ff885c7ae03b880 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 8 Apr 2013 19:03:50 -0400 Subject: [PATCH] classic: Invert the spinner color https://bugzilla.gnome.org/show_bug.cgi?id=693688 --- data/Makefile.am | 1 + data/theme/process-working-inverse.svg | 695 +++++++++++++++++++++++++ js/ui/panel.js | 9 +- 3 files changed, 702 insertions(+), 3 deletions(-) create mode 100644 data/theme/process-working-inverse.svg diff --git a/data/Makefile.am b/data/Makefile.am index f555d9a84..0366d7ec6 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -44,6 +44,7 @@ dist_theme_DATA = \ theme/panel-button-highlight-narrow.svg \ theme/panel-button-highlight-wide.svg \ theme/process-working.svg \ + theme/process-working-inverse.svg \ theme/running-indicator.svg \ theme/source-button-border.svg \ theme/summary-counter.svg \ diff --git a/data/theme/process-working-inverse.svg b/data/theme/process-working-inverse.svg new file mode 100644 index 000000000..b0957a37a --- /dev/null +++ b/data/theme/process-working-inverse.svg @@ -0,0 +1,695 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/js/ui/panel.js b/js/ui/panel.js index c16e318cd..6d31f8d06 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -296,9 +296,12 @@ const AppMenuButton = new Lang.Class({ })); this._stop = true; - - this._spinner = new AnimatedIcon('process-working.svg', - PANEL_ICON_SIZE); + if (Main.sessionMode.currentMode == 'classic') + this._spinner = new AnimatedIcon('process-working-inverse.svg', + PANEL_ICON_SIZE); + else + this._spinner = new AnimatedIcon('process-working.svg', + PANEL_ICON_SIZE); this._container.add_actor(this._spinner.actor); this._spinner.actor.hide(); this._spinner.actor.lower_bottom();