diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-22 11:49:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-22 11:49:31 +0000 |
commit | 84b39ea9ef8fa0927ee1fd04588f03e7fef96bf0 (patch) | |
tree | aa7ed36e21e087ccb419395c4817c891d1a5b41e /gecko.pm | |
parent | f25b452eb966601361d43415470e2c2033d891a8 (diff) | |
download | control-center-84b39ea9ef8fa0927ee1fd04588f03e7fef96bf0.tar control-center-84b39ea9ef8fa0927ee1fd04588f03e7fef96bf0.tar.gz control-center-84b39ea9ef8fa0927ee1fd04588f03e7fef96bf0.tar.bz2 control-center-84b39ea9ef8fa0927ee1fd04588f03e7fef96bf0.tar.xz control-center-84b39ea9ef8fa0927ee1fd04588f03e7fef96bf0.zip |
remove never used module
Diffstat (limited to 'gecko.pm')
-rwxr-xr-x | gecko.pm | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/gecko.pm b/gecko.pm deleted file mode 100755 index eb444d10..00000000 --- a/gecko.pm +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/perl - -# $Id$ -# TITLE: Mozilla embedding -# REQUIRES: Gtk Mozilla - -use strict; -use lib qw(/usr/lib/libDrakX); -use POSIX qw(getenv); -use my_gtk; -use Gtk::MozEmbed; -use MDK::Common; -use interactive; -use standalone; - - -# unless you use a threaded perl, you need to run this app with: -# LD_PRELOAD=libpthread-0.9.so or something like that to make use of networking -init Gtk; -Gtk->set_locale; - -system("LD_PRELOAD=libpthread.so ; export LD_PRELOAD"); - -#my $in = vnew interactive('su'); -my $window = $::isEmbedded ? new Gtk::Plug ($::XID) : new Gtk::Window -toplevel; -$window->set_default_size(600, 400); -$window->signal_connect('destroy', sub { my_gtk->exit(0) }); - -my $box1 = new Gtk::VBox($false, 0); - -my $event_box = new Gtk::EventBox(); -$box1->add($event_box); -$event_box->show(); - -my $embed_moz = new Gtk::MozEmbed; -#$embed_moz->load_url(shift || "https://www.mandrake.com"); -$embed_moz->render_data("hello world","/","text/html"); -$embed_moz->open_stream("/","text/html"); -$embed_moz->append_data("</html>\n</body>\nhello world\n</body>\n</html>\n"); -$embed_moz->close_stream(); -$event_box->add($embed_moz); -$embed_moz->show(); - -my $separator = new Gtk::HSeparator(); -$box1->pack_start($separator,$false,$false,0); -$separator->show(); - -my $box2 = new Gtk::HBox($false,0); -$box1->pack_start($box2,$false,$false,0); -$box2->show(); - -my $button_next = new Gtk::Button("Next"); -$box2->pack_end($button_next,$false,$false,0); -$button_next->show(); - -my $button_prev = new Gtk::Button("Previous"); -$box2->pack_end($button_prev,$false,$false,0); -$button_prev->show(); - -my $button_skipwiz = new Gtk::Button("Skip Wizard"); -$button_skipwiz->signal_connect (clicked => sub { my_gtk->exit(0) }); -$box2->pack_start($button_skipwiz,$false,$false,0); -$button_skipwiz->show(); - -$window->add($box1); - -$box1->show; -$window->show; - -Gtk->main; -exit (0); |