From aea5d7fa3738d562e075fc05f15e57b38bd3d606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Thu, 24 Aug 2017 18:16:34 +0200 Subject: [PATCH] Created an icon for the app --- TODO | 1 - res/icon.svg | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/app.rs | 1 + 3 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 res/icon.svg diff --git a/TODO b/TODO index 5372b5a..3740142 100644 --- a/TODO +++ b/TODO @@ -17,7 +17,6 @@ Functionality: * Send media messages (images / videos) Other stuff: - * Create an icon for the app * Set the app name correctly to show in the shell topbar * Make sidebars hideables diff --git a/res/icon.svg b/res/icon.svg new file mode 100644 index 0000000..576c50c --- /dev/null +++ b/res/icon.svg @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/src/app.rs b/src/app.rs index 2c17635..4ed39f2 100644 --- a/src/app.rs +++ b/src/app.rs @@ -562,6 +562,7 @@ impl App { .expect("Couldn't find main_window in ui file."); window.set_title("Guillotine"); + window.set_icon_from_file("res/icon.svg"); window.show_all(); let op = self.op.clone();