2
* Whiteboard invitation confirmation dialog --
3
* quick subclass of Gtk::MessageDialog
6
* David Yip <yipdw@rose-hulman.edu>
8
* Copyright (c) 2005 Authors
10
* Released under GNU GPL, read the file 'COPYING' for more information
13
#include <glibmm/i18n.h>
15
#include "invitation-confirm-dialog.h"
16
#include "session-file-selector.h"
20
namespace Whiteboard {
22
InvitationConfirmDialog::InvitationConfirmDialog(Glib::ustring const& msg) :
23
Gtk::MessageDialog(msg, true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_NONE, false),
24
_usesessionfile(_("_Write session file:"), true)
27
this->get_vbox()->show_all_children();
30
InvitationConfirmDialog::~InvitationConfirmDialog()
36
InvitationConfirmDialog::getSessionFilePath()
38
return this->_sfsbox.getFilename();
42
InvitationConfirmDialog::useSessionFile()
44
return this->_sfsbox.isSelected();
48
InvitationConfirmDialog::_construct()
50
this->get_vbox()->pack_end(this->_sfsbox);
60
c-file-style:"stroustrup"
61
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
66
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :