[gnome-sound-recorder] Remove white button outline for unselected rows
- From: Meg Ford (Margaret) <megford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] Remove white button outline for unselected rows
- Date: Tue, 2 Sep 2014 11:29:17 +0000 (UTC)
commit 038accd42377e6166ac6dbd11414818704c1cd09
Author: Meg Ford <megford gnome org>
Date: Mon Sep 1 20:07:45 2014 -0500
Remove white button outline for unselected rows
data/application.css | 3 +++
src/mainWindow.js | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index 27a47e4..f574ec6 100644
--- a/data/application.css
+++ b/data/application.css
@@ -1,5 +1,8 @@
.view .button {
border-radius: 0px;
+}
+
+.row {
border: rgba(255,255,255,1.0) 0.5px solid;
}
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 83061be..3a2f233 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -393,6 +393,7 @@ const MainView = new Lang.Class({
name: "PlayButton" });
this._playListButton.set_image(this.playImage);
this._playListButton.set_tooltip_text(_("Play"));
+ this._playListButton.get_style_context().add_class('row');
this.rowGrid.attach(this._playListButton, 0, 0, 2, 2);
this._playListButton.hide();
this._playListButton.connect('clicked', Lang.bind(this,
@@ -413,6 +414,7 @@ const MainView = new Lang.Class({
name: "PauseButton" });
this._pauseListButton.set_image(this.pauseImage);
this._pauseListButton.set_tooltip_text(_("Pause"));
+ this._pauseListButton.get_style_context().add_class('row');
this.rowGrid.attach(this._pauseListButton, 0, 0, 2, 2);
this._pauseListButton.hide();
this._pauseListButton.connect('clicked', Lang.bind(this,
@@ -506,6 +508,7 @@ const MainView = new Lang.Class({
this._onInfoButton(file);
}));
this._info.set_tooltip_text(_("Info"));
+ this._info.get_style_context().add_class('row');
this.rowGrid.attach(this._info, 27, 0, 1, 2);
this._info.hide();
@@ -518,6 +521,7 @@ const MainView = new Lang.Class({
this._deleteFile(this.listBox.get_selected_row());
}));
this._delete.set_tooltip_text(_("Delete"));
+ this._delete.get_style_context().add_class('row');
this.rowGrid.attach(this._delete, 28, 0, 1, 2);
this._delete.hide();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]