summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Riccardo Albertini <ssirowain@gmail.com>2011-09-20 12:32:40 +0200
committerGravatar Riccardo Albertini <ssirowain@gmail.com>2011-09-20 12:32:40 +0200
commite3176882490a012097ae2d158eb8ea0cfb2b5804 (patch)
treed10da58f6a1c7f79933e8737bd249523018c9e90 /main.c
parent5b2f1c7914f5632362813a304659a3971e595d50 (diff)
downloadsubsurface-e3176882490a012097ae2d158eb8ea0cfb2b5804.tar.gz
Provide an icon for subsurface.
I designed a simple blue icon for subsurface with a diver in the middle. As suggested by Dirk Hohndel, I added the surface line above diver's head, so that now the icon reflects better the new application name. Signed-off-by: Riccardo Albertini <ssirowain@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index cc90e4235..6e6bbd084 100644
--- a/main.c
+++ b/main.c
@@ -447,6 +447,7 @@ int main(int argc, char **argv)
error_info_bar = NULL;
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_icon_from_file(GTK_WINDOW(win), "icon.svg", NULL);
g_signal_connect(G_OBJECT(win), "destroy", G_CALLBACK(on_destroy), NULL);
main_window = win;