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
15
#include <glibmm/i18n.h>
17
#include "invitation-confirm-dialog.h"
18
#include "session-file-selector.h"
22
namespace Whiteboard {
24
InvitationConfirmDialog::InvitationConfirmDialog(Glib::ustring const& msg) :
25
Gtk::MessageDialog(msg, true, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_NONE, false),
26
_usesessionfile(_("_Write session file:"), true)
29
this->get_vbox()->show_all_children();
32
InvitationConfirmDialog::~InvitationConfirmDialog()
38
InvitationConfirmDialog::getSessionFilePath()
40
return this->_sfsbox.getFilename();
44
InvitationConfirmDialog::useSessionFile()
46
return this->_sfsbox.isSelected();
50
InvitationConfirmDialog::_construct()
52
this->get_vbox()->pack_end(this->_sfsbox);
62
c-file-style:"stroustrup"
63
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
68
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :