summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-27 17:42:14 +0000
committerDavid Robillard <d@drobilla.net>2008-11-27 17:42:14 +0000
commit4ebfeafa31472604caf32b22d293aed8ae753813 (patch)
tree178e20949861196d3c73e023fb40fd42e30da199 /src/gui
parent50d8e1a35d8608b866bf0de736a05e230a59d731 (diff)
downloadingen-4ebfeafa31472604caf32b22d293aed8ae753813.tar.gz
ingen-4ebfeafa31472604caf32b22d293aed8ae753813.tar.bz2
ingen-4ebfeafa31472604caf32b22d293aed8ae753813.zip
Add/install/use Ingen icons.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1798 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/App.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index 4b6abc4a..f2eaed47 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -21,6 +21,7 @@
#include <string>
#include <fstream>
#include <libgnomecanvasmm.h>
+#include <gtk/gtkwindow.h>
#include <time.h>
#include <sys/time.h>
#include "raul/Path.hpp"
@@ -76,12 +77,16 @@ App::App(Ingen::Shared::World* world)
, _enable_signal(true)
{
Glib::RefPtr<Gnome::Glade::Xml> glade_xml = GladeFactory::new_glade_reference();
+
+ Glib::set_application_name("Ingen");
+ gtk_window_set_default_icon_name("ingen");
glade_xml->get_widget_derived("connect_win", _connect_window);
glade_xml->get_widget_derived("messages_win", _messages_window);
glade_xml->get_widget_derived("patch_tree_win", _patch_tree_window);
glade_xml->get_widget("about_win", _about_dialog);
_about_dialog->property_program_name() = "Ingen";
+ _about_dialog->property_logo_icon_name() = "ingen";
PluginModel::set_rdf_world(*world->rdf_world);