~ubuntu-branches/debian/jessie/shutter/jessie

« back to all changes in this revision

Viewing changes to share/shutter/resources/system/plugins/perl/spwatermark/spwatermark

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-12-24 21:47:06 UTC
  • mfrom: (1.2.3 upstream) (2.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20091224214706-c2ve4k7anyqhzvr1
* New Upstream Version
* update and change some deps
* update email address
* set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
my $d = Locale::gettext->domain("shutter-plugins");
52
52
$d->dir( $ENV{'SHUTTER_INTL'} );
53
53
 
 
54
#icontheme to determine if icons exist or not
 
55
#in some cases we deliver fallback icons
 
56
my $icontheme = Gtk2::IconTheme->get_default;
 
57
$icontheme->append_search_path($ENV{'SHUTTER_ROOT'} . "/share/icons");
 
58
 
54
59
#shutter will ask for some infos
55
 
my %plugin_info =       (       'name'  => $d->get( "watermark" ),
56
 
                                                'sort'  => $d->get( "effect" ),
57
 
                                                'tip'   => $d->get("add a custom text watermark to your screenshot"),
 
60
my %plugin_info =       (       'name'  => $d->get( "Watermark" ),
 
61
                                                'sort'  => $d->get( "Effect" ),
 
62
                                                'tip'   => $d->get("Add a custom text watermark to your screenshot"),
58
63
                                        );
59
64
 
60
65
binmode( STDOUT, ":utf8" );
74
79
utf8::decode $filename;
75
80
 
76
81
my $plug = Gtk2::Plug->new( $socket_id );
77
 
eval{
78
 
        $plug->set_default_icon_from_file( $ENV{'SHUTTER_ICON'} );
79
 
};
 
82
$plug->set_default_icon_name( 'shutter' );
80
83
$plug->set_border_width( 10 );
81
84
 
82
85
$plug->signal_connect( destroy => sub { Gtk2->main_quit } );