[gnome-tour] window: set the icon name
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour] window: set the icon name
- Date: Tue, 14 Jul 2020 01:52:40 +0000 (UTC)
commit 1f22285d0e51de71699300fc4ca89500f238a172
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Tue Jul 14 03:49:47 2020 +0200
window: set the icon name
src/widgets/window.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/widgets/window.rs b/src/widgets/window.rs
index c802304..5078744 100644
--- a/src/widgets/window.rs
+++ b/src/widgets/window.rs
@@ -5,7 +5,7 @@ use std::rc::Rc;
use super::pages::{ImagePageWidget, WelcomePageWidget};
use super::paginator::PaginatorWidget;
-use crate::config::PROFILE;
+use crate::config::{APP_ID, PROFILE};
pub struct Window {
pub widget: libhandy::ApplicationWindow,
@@ -35,6 +35,7 @@ impl Window {
fn init(&mut self) {
self.widget.set_default_size(920, 640);
+ self.widget.set_icon_name(Some(APP_ID));
// Devel Profile
if PROFILE == "Devel" {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]