diff options
author | David Robillard <d@drobilla.net> | 2008-11-27 17:42:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-27 17:42:14 +0000 |
commit | 4ebfeafa31472604caf32b22d293aed8ae753813 (patch) | |
tree | 178e20949861196d3c73e023fb40fd42e30da199 /src | |
parent | 50d8e1a35d8608b866bf0de736a05e230a59d731 (diff) | |
download | ingen-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')
-rw-r--r-- | src/gui/App.cpp | 5 | ||||
-rw-r--r-- | src/ingen/ingen.desktop | 2 |
2 files changed, 6 insertions, 1 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); diff --git a/src/ingen/ingen.desktop b/src/ingen/ingen.desktop index ebd92f32..109a0c79 100644 --- a/src/ingen/ingen.desktop +++ b/src/ingen/ingen.desktop @@ -4,6 +4,6 @@ Name=Ingen Comment=Create synthesizers and effects processors in a modular environment Exec=ingen -eg Terminal=false -Icon=ingen-icon.svg +Icon=ingen Type=Application Categories=Application;AudioVideo;Sound;Audio |