This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Rename growl_app_name to growl_net_name

Since you would need to re-register when changing the app name, we will
switch the setting name to growl_net_name so that all growl_net_*
settings require /growl-register which makes explanation easier.
  • Loading branch information...
1 parent 7172739 commit f0361349dc8d152ca16b3a1c269cae0173e9230e @kfdm committed Feb 11, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 growl-net.pl
View
@@ -37,7 +37,7 @@
Irssi::settings_add_str($IRSSI{'name'}, 'growl_net_pass', '');
Irssi::settings_add_str($IRSSI{'name'}, 'growl_net_client', 'localhost');
Irssi::settings_add_str($IRSSI{'name'}, 'growl_net_port', '23053');
-Irssi::settings_add_str($IRSSI{'name'}, 'growl_app_name', 'irssi');
+Irssi::settings_add_str($IRSSI{'name'}, 'growl_net_name', 'irssi');
Irssi::settings_add_str($IRSSI{'name'}, 'growl_net_icon', '');
# Sticky Settings
Irssi::settings_add_bool($IRSSI{'name'}, 'growl_net_sticky', 0);
@@ -56,7 +56,7 @@ sub cmd_help {
Irssi::print(' %ygrowl_net_client%n : Set to the hostname you want to recieve notifications on.');
Irssi::print(' %R>>>> (computer.local for a Mac network. Your \'localhost\').');
Irssi::print(' %ygrowl_net_port%n : Set to the port you want to recieve notifications on.');
- Irssi::print(' %ygrowl_app_name%n : Set to the name you want to give the machine irssi is running on.');
+ Irssi::print(' %ygrowl_net_name%n : Set to the name you want to give the machine irssi is running on.');
Irssi::print(' %ygrowl_net_pass%n : Set to your destination\'s Growl password. (Your machine)');
Irssi::print(' %ygrowl_auto_register%n : Automatically send gntp registration on script load');
@@ -67,7 +67,7 @@ sub cmd_help {
sub cmd_growl_net_test {
my $GrowlHost = Irssi::settings_get_str('growl_net_client');
- my $AppName = Irssi::settings_get_str('growl_app_name');
+ my $AppName = Irssi::settings_get_str('growl_net_name');
my $GrowlIcon = Irssi::settings_get_str('growl_net_icon');
my $Sticky = set_sticky();
@@ -184,7 +184,7 @@ sub setup {
my $GrowlHost = Irssi::settings_get_str('growl_net_client');
my $GrowlPort = Irssi::settings_get_str('growl_net_port');
my $GrowlPass = Irssi::settings_get_str('growl_net_pass');
- my $AppName = Irssi::settings_get_str('growl_app_name');
+ my $AppName = Irssi::settings_get_str('growl_net_name');
my $GrowlIcon = Irssi::settings_get_str('growl_net_icon');
Irssi::print("%G>>%n Registering to send messages to $GrowlHost:$GrowlPort");

0 comments on commit f036134

Please sign in to comment.