#ifndef __SETTINGS_DIALOG_H_
#define __SETTINGS_DIALOG_H_
+#include <vector>
+
#include <gtk/gtkdialog.h>
#include "gconf-wrapper.h"
-#include "sla-list.h"
#include "launcher-item.h"
#include "dialog-entry.h"
+#include "settings-page.h"
class SettingsDialog {
public:
- SettingsDialog(GtkWindow *parent, LauncherItems& items, GConfBooleanOption& transparent, GConfIntegerOption& icon_size, GConfIntegerOption& canvas_size);
+ 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;
- SettingsDialogIntegerEntry myIconSize;
- SettingsDialogIntegerEntry myCanvasSize;
+ SettingsDialogIconSizeEntry myIconSize;
};
#endif