updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / galeon / galeon-2.0.7-jsconsole.patch
blob4b99ad3d03cf593dd367897a75503e56662817cf
1 --- galeon-2.0.7/mozilla/mozilla-embed-shell.cpp~ 2008-09-03 06:58:17.000000000 +0200
2 +++ galeon-2.0.7/mozilla/mozilla-embed-shell.cpp 2009-04-30 12:38:33.164540313 +0200
3 @@ -409,8 +409,6 @@
4 ret = mozilla_register_components ();
5 if (ret == FALSE) return FALSE;
7 - mozilla_init_js_console ();
9 mozilla_init_cookie_observer();
11 return TRUE;
12 --- galeon-2.0.7/ui/galeon-egg-ui.xml~ 2008-07-04 18:30:59.000000000 +0200
13 +++ galeon-2.0.7/ui/galeon-egg-ui.xml 2009-05-09 00:34:28.645768357 +0200
14 @@ -77,7 +77,6 @@
15 <menuitem name="WebAllowJava" action="WebAllowJavaAction" />
16 <menuitem name="WebAllowJS" action="WebAllowJSAction" />
17 <separator name="WSep4" />
18 - <menuitem name="WebJavaConsole" action="WebJavaConsoleAction" />
19 <menuitem name="WebJSConsole" action="WebJSConsoleAction" />
20 </menu>
21 <menu name="Go" action="GoMenuAction">
22 --- galeon-2.0.7/src/galeon-window.c~ 2008-07-04 18:30:50.000000000 +0200
23 +++ galeon-2.0.7/src/galeon-window.c 2009-05-09 00:33:50.173017926 +0200
24 @@ -190,7 +190,6 @@
25 #define WEB_POPUPS_ALWAYS_ACTION "WebPopupsAlwaysAction"
26 #define WEB_ALLOW_JAVA_ACTION "WebAllowJavaAction"
27 #define WEB_ALLOW_JS_ACTION "WebAllowJSAction"
28 -#define WEB_JAVA_CONSOLE_ACTION "WebJavaConsoleAction"
30 #define VIEW_SOURCE_ACTION "FilePageSourceAction"
31 #define FILE_PRINT_ACTION "FilePrintAction"
32 @@ -379,8 +378,6 @@
33 { "ViewImagesAllowSiteAction", NULL, N_("_Allow Images From This Site"), NULL,
34 N_("Block Images from this site from loading"), G_CALLBACK(window_cmd_set_permission) },
36 - { WEB_JAVA_CONSOLE_ACTION, NULL, N_("Java _Console"), NULL,
37 - N_("Show Java console window"), G_CALLBACK(window_cmd_show_java_console) },
38 { "WebJSConsoleAction", NULL, N_("J_avaScript Console"), NULL,
39 N_("Show JavaScript console window"), G_CALLBACK(window_cmd_show_js_console) },
41 @@ -1156,9 +1153,6 @@
42 java_enabled = eel_gconf_get_boolean(CONF_FILTERING_JAVA_ENABLED);
44 gtk_toggle_action_set_active(TOGGLE_ITEM(WEB_ALLOW_JAVA_ACTION), java_enabled);
46 - g_object_set (ACTION_ITEM(WEB_JAVA_CONSOLE_ACTION),
47 - "sensitive", java_enabled, NULL);
50 static void