mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 02:59:19 +02:00
gtk2 intf only showing one grip for last statusbar panel from Andrew Haines
git-svn-id: trunk@7255 -
This commit is contained in:
parent
07807f53bf
commit
4056975eaf
@ -7,8 +7,7 @@ unit Printer4Lazarus;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
PrintersDlgs, OSPrinters, uDlgSelectPrinter, cupsdyn, uDlgPropertiesPrinter,
|
PrintersDlgs, OSPrinters, LazarusPackageIntf;
|
||||||
LazarusPackageIntf;
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -5789,6 +5789,16 @@ begin
|
|||||||
UpdateStatusBarPanel(StatusBar,i,CurStatusPanelWidget);
|
UpdateStatusBarPanel(StatusBar,i,CurStatusPanelWidget);
|
||||||
inc(i);
|
inc(i);
|
||||||
ListItem:=ListItem^.next;
|
ListItem:=ListItem^.next;
|
||||||
|
{$IFDEF GTK2}
|
||||||
|
if ListItem <> nil then begin
|
||||||
|
if gtk_statusbar_get_has_resize_grip(PGtkStatusBar(CurStatusPanelWidget)) then
|
||||||
|
gtk_statusbar_set_has_resize_grip(PGtkStatusBar(CurStatusPanelWidget), False);
|
||||||
|
end
|
||||||
|
else begin
|
||||||
|
if not gtk_statusbar_get_has_resize_grip(PGtkStatusBar(CurStatusPanelWidget)) then
|
||||||
|
gtk_statusbar_set_has_resize_grip(PGtkStatusBar(CurStatusPanelWidget), True);
|
||||||
|
end;
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -8213,6 +8223,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.363 2005/06/20 09:07:09 mattias
|
||||||
|
gtk2 intf only showing one grip for last statusbar panel from Andrew Haines
|
||||||
|
|
||||||
Revision 1.362 2005/06/13 09:38:54 mattias
|
Revision 1.362 2005/06/13 09:38:54 mattias
|
||||||
updated COPYING and README for new files
|
updated COPYING and README for new files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user