[haiku-commits] haiku: hrev49854 - src/apps/webpositive

  • From: jessica.l.hamilton@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 17 Nov 2015 23:05:16 +0100 (CET)

hrev49854 adds 1 changeset to branch 'master'
old head: 6b2059fd190b925a4da5c0420efeb01f3c0fbea3
new head: 823513263eab8c570d59aeeb4332c8e8394b824a
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=823513263eab+%5E6b2059fd190b

----------------------------------------------------------------------------

823513263eab: WebPositive: fix count of pagesCreated when starting up.

With the new session restore code in WebPositive, it would
restore the session and then open an extra window on top, as
the pagesCreated counter did not add the new window(s) to the
counter, only new tabs.

[ Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49854
Commit: 823513263eab8c570d59aeeb4332c8e8394b824a
URL: http://cgit.haiku-os.org/haiku/commit/?id=823513263eab
Author: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
Date: Tue Nov 17 22:02:04 2015 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+)
src/apps/webpositive/BrowserApp.cpp | 1 +

----------------------------------------------------------------------------

diff --git a/src/apps/webpositive/BrowserApp.cpp
b/src/apps/webpositive/BrowserApp.cpp
index 6bacb3f..ef865af 100644
--- a/src/apps/webpositive/BrowserApp.cpp
+++ b/src/apps/webpositive/BrowserApp.cpp
@@ -243,6 +243,7 @@ BrowserApp::ReadyToRun()

if (window != NULL) {
window->Show();
+ pagesCreated++;

for (int j = 1; archivedWindow.FindString("tab", j,
&url) == B_OK;
j++) {


Other related posts:

  • » [haiku-commits] haiku: hrev49854 - src/apps/webpositive - jessica . l . hamilton