From c75de30765354343369b02fbacf5eec1c2242da6 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Wed, 27 Oct 2021 07:45:43 +0200 Subject: sdgui: create and install a program icon --- src/sdgui.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/sdgui.c b/src/sdgui.c index d58efb1..b175ceb 100644 --- a/src/sdgui.c +++ b/src/sdgui.c @@ -27,6 +27,9 @@ #include "utils.h" #include "stardict-view.h" +#undef PROJECT_NAME +#define PROJECT_NAME "sdgui" + static struct { GtkWidget *window; ///< Top-level window @@ -385,6 +388,8 @@ main (int argc, char *argv[]) return 1; } + gtk_window_set_default_icon_name (PROJECT_NAME); + g.dictionaries = g_ptr_array_new_with_free_func ((GDestroyNotify) dictionary_destroy); if (filenames) -- cgit v1.2.3-70-g09d2