void loadConfig();
void saveConfig();
+ void processDirectory(const std::string&);
+
bool initWidget();
void updateWidget();
loadConfig();
+ for (int i = 0 ; ourDirs[i] != NULL ; ++i) {
+ processDirectory(ourDirs[i]);
+ }
+
if (!initWidget()) {
return false;
}
delete buffer;
}
-#if 0
- for (int i = 0 ; ourFiles[i] != NULL ; ++i) {
- LaunchableItem *item = new LaunchableItem();
-
- if (item->load(ourFiles[i])) {
- myItems.push_back(std::pair<std::string, LauncherItem *>(ourFiles[i], item));
- } else {
- delete item;
- }
- }
-#endif
}
void SimpleLauncherApplet::saveConfig() {
}
}
+void SimpleLauncherApplet::processDirectory(const std::string& dirname) {
+}
+
bool SimpleLauncherApplet::initWidget() {
myWidget = gtk_frame_new(NULL);