projects
/
pr0n
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2488dbb
)
Register as a printing provider as well, for the benefit of Vista users.
author
Steinar H. Gunderson
<sesse@debian.org>
Mon, 13 Jul 2009 14:22:31 +0000
(16:22 +0200)
committer
Steinar H. Gunderson
<sesse@debian.org>
Mon, 13 Jul 2009 14:22:31 +0000
(16:22 +0200)
perl/Sesse/pr0n/Registry.pm
patch
|
blob
|
history
diff --git
a/perl/Sesse/pr0n/Registry.pm
b/perl/Sesse/pr0n/Registry.pm
index 14b5b1447bb4c194622590727c43e9e733b95bb8..4ebd4f718c6e477d20540516092696468743bf37 100644
(file)
--- a/
perl/Sesse/pr0n/Registry.pm
+++ b/
perl/Sesse/pr0n/Registry.pm
@@
-22,6
+22,12
@@
sub handler {
$r->print("\"DisplayName\"=\"$vhost\"\r\n");
$r->print("\"Description\"=\"$desc\"\r\n");
$r->print("\"HREF\"=\"http://$vhost/wizard\"\r\n");
$r->print("\"DisplayName\"=\"$vhost\"\r\n");
$r->print("\"Description\"=\"$desc\"\r\n");
$r->print("\"HREF\"=\"http://$vhost/wizard\"\r\n");
+ $r->print("");
+ $r->print("[HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Currentversion\\Explorer\\PublishingWizard\\InternetPhotoPrinting\\Providers\\$vhost]\r\n");
+ $r->print("\"Icon\"=\"http://$vhost/pr0n.ico\"\r\n");
+ $r->print("\"DisplayName\"=\"$vhost\"\r\n");
+ $r->print("\"Description\"=\"$desc\"\r\n");
+ $r->print("\"HREF\"=\"http://$vhost/wizard\"\r\n");
return Apache2::Const::OK;
}
return Apache2::Const::OK;
}