summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/kdebase_networkstatus_branch.diff
blob: 8329d3cd29166b37a359d3e3c3cf734248e4b587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Index: konqueror/konq_frame.cc
===================================================================
--- konqueror/konq_frame.cc.orig
+++ konqueror/konq_frame.cc
@@ -34,6 +34,7 @@
 #include <kprogress.h>
 #include <klocale.h>
 #include <ksqueezedtextlabel.h>
+#include <networkstatusindicator.h>
 
 #include "konq_events.h"
 #include "konq_frame.h"
@@ -97,6 +98,10 @@ KonqFrameStatusBar::KonqFrameStatusBar(
     m_progressBar->hide();
     addWidget( m_progressBar, 0, true /*permanent->right align*/ );
 
+    StatusBarNetworkStatusIndicator * indicator = new StatusBarNetworkStatusIndicator( this, "networkstatusindicator" );
+    addWidget( indicator, 0, false );
+    indicator->init();
+
     fontChange(QFont());
     installEventFilter( this );
 }
Index: konqueror/Makefile.am
===================================================================
--- konqueror/Makefile.am.orig
+++ konqueror/Makefile.am
@@ -48,7 +48,7 @@ noinst_HEADERS = KonqMainWindowIface.h K
 	konq_misc.h konq_openurlrequest.h konq_profiledlg.h konq_run.h \
 	konq_view.h konq_viewmgr.h konq_extensionmanager.h version.h
 
-konqueror_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
+konqueror_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lconnectionmanager
 konqueror_la_LIBADD = ../libkonq/libkonq.la libkonqueror_intern.la $(LIBMALLOC) $(LIB_KUTILS)
 
 # Hmm, this experiment of a static konq failed, don't trust it...