Skip to content

Commit

Permalink
2019年 06月 08日 星期六 18:13:56 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket049 committed Jun 8, 2019
1 parent 0f83d8e commit 327cc5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/ui.vala
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,9 @@ public void msg_notify(string uname){
return;
#else
var app = application1;
if (app.get_active_window().is_active) {
return;
}
app.hold();
var notify1 = new Notification(_("New message"));
notify1.set_body(_("From: ")+uname);
Expand All @@ -907,6 +910,7 @@ public void version_notify(){
return;
#else
var app = application1;

app.hold();
var notify1 = new Notification(_("New Version Released!"));
notify1.set_body(_("Click here or click menu item 'Help->Upgrade' to get new version."));
Expand Down

0 comments on commit 327cc5e

Please sign in to comment.