Commit de888498 authored by Melroy van den Berg's avatar Melroy van den Berg

add icon to GTK app

parent 88386196
Pipeline #1219 passed with stage
in 56 seconds
......@@ -28,6 +28,11 @@
using std::string;
#if defined(PRODUCTION)
#define IMAGE_LOCATION "/usr/share/winegui/images/" /*!< Image location */
#else
#define IMAGE_LOCATION "../images/" /*!< Image location */
#endif
// Forward declaration
class SignalDispatcher;
......
......@@ -38,6 +38,8 @@ MainWindow::MainWindow(Menu& menu)
set_default_size(1000, 600);
set_position(Gtk::WIN_POS_CENTER_ALWAYS);
this->set_icon_from_file(IMAGE_LOCATION "logo.png");
// Add menu to box (top), no expand/fill
vbox.pack_start(menu, false, false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment