Permalink
Browse files

Remove cinnamon-version.xml, just use an environment variable to

get the version for cinnamon settings info panel
  • Loading branch information...
1 parent e885808 commit 664653c1eacf6a58be1c0cf62823581df6588904 @mtwebster mtwebster committed Jan 27, 2013
Showing with 4 additions and 9 deletions.
  1. +0 −8 files/usr/share/cinnamon/cinnamon-version.xml
  2. +4 −1 src/main.c
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<gnome-version>
- <platform>1</platform>
- <minor>6</minor>
- <micro>7</micro>
- <distributor>Linux Mint</distributor>
- <date>2013-01-25</date>
-</gnome-version>
View
@@ -271,7 +271,10 @@ main (int argc, char **argv)
*/
g_setenv ("GJS_DEBUG_OUTPUT", "stderr", TRUE);
g_setenv ("GJS_DEBUG_TOPICS", "JS ERROR;JS LOG", TRUE);
-
+
+ g_setenv ("CINNAMON_VERSION", VERSION, TRUE);
+
+
center_pointer_on_screen();
cinnamon_dbus_init (meta_get_replace_current_wm ());

0 comments on commit 664653c

Please sign in to comment.