From e3176882490a012097ae2d158eb8ea0cfb2b5804 Mon Sep 17 00:00:00 2001 From: Riccardo Albertini Date: Tue, 20 Sep 2011 12:32:40 +0200 Subject: [PATCH 1/1] 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 --- icon.svg | 145 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ main.c | 1 + 2 files changed, 146 insertions(+) create mode 100644 icon.svg diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..29410c8 --- /dev/null +++ b/icon.svg @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/main.c b/main.c index cc90e42..6e6bbd0 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; -- 2.43.0