Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Closes #40
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Apr 19, 2019
1 parent fc8d5ab commit 02a6e42
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog - Do not disturb extension

## v2.0.7 - April 19, 2019

**Bug Fixes:**
- Fix icon not showing up on latest GNOME shell

## v2.0.6 - April 4, 2019

**Bug Fixes:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ An extension to prevent notifications from interrupting you on GNOME.

![Do not disturb](screenshots/dnd.gif)

**Version 2.0.6** - [Changelog](CHANGELOG.md)
**Version 2.0.7** - [Changelog](CHANGELOG.md)

Do not disturb mode will block notifications from appearing on the screen, and will only display a dot next to the date indicating that a notification has arrived.

Expand Down
File renamed without changes
1 change: 1 addition & 0 deletions src/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

.do-not-disturb-icon {
color: rgba(255, 255, 255, 0.6);
-st-icon-style: symbolic;
}

.hide-dot {
Expand Down
9 changes: 3 additions & 6 deletions src/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,12 @@ class DoNotDisturbIcon {
this.notificationCounter = notificationCounter;
this._indicatorArea = Main.panel._centerBox; //statusArea.aggregateMenu._indicators;

let localDir = Me.dir.get_path();

let icon = "dnd-symbolic";

let iconTheme = Gtk.IconTheme.get_default();
iconTheme.append_search_path(localDir);
let icon = "notification-disabled-symbolic";
let fallback = "user-busy-symbolic";

this._enabledIcon = new St.Icon({
icon_name: icon,
fallback_icon_name: fallback,
style_class: 'popup-menu-icon do-not-disturb-icon'
});

Expand Down

0 comments on commit 02a6e42

Please sign in to comment.