fix wesnoth icon not appearing with dbus notifications
This commit is contained in:
parent
feb34af4cc
commit
ab74410e61
1 changed files with 4 additions and 1 deletions
|
@ -144,7 +144,10 @@ uint32_t send_dbus_notification(DBusConnection *connection, uint32_t replaces_id
|
||||||
DBUS_TYPE_STRING, &event_id,
|
DBUS_TYPE_STRING, &event_id,
|
||||||
DBUS_TYPE_INVALID);
|
DBUS_TYPE_INVALID);
|
||||||
}
|
}
|
||||||
std::string app_icon_ = game_config::path + "/images/wesnoth-icon-small.png";
|
|
||||||
|
std::string app_icon_ = game_config::path + "images/game-icon.png";
|
||||||
|
LOG_DU << "app_icon_=\'" << app_icon_ << "\'\n";
|
||||||
|
|
||||||
const char *app_icon = app_icon_.c_str();
|
const char *app_icon = app_icon_.c_str();
|
||||||
const char *summary = owner.c_str();
|
const char *summary = owner.c_str();
|
||||||
const char *body = message.c_str();
|
const char *body = message.c_str();
|
||||||
|
|
Loading…
Add table
Reference in a new issue