From 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Thu, 10 Nov 2011 18:04:39 -0500 Subject: initial commit to suse branch: eclipse integration --- opensuse/core/tdebase/kcmsamba_log.diff | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 opensuse/core/tdebase/kcmsamba_log.diff (limited to 'opensuse/core/tdebase/kcmsamba_log.diff') diff --git a/opensuse/core/tdebase/kcmsamba_log.diff b/opensuse/core/tdebase/kcmsamba_log.diff new file mode 100644 index 000000000..e29ca1e13 --- /dev/null +++ b/opensuse/core/tdebase/kcmsamba_log.diff @@ -0,0 +1,31 @@ +Index: kcontrol/samba/kcmsambalog.cpp +=================================================================== +--- kcontrol/samba/kcmsambalog.cpp.orig ++++ kcontrol/samba/kcmsambalog.cpp +@@ -39,7 +39,7 @@ LogView::LogView(QWidget *parent,KConfig + ,configFile(config) + ,filesCount(0) + ,connectionsCount(0) +-,logFileName("/var/log/samba.log",this) ++,logFileName("/var/log/samba/log.smbd",this) + ,label(&logFileName,i18n("Samba log file: "),this) + ,viewHistory(this) + ,showConnOpen(i18n("Show opened connections"),this) +@@ -88,7 +88,7 @@ LogView::LogView(QWidget *parent,KConfig + " on this page. The log file (shown above) will be read to obtain the" + " events logged by samba.") ); + +- logFileName.setURL("/var/log/samba.log"); ++ logFileName.setURL("/var/log/samba/log.smbd"); + + viewHistory.setAllColumnsShowFocus(TRUE); + viewHistory.setFocusPolicy(QWidget::ClickFocus); +@@ -130,7 +130,7 @@ void LogView::loadSettings() + { + if (configFile==0) return; + configFile->setGroup(LOGGROUPNAME); +- logFileName.setURL(configFile->readPathEntry( "SambaLogFile", "/var/log/samba.log")); ++ logFileName.setURL(configFile->readPathEntry( "SambaLogFile", "/var/log/samba/log.smbd")); + + showConnOpen.setChecked(configFile->readBoolEntry( "ShowConnectionOpen", TRUE)); + showConnClose.setChecked(configFile->readBoolEntry( "ShowConnectionClose", FALSE)); -- cgit v1.2.3