A new user interface for you! Read more...

File chromium-support.patch of Package chrome-meego-extension

diff -rub chrome-meego-extension-0.1.0/plugin/src/MeeGoPluginAPI.cpp chrome-meego-extension-0.1.0.mine/plugin/src/MeeGoPluginAPI.cpp
--- chrome-meego-extension-0.1.0/plugin/src/MeeGoPluginAPI.cpp	2010-04-27 08:05:24.000000000 -0700
+++ chrome-meego-extension-0.1.0.mine/plugin/src/MeeGoPluginAPI.cpp	2010-05-14 12:46:03.948030289 -0700
@@ -21,6 +21,9 @@
 #include "DOM/JSAPI_DOMWindow.h"
 #include "MeeGoPluginAPI.h"
 
+
+#define CHROME_EXE_PATH "/opt/google/chrome/"
+
 //#define EXTENSION_DEBUG
 
 static gboolean
@@ -110,8 +113,14 @@
   data.display_name = (gchar*)(title.c_str());
   data.description = (gchar*)"";
   data.mime_type = (gchar*)"text/html";
+  if (g_file_test(CHROME_EXE_PATH"chrome", G_FILE_TEST_EXISTS)) {
   data.app_name = (gchar*)"google-chrome";
   data.app_exec = (gchar*)"google-chrome \"%u\"";
+  }
+  else{
+   data.app_name = (gchar*)"chromium";
+   data.app_exec = (gchar*)"chromium \"%u\"";
+  }
   data.is_private = FALSE;
   data.groups = NULL;
 
diff -rub chrome-meego-extension-0.1.0/tools/installer/installer.py chrome-meego-extension-0.1.0.mine/tools/installer/installer.py
--- chrome-meego-extension-0.1.0/tools/installer/installer.py	2010-03-26 00:36:44.000000000 -0700
+++ chrome-meego-extension-0.1.0.mine/tools/installer/installer.py	2010-05-14 17:50:17.964463023 -0700
@@ -9,7 +9,8 @@
 
 DST_JSON_FILE = 'external_extensions.json'
 EXTENSIONS_DIR = 'extensions'
-CHROME_PATH = '/opt/google/chrome'
+#CHROME_PATH = '/opt/google/chrome'
+CHROME_PATH = '/usr/lib/chromium-browser'
 CHROMIUM_PATH = '/usr/lib/chromium-browser'
 
 def print_help():