#ifndef __SETTINGS_DIALOG_H_
#define __SETTINGS_DIALOG_H_
+#include <vector>
+
#include <gtk/gtkdialog.h>
-#include "sla-list.h"
+#include "gconf-wrapper.h"
#include "launcher-item.h"
+#include "dialog-entry.h"
+#include "settings-page.h"
class SettingsDialog {
public:
- SettingsDialog(GtkWindow *, int, LauncherItems&);
+ SettingsDialog(GtkWindow *parent, LauncherItems& items, GConfBooleanOption& transparent, GConfIntegerOption& icon_size);
~SettingsDialog();
gint run();
+ void updateValues();
+
+ void addPage(const std::string&, SettingsPage *);
+
private:
- SLAList myList;
+ std::vector<SettingsPage *> myPages;
GtkDialog *myDialog;
+ GtkNotebook *myNotebook;
+
+ SettingsDialogBooleanEntry myTransparent;
+ SettingsDialogIconSizeEntry myIconSize;
};
#endif