Skip to content

Commit

Permalink
move notifiation icon path to game_config
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jul 14, 2014
1 parent 35b9d5b commit 4b99454
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/desktop/dbus_notification.cpp
Expand Up @@ -145,7 +145,7 @@ uint32_t send_dbus_notification(DBusConnection *connection, uint32_t replaces_id
DBUS_TYPE_INVALID);
}

std::string app_icon_ = game_config::path + "images/game-icon.png";
std::string app_icon_ = game_config::path + game_config::images::app_icon;
LOG_DU << "app_icon_=\'" << app_icon_ << "\'\n";

const char *app_icon = app_icon_.c_str();
Expand Down
4 changes: 3 additions & 1 deletion src/game_config.cpp
Expand Up @@ -112,7 +112,9 @@ namespace game_config
wml_menu = "buttons/WML-custom.png",
level,
ellipsis,
missing;
missing,
// notifications icon
app_icon = "images/game-icon.png";
} //images

std::string shroud_prefix, fog_prefix;
Expand Down
4 changes: 3 additions & 1 deletion src/game_config.hpp
Expand Up @@ -111,7 +111,9 @@ namespace game_config
wml_menu,
level,
ellipsis,
missing;
missing,
// notifications icon
app_icon;
} //images


Expand Down

0 comments on commit 4b99454

Please sign in to comment.