1 // This file is a part of Simple Launcher
3 // Copyright (C) 2006, 2007, Mikhail Sobolev
5 // Simple Launcher is free software; you can redistribute it and/or modify it
6 // under the terms of the GNU General Public License version 2 as published by
7 // the Free Software Foundation.
9 // This program is distributed in the hope that it will be useful, but WITHOUT
10 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 // You should have received a copy of the GNU General Public License along with
15 // this program; if not, write to the Free Software Foundation, Inc., 51
16 // Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef __SETTINGS_DIALOG_H_
19 #define __SETTINGS_DIALOG_H_
23 #include <gtk/gtkdialog.h>
25 #include "gconf-wrapper.h"
26 #include "launcher-item.h"
27 #include "dialog-entry.h"
28 #include "settings-page.h"
30 class SettingsDialog {
32 SettingsDialog(GtkWindow *parent, LauncherItems& items, GConfBooleanOption& transparent, GConfIntegerOption& icon_size);
39 void addPage(const std::string&, SettingsPage *);
42 std::vector<SettingsPage *> myPages;
45 GtkNotebook *myNotebook;
47 SettingsDialogBooleanEntry myTransparent;
48 SettingsDialogIconSizeEntry myIconSize;