author | Michael Krelin <hacker@klever.net> | 2008-04-05 11:17:33 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-04-05 11:17:33 (UTC) |
commit | 04fb190243442e83349f129b523ab747e58100bf (patch) (unidiff) | |
tree | ddc28357fbe78b07fd3a5e0aa8088130bf305829 /src/dialogs.cc | |
download | napkin-0.0.zip napkin-0.0.tar.gz napkin-0.0.tar.bz2 |
Initial commit into public repository0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | src/dialogs.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/dialogs.cc b/src/dialogs.cc new file mode 100644 index 0000000..efe0b36 --- a/dev/null +++ b/src/dialogs.cc | |||
@@ -0,0 +1,17 @@ | |||
1 | #include "dialogs.h" | ||
2 | |||
3 | namespace napkin { | ||
4 | namespace gtk { | ||
5 | |||
6 | hypnoinfo_dialog_t::hypnoinfo_dialog_t(Gtk::Window& w) | ||
7 | : Gtk::Dialog("Sleepy information",w,true/*modal*/,true/*use separator*/) | ||
8 | { | ||
9 | Gtk::VBox *vb = get_vbox(); | ||
10 | vb->set_spacing(2); | ||
11 | vb->add(w_hinfo); | ||
12 | vb->show_all(); | ||
13 | } | ||
14 | |||
15 | |||
16 | } | ||
17 | } | ||