diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-27 07:45:43 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-27 09:46:17 +0200 |
commit | c75de30765354343369b02fbacf5eec1c2242da6 (patch) | |
tree | a3375986051d2743845580b7d36c9b4417652188 /src/sdgui.c | |
parent | 451859e976027410b97fda3147c4543ff86a429b (diff) | |
download | tdv-c75de30765354343369b02fbacf5eec1c2242da6.tar.gz tdv-c75de30765354343369b02fbacf5eec1c2242da6.tar.xz tdv-c75de30765354343369b02fbacf5eec1c2242da6.zip |
sdgui: create and install a program icon
Diffstat (limited to 'src/sdgui.c')
-rw-r--r-- | src/sdgui.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) |