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

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/ui/dialog/aboutbox.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
/** @file
 
2
 * @brief Inkscape About box
 
3
 *
 
4
 * The standard Gnome::UI::About class doesn't include a place to stuff
 
5
 * a renderable View that holds the classic Inkscape "about.svg".
 
6
 */
 
7
/* Author:
 
8
 *   Kees Cook <kees@outflux.net>
 
9
 *
 
10
 * Copyright (C) 2005 Kees Cook
 
11
 *
 
12
 * Released under GNU GPL v2+.  Read the file 'COPYING' for more information.
 
13
 */
 
14
 
 
15
#ifndef INKSCAPE_UI_DIALOG_ABOUTBOX_H
 
16
#define INKSCAPE_UI_DIALOG_ABOUTBOX_H
 
17
 
 
18
#include <gtkmm/dialog.h>
 
19
 
 
20
namespace Inkscape {
 
21
namespace UI {
 
22
namespace Dialog {
 
23
 
 
24
class AboutBox : public Gtk::Dialog {
 
25
 
 
26
public:
 
27
 
 
28
    static void show_about();
 
29
    static void hide_about();
 
30
 
 
31
private:
 
32
 
 
33
    AboutBox();
 
34
    
 
35
    void initStrings();
 
36
    
 
37
    Glib::ustring authors_text;
 
38
    Glib::ustring translators_text;
 
39
    Glib::ustring license_text;
 
40
 
 
41
    virtual void on_response(int response_id);
 
42
};
 
43
 
 
44
} // namespace Dialog
 
45
} // namespace UI
 
46
} // namespace Inkscape
 
47
 
 
48
#endif // INKSCAPE_UI_DIALOG_ABOUTBOX_H
 
49
 
 
50
/* 
 
51
  Local Variables:
 
52
  mode:c++
 
53
  c-file-style:"stroustrup"
 
54
  c-file-offsets:((innamespace . 0)(inline-open . 0))
 
55
  indent-tabs-mode:nil
 
56
  fill-column:99
 
57
  End:
 
58
*/
 
59
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :