From e4379b1df0b0f8fc307234f70d474f3ec5ed8495 Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Mon, 3 Dec 2012 13:41:11 +0000 Subject: [PATCH] fpbrowser: Adds Firefox to the list of browser User Agents git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2597 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- applications/fpbrowser/dlgconfig.lfm | 10 +++++----- applications/fpbrowser/dlgconfig.lrs | 22 +++++++++++----------- applications/fpbrowser/fpbrowser.lpi | 1 + 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/applications/fpbrowser/dlgconfig.lfm b/applications/fpbrowser/dlgconfig.lfm index efcf0d5db..84532c073 100644 --- a/applications/fpbrowser/dlgconfig.lfm +++ b/applications/fpbrowser/dlgconfig.lfm @@ -6,12 +6,12 @@ object formConfig: TformConfig Caption = 'FPBrowser Preferences' ClientHeight = 240 ClientWidth = 320 - LCLVersion = '0.9.31' + LCLVersion = '1.1' object Label1: TLabel Left = 8 - Height = 14 + Height = 15 Top = 8 - Width = 59 + Width = 66 Caption = 'User Agent:' ParentColor = False end @@ -20,11 +20,11 @@ object formConfig: TformConfig Height = 21 Top = 24 Width = 304 - ItemHeight = 13 - ItemIndex = 0 + ItemHeight = 0 Items.Strings = ( 'FPBrowser/1.0 (Mobile; U; en-GB)' 'Opera/9.80 (iPhone; Opera Mini/6.5.1.23995/27.1227; U; pt) Presto/2.8.119 Version/11.10' + 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060101 Firefox/1.0.8' ) TabOrder = 0 Text = 'FPBrowser/1.0 (Mobile; U; en-GB)' diff --git a/applications/fpbrowser/dlgconfig.lrs b/applications/fpbrowser/dlgconfig.lrs index 7e97c0846..dc7cb9bd0 100644 --- a/applications/fpbrowser/dlgconfig.lrs +++ b/applications/fpbrowser/dlgconfig.lrs @@ -3,16 +3,16 @@ LazarusResources.Add('TformConfig','FORMDATA',[ 'TPF0'#11'TformConfig'#10'formConfig'#4'Left'#3#183#1#6'Height'#3#240#0#3'Top' +#3#244#0#5'Width'#3'@'#1#7'Caption'#6#21'FPBrowser Preferences'#12'ClientHei' - +'ght'#3#240#0#11'ClientWidth'#3'@'#1#10'LCLVersion'#6#6'0.9.31'#0#6'TLabel'#6 - +'Label1'#4'Left'#2#8#6'Height'#2#14#3'Top'#2#8#5'Width'#2';'#7'Caption'#6#11 + +'ght'#3#240#0#11'ClientWidth'#3'@'#1#10'LCLVersion'#6#3'1.1'#0#6'TLabel'#6'L' + +'abel1'#4'Left'#2#8#6'Height'#2#15#3'Top'#2#8#5'Width'#2'B'#7'Caption'#6#11 +'User Agent:'#11'ParentColor'#8#0#0#9'TComboBox'#14'comboUserAgent'#4'Left'#2 - +#8#6'Height'#2#21#3'Top'#2#24#5'Width'#3'0'#1#10'ItemHeight'#2#13#9'ItemInde' - +'x'#2#0#13'Items.Strings'#1#6' FPBrowser/1.0 (Mobile; U; en-GB)'#6'WOpera/9.' - +'80 (iPhone; Opera Mini/6.5.1.23995/27.1227; U; pt) Presto/2.8.119 Version/1' - +'1.10'#0#8'TabOrder'#2#0#4'Text'#6' FPBrowser/1.0 (Mobile; U; en-GB)'#0#0#7 - +'TButton'#8'btnClose'#4'Left'#3#176#0#6'Height'#2#25#3'Top'#3#200#0#5'Width' - +#2's'#7'Caption'#6#14'Save and Close'#7'OnClick'#7#13'btnCloseClick'#8'TabOr' - +'der'#2#1#0#0#7'TButton'#9'btnCancel'#4'Left'#2#24#6'Height'#2#25#3'Top'#3 - +#200#0#5'Width'#2's'#7'Caption'#6#6'Cancel'#11'ModalResult'#2#2#8'TabOrder'#2 - +#2#0#0#0 + +#8#6'Height'#2#21#3'Top'#2#24#5'Width'#3'0'#1#10'ItemHeight'#2#0#13'Items.St' + +'rings'#1#6' FPBrowser/1.0 (Mobile; U; en-GB)'#6'WOpera/9.80 (iPhone; Opera ' + +'Mini/6.5.1.23995/27.1227; U; pt) Presto/2.8.119 Version/11.10'#6'OMozilla/5' + +'.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060101 Firefox/1.0.8'#0#8 + +'TabOrder'#2#0#4'Text'#6' FPBrowser/1.0 (Mobile; U; en-GB)'#0#0#7'TButton'#8 + +'btnClose'#4'Left'#3#176#0#6'Height'#2#25#3'Top'#3#200#0#5'Width'#2's'#7'Cap' + +'tion'#6#14'Save and Close'#7'OnClick'#7#13'btnCloseClick'#8'TabOrder'#2#1#0 + +#0#7'TButton'#9'btnCancel'#4'Left'#2#24#6'Height'#2#25#3'Top'#3#200#0#5'Widt' + +'h'#2's'#7'Caption'#6#6'Cancel'#11'ModalResult'#2#2#8'TabOrder'#2#2#0#0#0 ]); diff --git a/applications/fpbrowser/fpbrowser.lpi b/applications/fpbrowser/fpbrowser.lpi index b75494251..e4d068213 100644 --- a/applications/fpbrowser/fpbrowser.lpi +++ b/applications/fpbrowser/fpbrowser.lpi @@ -165,6 +165,7 @@ +