Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / perl5 / Debconf / Element / Gnome / | server ip : 172.67.156.115 your ip : 172.69.214.58 H O M E |
Filename | /usr/share/perl5/Debconf/Element/Gnome/Note.pm |
Size | 1.05 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 23-Feb-2014 22:30 |
Last accessed | 06-Jul-2025 21:25 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/usr/bin/perl -w
# This file was preprocessed, do not edit!
package Debconf::Element::Gnome::Note;
use strict;
use Debconf::Gettext;
use Gtk2;
use utf8;
use Debconf::Encoding qw(to_Unicode);
use Debconf::Element::Noninteractive::Note;
use base qw(Debconf::Element::Gnome);
sub init {
my $this=shift;
my $extended_description = to_Unicode($this->question->extended_description);
$this->SUPER::init(@_);
$this->multiline(1);
$this->fill(1);
$this->expand(1);
$this->widget(Gtk2::HBox->new(0, 0));
my $text = Gtk2::TextView->new();
my $textbuffer = $text->get_buffer;
$text->show;
$text->set_wrap_mode ("word");
$text->set_editable (0);
my $scrolled_window = Gtk2::ScrolledWindow->new();
$scrolled_window->show;
$scrolled_window->set_policy('automatic', 'automatic');
$scrolled_window->set_shadow_type('in');
$scrolled_window->add ($text);
$this->widget->show;
$this->widget->pack_start($scrolled_window, 1, 1, 0);
$textbuffer->set_text($extended_description);
$this->widget->show;
$this->adddescription;
$this->addwidget($this->widget);
}
1
# This file was preprocessed, do not edit!
package Debconf::Element::Gnome::Note;
use strict;
use Debconf::Gettext;
use Gtk2;
use utf8;
use Debconf::Encoding qw(to_Unicode);
use Debconf::Element::Noninteractive::Note;
use base qw(Debconf::Element::Gnome);
sub init {
my $this=shift;
my $extended_description = to_Unicode($this->question->extended_description);
$this->SUPER::init(@_);
$this->multiline(1);
$this->fill(1);
$this->expand(1);
$this->widget(Gtk2::HBox->new(0, 0));
my $text = Gtk2::TextView->new();
my $textbuffer = $text->get_buffer;
$text->show;
$text->set_wrap_mode ("word");
$text->set_editable (0);
my $scrolled_window = Gtk2::ScrolledWindow->new();
$scrolled_window->show;
$scrolled_window->set_policy('automatic', 'automatic');
$scrolled_window->set_shadow_type('in');
$scrolled_window->add ($text);
$this->widget->show;
$this->widget->pack_start($scrolled_window, 1, 1, 0);
$textbuffer->set_text($extended_description);
$this->widget->show;
$this->adddescription;
$this->addwidget($this->widget);
}
1