File: nautilus.pl

package info (click to toggle)
libui-dialog-perl 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 808 kB
  • sloc: perl: 7,403; makefile: 2
file content (25 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;

use UI::Dialog::Backend::Nautilus;
my $n = new UI::Dialog::Backend::Nautilus;

my @paths = $n->paths();
my @uris = $n->uris();
my $path = $n->path();
my $uri = $n->uri();
my @geo = $n->geometry();

use UI::Dialog::GNOME;
my $d = new UI::Dialog::GNOME;
$d->msgbox
  ( text=>
    [ 'paths: '.join(" ",@paths),
      'uris: '.join(" ",@uris),
      'path: '.$path,
      'uri: '.$uri,
      'geo: '.join(" ",@geo)
    ]
  );