diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2018-03-12 09:14:01 -0700 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2018-03-12 09:15:42 -0700 | 
| commit | 1906d3027dc3ad8b9b5533712299d48e265c852c (patch) | |
| tree | 00b432b3861a0407bc2117b9023084c3e0e49726 /shell | |
| parent | 217eb89c8f4de0e00e8b27dc8349d8295d6e68a4 (diff) | |
Do not use hardcoded path for icon
Use just the symbolic name "hardinfo", allowing for icon packs to
provide alternative icons.
Fixes #227
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/callbacks.c | 2 | ||||
| -rw-r--r-- | shell/shell.c | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/shell/callbacks.c b/shell/callbacks.c index 9bb5c990..e7183185 100644 --- a/shell/callbacks.c +++ b/shell/callbacks.c @@ -199,7 +199,7 @@ void cb_about()      gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(about),  				  _("System information and benchmark tool"));      gtk_about_dialog_set_logo(GTK_ABOUT_DIALOG(about), -			      icon_cache_get_pixbuf("logo.png")); +			      icon_cache_get_pixbuf("hardinfo.png"));      gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(about),  				 _("HardInfo is free software; you can redistribute it and/or modify " diff --git a/shell/shell.c b/shell/shell.c index 8688f9ac..10c74d13 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -416,7 +416,7 @@ static void create_window(void)      shell->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);      gtk_window_set_icon(GTK_WINDOW(shell->window), -			icon_cache_get_pixbuf("logo.png")); +			icon_cache_get_pixbuf("hardinfo.org"));      shell_set_title(shell, NULL);      gtk_window_set_default_size(GTK_WINDOW(shell->window), 800, 600);      g_signal_connect(G_OBJECT(shell->window), "destroy", destroy_me, NULL); | 
