~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcdocs/gtk4ex/factions.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Procedure DoProperties(widget : pGtkWidget ; Window : PMainWindow); cdecl;
 
2
 
 
3
Var i : longint;
 
4
    S : string;
 
5
    Dlg : PFilePropertiesDialog;
 
6
 
 
7
begin
 
8
  With Window^ do
 
9
    S:=AddTrailingSeparator(FDir)+GetFileFirstSelection(FileList);
 
10
  Dlg:=NewFilePropertiesDialog(S);
 
11
  ShowFilePropertiesDialog(Dlg);
 
12
end;
 
13
 
 
14
Procedure DeleteFile(Widget : PGtkWidget; Window : PMainWindow); cdecl;
 
15
 
 
16
Var i : longint;
 
17
    S : TStringList;
 
18
 
 
19
begin
 
20
  S:=TStringList.Create;
 
21
  Try
 
22
    GetFileSelection(Window^.FileList,S);
 
23
    For I:=0 to S.Count-1 do
 
24
      begin
 
25
      For I:=0 to S.Count-1 do
 
26
        SysUtils.DeleteFile(Window^.FDir+S[i]);
 
27
      end;
 
28
  Finally
 
29
    If S.Count>0 then
 
30
      RefreshFileView(Window);
 
31
    S.Free;
 
32
  end;
 
33
end;
 
 
b'\\ No newline at end of file'