Fix menu->quit & fix WRKSRC/WRKDIST confusion while here, bump.
Noticed by & same diff from phessler@
This commit is contained in:
parent
bda384863c
commit
50f00c99f5
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/07 09:01:39 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2009/06/09 15:10:19 landry Exp $
|
||||
|
||||
COMMENT= XKCD comic viewer
|
||||
|
||||
DISTNAME= XKCD_viewer-0.1
|
||||
PKGNAME= ${DISTNAME:L:S/_/-/}
|
||||
PKGNAME= ${DISTNAME:L:S/_/-/}p0
|
||||
CATEGORIES= misc
|
||||
|
||||
MASTER_SITES= http://www.autistici.org/fox/files/XKCD_viewer/
|
||||
@ -14,7 +14,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/XKCD_viewer
|
||||
WRKDIST= ${WRKDIR}/XKCD_viewer
|
||||
MODULES= perl
|
||||
|
||||
CONFIGURE_STYLE=perl
|
||||
|
15
misc/xkcd-viewer/patches/patch-script_xkcd_viewer_pl
Normal file
15
misc/xkcd-viewer/patches/patch-script_xkcd_viewer_pl
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-script_xkcd_viewer_pl,v 1.1 2009/06/09 15:10:19 landry Exp $
|
||||
--- script/xkcd_viewer.pl.orig Tue Jun 9 17:03:48 2009
|
||||
+++ script/xkcd_viewer.pl Tue Jun 9 17:04:25 2009
|
||||
@@ -133,10 +133,10 @@ $mainwindow->set_default_icon(Gtk2::Gdk::Pixbuf->new_f
|
||||
#Handlers
|
||||
$mainwindow->signal_connect('delete_event' => sub {Gtk2->main_quit;});
|
||||
$mainwindow->signal_connect('destroy' => sub {Gtk2->main_quit;} );
|
||||
+$quit->signal_connect("activate" => sub {Gtk2->main_quit;});
|
||||
$box->signal_connect('key-press-event' => \&key_bindings);
|
||||
$saveas->signal_connect("activate" ,\&on_save,$mainwindow);
|
||||
$search->signal_connect("activate" ,\&on_search,$mainwindow);
|
||||
-$quit->signal_connect("activate" ,\&delete_event,$mainwindow);
|
||||
$about->signal_connect("activate" ,\&on_about,$mainwindow);
|
||||
$getlink->signal_connect("activate" ,\&on_getlink,$mainwindow);
|
||||
$inslink->signal_connect("activate" ,\&on_inslink,$mainwindow);
|
Loading…
Reference in New Issue
Block a user