projects
/
simple-launcher
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mark one item as possibly done :)
[simple-launcher]
/
launcher-item.h
diff --git
a/launcher-item.h
b/launcher-item.h
index
220c20a
..
af40ca2
100644
(file)
--- a/
launcher-item.h
+++ b/
launcher-item.h
@@
-53,11
+53,11
@@
public:
}
}
}
}
+ bool checkSanity(void) { return !myName.empty() && (!myService.empty() || !myExec.empty()); }
+
private:
std::string translateString(const std::string& what) const;
private:
std::string translateString(const std::string& what) const;
- bool checkSanity(void) { return !myName.empty() && (!myService.empty() || !myExec.empty()); }
-
private:
std::string myFileName, myName, myComment, myIcon, myService, myExec, myTextDomain;
bool myEnabled;
private:
std::string myFileName, myName, myComment, myIcon, myService, myExec, myTextDomain;
bool myEnabled;
@@
-65,7
+65,7
@@
private:
static GtkIconTheme *ourTheme;
};
static GtkIconTheme *ourTheme;
};
-typedef struct LauncherItems {
+struct LauncherItems {
typedef std::vector<std::string> Names;
typedef std::map<std::string, LauncherItem *> Items;
typedef std::vector<std::string> Names;
typedef std::map<std::string, LauncherItem *> Items;