8 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$mw->DropSite(
-dropcommand => [\&Dropit, $mw],
-droptypes => ($^O eq 'MSWin32' ? 'Win32' : ['KDE', 'XDND', 'Sun'])
);
#------ jetzt die sub -----
sub Dropit
{
my($widget, $selection) = @_;
my $found=0;
my $filename;
# $filename = $widget->SelectionGet(-selection => $selection, 'STRING');
eval {
if ($^O eq 'MSWin32') {
$filename = $widget->SelectionGet(-selection => $selection, 'STRING');
} else {
$filename = $widget->SelectionGet(-selection => $selection, 'FILE_NAME');
}
};
#Nur erlaubtes einfügen...;-)
for(@endungen)
{
if($filename =~ /\.$_\Z/gis)
{ push(@{$Katdata2{$Kat}},$filename);$inidir = $filename;&katrenew; last;}
}
}
Quote--- Module/ScanDeps.pm.orig 2005-05-19 13:36:11.000000000 +0200
+++ Module/ScanDeps.pm 2005-05-19 13:49:59.000000000 +0200
@@ ca. Zeile: -> 295 @@
'Tk/Balloon.pm' => [qw( Tk/balArrow.xbm )],
'Tk/BrowseEntry.pm' => [qw( Tk/cbxarrow.xbm Tk/arrowdownwin.xbm )],
'Tk/ColorEditor.pm' => [qw( Tk/ColorEdit.xpm )],
+ 'Tk/DragDrop/Common.pm' => sub {
+ _glob_in_inc('Tk/DragDrop', 1);
+ },
'Tk/FBox.pm' => [qw( Tk/folder.xpm Tk/file.xpm )],
'Tk/Toplevel.pm' => [qw( Tk/Wm.pm )],
'URI.pm' => sub {
8 Einträge, 1 Seite |