From ee967ed74ca09e6b09fca7d47c61e5e33f2e0318 Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Sat, 21 Feb 2015 15:33:43 +0100
Subject: [PATCH] Network tab

---
 src/cutecoin/gui/currency_tab.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/cutecoin/gui/currency_tab.py b/src/cutecoin/gui/currency_tab.py
index 3f88342b..fc820950 100644
--- a/src/cutecoin/gui/currency_tab.py
+++ b/src/cutecoin/gui/currency_tab.py
@@ -18,6 +18,7 @@ from ..gen_resources.currency_tab_uic import Ui_CurrencyTabWidget
 from .community_tab import CommunityTabWidget
 from .transfer import TransferMoneyDialog
 from .wallets_tab import WalletsTabWidget
+from .network_tab import NetworkTabWidget
 from ..models.txhistory import HistoryTableModel, TxFilterProxyModel
 from .informations_tab import InformationsTabWidget
 from ..tools.exceptions import NoPeerAvailable, MembershipNotFoundError
@@ -83,6 +84,9 @@ class CurrencyTabWidget(QWidget, Ui_CurrencyTabWidget):
         self.tab_wallets = WalletsTabWidget(self.app,
                                             self.app.current_account,
                                             self.community)
+
+        self.tab_network = NetworkTabWidget(self.community)
+
         self.bc_watcher = BlockchainWatcher(self.app.current_account,
                                                 community)
         self.bc_watcher.new_block_mined.connect(self.refresh_block)
@@ -166,6 +170,9 @@ class CurrencyTabWidget(QWidget, Ui_CurrencyTabWidget):
             self.tabs_account.addTab(self.tab_informations,
                                      QIcon(':/icons/informations_icon'),
                                     "Informations")
+
+            self.tab_network = NetworkTabWidget(self.community)
+            self.tabs_account.addTab(self.tab_network, "Network")
             self.tab_informations.refresh()
             blockid = self.community.current_blockid()
             block_number = blockid['number']
-- 
GitLab