updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / galeon / galeon-2.0.7-nojavaconsole.patch
blob9d6d8ac0b776ab6164a8eb3a9b7c17f3bd607756
1 diff -ur galeon-2.0.7.nojsconsole/mozilla/mozilla-embed-shell.cpp galeon-2.0.7.nojavaconsole/mozilla/mozilla-embed-shell.cpp
2 --- galeon-2.0.7.nojsconsole/mozilla/mozilla-embed-shell.cpp 2009-11-20 12:48:12.000000000 +0200
3 +++ galeon-2.0.7.nojavaconsole/mozilla/mozilla-embed-shell.cpp 2009-11-20 12:49:51.000000000 +0200
4 @@ -62,7 +62,6 @@
5 #include <nsCOMPtr.h>
6 #include <nsNetCID.h>
7 #include <nsIIOService.h>
8 -#include <nsIJVMManager.h>
9 #include <nsIFontEnumerator.h>
10 #include <nsISupportsPrimitives.h>
11 #include <nsIPermissionManager.h>
12 @@ -118,8 +117,6 @@
13 MozillaEncodings *encodings;
16 -static NS_DEFINE_CID(kJVMManagerCID, NS_JVMMANAGER_CID);
18 G_DEFINE_TYPE (MozillaEmbedShell, mozilla_embed_shell, GALEON_TYPE_EMBED_SHELL);
20 static gboolean
21 @@ -514,11 +511,6 @@
22 static void
23 impl_show_java_console (GaleonEmbedShell *shell)
25 - nsCOMPtr<nsIJVMManager> JVMManager = do_GetService (kJVMManagerCID);
26 - if (JVMManager)
27 - {
28 - JVMManager->ShowJavaConsole ();
29 - }
32 static GaleonEncodings *
33 diff -ur galeon-2.0.7.nojsconsole/ui/galeon-egg-ui.xml galeon-2.0.7.nojavaconsole/ui/galeon-egg-ui.xml
34 --- galeon-2.0.7.nojsconsole/ui/galeon-egg-ui.xml 2009-11-20 12:48:12.000000000 +0200
35 +++ galeon-2.0.7.nojavaconsole/ui/galeon-egg-ui.xml 2009-11-20 12:49:59.000000000 +0200
36 @@ -76,8 +76,6 @@
37 <separator name="WSep3" />
38 <menuitem name="WebAllowJava" action="WebAllowJavaAction" />
39 <menuitem name="WebAllowJS" action="WebAllowJSAction" />
40 - <separator name="WSep4" />
41 - <menuitem name="WebJSConsole" action="WebJSConsoleAction" />
42 </menu>
43 <menu name="Go" action="GoMenuAction">
44 <menuitem name="GoBack" action="GoBack" />