aboutsummaryrefslogtreecommitdiff
path: root/src/sdgui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdgui.c')
-rw-r--r--src/sdgui.c5
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)