[gnome-music] playbutton color patch
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] playbutton color patch
- Date: Tue, 7 May 2013 17:05:31 +0000 (UTC)
commit 66fc9d76de8f46b61bb25521ceee80eef34a1ced
Author: Sai <suman sai14 gmail com>
Date: Tue May 7 22:14:06 2013 +0530
playbutton color patch
Signed-off-by: Seif Lotfy <seif lotfy com>
src/player.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index 6e0a9b8..2da9197 100644
--- a/src/player.js
+++ b/src/player.js
@@ -29,6 +29,7 @@ const GObject = imports.gi.GObject;
const Grl = imports.gi.Grl;
const GdkPixbug = imports.gi.GdkPixbuf;
const Signals = imports.signals;
+const Gdk = imports.gi.Gdk;
//pkg.initSubmodule('libgd');
@@ -260,6 +261,9 @@ const Player = new Lang.Class({
this.duration = this._ui.get_object('duration');
this.replayBtn = this._ui.get_object('menuButton');
let replayMenu = this._ui.get_object('replayMenu');
+ let color = new Gdk.Color({red:0,green:0,blue:0});
+ this._playImage.modify_fg(Gtk.StateType.ACTIVE,color);
+ this._pauseImage.modify_fg(Gtk.StateType.ACTIVE,color);
let replaySong = Gtk.MenuItem.new_with_label("replay song");
let replayAll = Gtk.MenuItem.new_with_label("replay all");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]