summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2013-12-29 14:35:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2013-12-29 14:35:05 (GMT)
commit96fc5ec3edf4b2391be52c3932d5ad5553b93186 (patch)
treed51a9012325507b413d071d6a78faba3a00c0fa4
parent0f9f9028ad0efe92e001c990d2d3f9ae2ad2a88a (diff)
Given a proper application name to Gnome.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@363 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-rw-r--r--ChangeLog5
-rw-r--r--src/main.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 46d607f..68bc8bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
13-12-29 Cyrille Bagard <nocbos@gmail.com>
+ * src/main.c:
+ Give a proper application name to Gnome.
+
+13-12-29 Cyrille Bagard <nocbos@gmail.com>
+
* configure.ac
* src/analysis/type.h
* src/analysis/types/basic.h
diff --git a/src/main.c b/src/main.c
index 18637ff..ca7be49 100644
--- a/src/main.c
+++ b/src/main.c
@@ -100,14 +100,12 @@ int main(int argc, char **argv)
const char *filename; /* Chemin du dernier projet */
GStudyProject *project; /* Nouveau projet courant */
-
if (argc > 1 && strcmp(argv[1], "--version") == 0)
{
show_version();
return EXIT_SUCCESS;
}
-
config = load_configuration("main", main_params, MPT_COUNT);
set_main_configuration(config);
@@ -120,6 +118,7 @@ int main(int argc, char **argv)
gdk_threads_enter();
/* Initialisation de GTK */
+ g_set_prgname("Chrysalide");
setlocale (LC_ALL, "");
gtk_init(&argc, &argv);