projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add code to output the new time format.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
about.h
diff --git
a/synfig-studio/trunk/src/gtkmm/about.h
b/synfig-studio/trunk/src/gtkmm/about.h
index
434e2a8
..
3be68be
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/about.h
+++ b/
synfig-studio/trunk/src/gtkmm/about.h
@@
-1,9
+1,11
@@
-/*! ========================================================================
-** Synfig
-** Template Header File
-** $Id: about.h,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*! \file about.h
+** \brief About dialog class
**
**
-** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** $Id$
+**
+** \legal
+** Copyright (c) 2008 Paul Wise
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-14,10
+16,9
@@
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
-**
-** === N O T E S ===========================================================
-**
-** ========================================================================= */
+** \endlegal
+*/
+/* ========================================================================= */
/* === S T A R T =========================================================== */
/* === S T A R T =========================================================== */
@@
-26,12
+27,7
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
-//#include <gtk/gtk.h>
-#include <gtkmm/window.h>
-#include <gtkmm/tooltips.h>
-#include <gtkmm/label.h>
-#include <gtkmm/button.h>
-#include <gtkmm/progressbar.h>
+#include <gtkmm/aboutdialog.h>
/* === M A C R O S ========================================================= */
/* === M A C R O S ========================================================= */
@@
-39,39
+35,20
@@
/* === C L A S S E S & S T R U C T S ======================================= */
/* === C L A S S E S & S T R U C T S ======================================= */
-namespace synfig { class ProgressCallback; };
+#
namespace studio {
namespace studio {
-class AboutProgress;
-
-class About : public Gtk::Window
+class About : public Gtk::AboutDialog
{
{
- friend class AboutProgress;
-
- AboutProgress *cb;
-
- Gtk::Tooltips _tooltips;
-
- Gtk::Label *tasklabel;
- Gtk::ProgressBar *progressbar;
- Gtk::Button *CloseButton;
-
- void close();
-
- bool can_self_destruct;
-
public:
public:
- synfig::ProgressCallback *get_callback();
-
- void set_can_self_destruct(bool x);
-
About();
About();
- ~About();
+ void close(int);
+ void on_link_clicked(Gtk::AboutDialog&, const Glib::ustring &url);
};
};
-
-}
+
+}
; // END of namespace studio
/* === E N D =============================================================== */
/* === E N D =============================================================== */