[ekiga] [windows] Allow execution from Start->Execute menu



commit b539a549a605ff9777ec94571cd98aabc2f47b3f
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Fri Nov 2 10:07:36 2012 +0100

    [windows] Allow execution from Start->Execute menu

 src/gui/main.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index a73ca5a..e6d663c 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -107,6 +107,10 @@ main (int argc,
 
   /* initialize platform-specific code */
   gm_platform_init ();
+#ifdef WIN32
+  // plugins (i.e. the audio/video ptlib/opal codecs) are searched in ./plugins
+  chdir (win32_datadir ());
+#endif
 
   /* Configuration backend initialization */
   gm_conf_init ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]