From b840d14b4c2c12e76af87fa3af784034e80bd0b4 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 8 Dec 2005 17:09:51 +0000 Subject: [PATCH] small fixes --- lib/gui/ewindow.cpp | 5 +++++ lib/gui/ewindow.h | 1 + lib/service/iservice.h | 2 ++ lib/service/servicedvb.cpp | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp index 622e8b0..54a3595 100644 --- a/lib/gui/ewindow.cpp +++ b/lib/gui/ewindow.cpp @@ -43,6 +43,11 @@ void eWindow::setTitle(const std::string &string) event(evtTitleChanged); } +std::string eWindow::getTitle() const +{ + return m_title; +} + void eWindow::setFlag(int flags) { m_flags |= flags; diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index 33ad7a7..a5b92ed 100644 --- a/lib/gui/ewindow.h +++ b/lib/gui/ewindow.h @@ -13,6 +13,7 @@ public: eWindow(eWidgetDesktop *desktop); ~eWindow(); void setTitle(const std::string &string); + std::string getTitle() const; eWidget *child() { return m_child; } enum { diff --git a/lib/service/iservice.h b/lib/service/iservice.h index eb04ead..a195009 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -52,6 +52,8 @@ public: std::string name; std::string getName() { return name; } + void setName( const std::string &n ) { name=n; } + eServiceReference() : type(idInvalid), flags(0) { diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index b3c1573..a9d235e 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -106,7 +106,7 @@ RESULT eStaticServiceDVBBouquetInformation::getName(const eServiceReference &ref if ( bouquet && bouquet->m_bouquet_name.length() ) { - name = "[Bouquet] " + bouquet->m_bouquet_name; + name = bouquet->m_bouquet_name; return 0; } else -- 2.7.4