summaryrefslogtreecommitdiffstats
path: root/bin/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-14 16:19:06 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-14 16:19:06 +0000
commit655aefbc3f6ae9be0829332126340871529f3f08 (patch)
tree9d72e072364c8a59925aa0083ce8403835b6847a /bin/net_applet
parent7a1fd96fc477a757d31be774cced95b268d8faa5 (diff)
downloaddrakx-net-655aefbc3f6ae9be0829332126340871529f3f08.tar
drakx-net-655aefbc3f6ae9be0829332126340871529f3f08.tar.gz
drakx-net-655aefbc3f6ae9be0829332126340871529f3f08.tar.bz2
drakx-net-655aefbc3f6ae9be0829332126340871529f3f08.tar.xz
drakx-net-655aefbc3f6ae9be0829332126340871529f3f08.zip
use notification word instead of bubble
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-xbin/net_applet14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/net_applet b/bin/net_applet
index 2b349eb..1903989 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -159,7 +159,7 @@ eval {
});
} if $dbus;
-my $bubble_queue = Gtk2::Notify::Queue->new($icon);
+my $notification_queue = Gtk2::Notify::Queue->new($icon);
$icon->signal_connect(activate => sub {
my ($_icon, $button, $time) = @_;
@@ -312,9 +312,9 @@ sub go2State {
$need_update = 1;
}
if ($current_state ne $state_type) {
- my $show = defined $current_state; # don't show bubble at applet startup
+ my $show = defined $current_state; # don't show notification at applet startup
$current_state = $state_type;
- $bubble_queue->add({
+ $notification_queue->add({
title => $old_description || $current_description || N("Network connection"),
pixbuf => get_state_pixbuf(),
message => get_state_message($old_interface || $current_interface),
@@ -538,7 +538,7 @@ sub handle_ifw_message {
}
my $is_attack = $message->{prefix} ne 'NEW';
enable_ifw_alert() if $is_attack;
- $bubble_queue->add({
+ $notification_queue->add({
title => N("Interactive Firewall"),
pixbuf => $pixbufs{firewall},
message => $message->{msg},
@@ -567,7 +567,7 @@ sub ask_attack_verdict {
my $set_verdict = sub {
my ($verdict) = @_;
set_verdict($attack, $verdict);
- $bubble_queue->process_next;
+ $notification_queue->process_next;
};
gtkadd($w->{window},
gtknew('VBox', spacing => 5, children_loose => [
@@ -631,7 +631,7 @@ sub ask_attack_verdict {
sub handle_ifw_listen {
my $listen = network::ifw::parse_listen_message(\@_);
enable_ifw_alert();
- $bubble_queue->add({
+ $notification_queue->add({
title => N("Interactive Firewall: new service"),
pixbuf => $pixbufs{firewall},
message => $listen->{message},
@@ -651,7 +651,7 @@ sub ask_listen_verdict {
my $w = ugtk2->new(N("Interactive Firewall: new service"), icon => "drakfirewall");
my $set_verdict = sub {
- $bubble_queue->process_next;
+ $notification_queue->process_next;
};
gtkadd($w->{window},
gtknew('VBox', spacing => 5, children_loose => [