~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/jabber_whiteboard/session-file-selector.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Session file selector widget
 
3
 *
 
4
 * Authors:
 
5
 * David Yip <yipdw@rose-hulman.edu>
 
6
 *
 
7
 * Copyright (c) 2005 Authors
 
8
 *
 
9
 * Released under GNU GPL, read the file 'COPYING' for more information
 
10
 */
 
11
 
 
12
#ifndef __WHITEBOARD_SESSION_FILE_SELECTOR_BOX_H__
 
13
#define __WHITEBOARD_SESSION_FILE_SELECTOR_BOX_H__
 
14
 
 
15
#include <glibmm.h>
 
16
#include <gtkmm.h>
 
17
 
 
18
namespace Inkscape {
 
19
 
 
20
namespace Whiteboard {
 
21
 
 
22
class SessionFileSelectorBox : public Gtk::HBox {
 
23
public:
 
24
        SessionFileSelectorBox();
 
25
    virtual ~SessionFileSelectorBox();
 
26
 
 
27
        bool isSelected();
 
28
        Glib::ustring const& getFilename();
 
29
 
 
30
private:
 
31
        // Construction
 
32
        void _construct();
 
33
        void _callback();
 
34
 
 
35
        // GTK+ widgets
 
36
        Gtk::CheckButton _usesessionfile;
 
37
        Gtk::Entry _sessionfile;
 
38
        Gtk::Button _getfilepath;
 
39
 
 
40
        // Internal state
 
41
        Glib::ustring _filename;
 
42
};
 
43
 
 
44
}
 
45
 
 
46
}
 
47
 
 
48
#endif
 
49
 
 
50
/*
 
51
  Local Variables:
 
52
  mode:c++
 
53
  c-file-style:"stroustrup"
 
54
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
55
  indent-tabs-mode:nil
 
56
  fill-column:99
 
57
  End:
 
58
*/
 
59
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :