[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2123: Create the message log, network map, bandwidth graph, and se (in trunk: . src/gui)



Author: edmanm
Date: 2007-11-21 18:19:58 -0500 (Wed, 21 Nov 2007)
New Revision: 2123

Modified:
   trunk/
   trunk/CHANGELOG
   trunk/src/gui/mainwindow.cpp
Log:
 r2131@lysithea:  edmanm | 2007-11-21 18:18:28 -0500
 Create the message log, network map, bandwidth graph, and settings dialogs
 without parents, so they can be independently brought to the foreground on
 Vista.



Property changes on: trunk
___________________________________________________________________
 svk:merge ticket from /local/vidalia/trunk [r2131] on 0108964c-5b0b-4c9e-969f-e2288315d100

Modified: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	2007-11-21 23:19:23 UTC (rev 2122)
+++ trunk/CHANGELOG	2007-11-21 23:19:58 UTC (rev 2123)
@@ -9,6 +9,9 @@
     supports Window transparency.
   o Use the correct icon for the "Close Stream" context menu action in the
     circuit and stream list widget.
+  o Create the message log, network map, bandwidth graph, and settings dialogs
+    without parents, so they can be independently brought to the foreground on
+    Vista.
   o Update the default bandwidth rate and burst rate to 5MB and 10MB,
     respectively, to match Tor's defaults.
   o Modified the Mac OS X bundle installer to set Vidalia to start

Modified: trunk/src/gui/mainwindow.cpp
===================================================================
--- trunk/src/gui/mainwindow.cpp	2007-11-21 23:19:23 UTC (rev 2122)
+++ trunk/src/gui/mainwindow.cpp	2007-11-21 23:19:58 UTC (rev 2123)
@@ -114,10 +114,10 @@
   ui.setupUi(this);
 
   /* Create all the dialogs of which we only want one instance */
-  _messageLog     = new MessageLog(this);
-  _bandwidthGraph = new BandwidthGraph(this);
-  _netViewer      = new NetViewer(this);
-  _configDialog   = new ConfigDialog(this);
+  _messageLog     = new MessageLog();
+  _bandwidthGraph = new BandwidthGraph();
+  _netViewer      = new NetViewer();
+  _configDialog   = new ConfigDialog();
 
   /* Create the actions that will go in the tray menu */
   createActions();
@@ -168,6 +168,10 @@
 MainWindow::~MainWindow()
 {
   _trayIcon.hide();
+  delete _messageLog;
+  delete _bandwidthGraph;
+  delete _netViewer;
+  delete _configDialog;
 }
 
 /** Returns true if we're running on a platform with tray icon support. */