summaryrefslogtreecommitdiff
blob: 917b8687dc18b0c116307157f6621b2cce792ab8 (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
--- src/FbDesk.cc.org	2006-04-22 14:29:20.000000000 +0200
+++ src/FbDesk.cc	2006-04-22 14:37:45.000000000 +0200
@@ -43,6 +43,8 @@
 using namespace std;
 using namespace FbTk;
 
+namespace FbTk {
+
 template <>
 void Resource<int>::setFromString(const char *str) {
     sscanf(str, "%d", &*(*this));
@@ -65,8 +67,6 @@
     return (*this)->c_str();
 }
 
-
-
 template <>
 std::string Resource<FbDesk::Icon::TextPlacement>::getString() {
     switch (*(*this)) {
@@ -97,6 +97,8 @@
         *(*this) = FbDesk::Icon::TEXTPLACE_BOTTOM;
 }
 
+}
+
 namespace FbDesk {
 
 FbDesk::FbDesk(const char *config_filename):