/[pkg-src]/trunk/mozilla-firefox/patches/mozilla-firefox-1.0.7_mozilla-default-plugin-less-annoying.patch |
Annotation of /trunk/mozilla-firefox/patches/mozilla-firefox-1.0.7_mozilla-default-plugin-less-annoying.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 2277 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 2277 byte(s)
-import
1 | niro | 153 | --- mozilla/modules/plugin/samples/default/unix/npshell.c.foo Tue May 7 14:18:45 2002 |
2 | +++ mozilla/modules/plugin/samples/default/unix/npshell.c Tue May 7 14:49:55 2002 | ||
3 | @@ -224,7 +224,7 @@ | ||
4 | This->depth = ws_info->depth; | ||
5 | This->colormap = ws_info->colormap; | ||
6 | makePixmap(This); | ||
7 | - makeWidget(This); | ||
8 | + /* makeWidget(This); */ | ||
9 | } | ||
10 | return NPERR_NO_ERROR; | ||
11 | } | ||
12 | --- mozilla/modules/plugin/samples/default/unix/nullplugin.c.foo Tue May 7 14:18:45 2002 | ||
13 | +++ mozilla/modules/plugin/samples/default/unix/nullplugin.c Tue May 7 14:48:33 2002 | ||
14 | @@ -70,6 +70,8 @@ | ||
15 | |||
16 | gtk_object_remove_data(GTK_OBJECT(button), DIALOGID); | ||
17 | |||
18 | +#if 0 | ||
19 | + | ||
20 | if (This->pluginsFileUrl != NULL) | ||
21 | { | ||
22 | /* Get the JavaScript command string */ | ||
23 | @@ -110,6 +112,7 @@ | ||
24 | NPN_MemFree(url); | ||
25 | } | ||
26 | } | ||
27 | +#endif | ||
28 | destroyWidget(This); | ||
29 | } | ||
30 | |||
31 | @@ -265,14 +268,14 @@ | ||
32 | GTK_DIALOG(dialogWindow)->action_area); | ||
33 | gtk_object_set_data(GTK_OBJECT(okButton), DIALOGID, dialogWindow); | ||
34 | |||
35 | - cancelButton= AddWidget(gtk_button_new_with_label (CANCEL_BUTTON), | ||
36 | - GTK_DIALOG(dialogWindow)->action_area); | ||
37 | + /* cancelButton= AddWidget(gtk_button_new_with_label (CANCEL_BUTTON), | ||
38 | + GTK_DIALOG(dialogWindow)->action_area); */ | ||
39 | |||
40 | gtk_signal_connect (GTK_OBJECT(okButton), "clicked", | ||
41 | GTK_SIGNAL_FUNC(DialogOKClicked), This); | ||
42 | |||
43 | - gtk_signal_connect (GTK_OBJECT(cancelButton), "clicked", | ||
44 | - GTK_SIGNAL_FUNC(DialogCancelClicked), This); | ||
45 | + /* gtk_signal_connect (GTK_OBJECT(cancelButton), "clicked", | ||
46 | + GTK_SIGNAL_FUNC(DialogCancelClicked), This); */ | ||
47 | |||
48 | /* hookup to when the dialog is destroyed */ | ||
49 | gtk_signal_connect(GTK_OBJECT(dialogWindow), "destroy", | ||
50 | --- mozilla/modules/plugin/samples/default/unix/nullplugin.h.foo Tue May 7 14:46:48 2002 | ||
51 | +++ mozilla/modules/plugin/samples/default/unix/nullplugin.h Tue May 7 14:47:08 2002 | ||
52 | @@ -53,9 +53,7 @@ | ||
53 | #define JVM_MINETYPE "application/x-java-vm" | ||
54 | #define MESSAGE "\ | ||
55 | This page contains information of a type (%s) that can\n\ | ||
56 | -only be viewed with the appropriate Plug-in.\n\ | ||
57 | -\n\ | ||
58 | -Click OK to download Plugin." | ||
59 | +only be viewed with the appropriate Plug-in." | ||
60 | |||
61 | #define GET 1 | ||
62 | #define REFRESH 2 |