[ease] [ui] Reconnect the "About" dialog.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] [ui] Reconnect the "About" dialog.
- Date: Sat, 3 Jul 2010 23:11:35 +0000 (UTC)
commit 6bb5279e99a0f2f74f8151d7624c677cefe76692
Author: Nate Stedman <natesm gmail com>
Date: Sat Jul 3 19:11:12 2010 -0400
[ui] Reconnect the "About" dialog.
data/ui/editor-window.ui | 1 +
src/ease-about-dialog.vala | 11 +++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/editor-window.ui b/data/ui/editor-window.ui
index 6793131..60736d2 100644
--- a/data/ui/editor-window.ui
+++ b/data/ui/editor-window.ui
@@ -231,6 +231,7 @@
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
+ <signal name="activate" handler="ease_about_dialog_show_about"/>
</object>
</child>
</object>
diff --git a/src/ease-about-dialog.vala b/src/ease-about-dialog.vala
index 030ef03..98003ef 100644
--- a/src/ease-about-dialog.vala
+++ b/src/ease-about-dialog.vala
@@ -27,6 +27,17 @@ public class Ease.AboutDialog : Gtk.AboutDialog
const string[] ARTISTS = { "Nate Stedman <natesm gmail com>", null };
/**
+ * Creates and runs an "about" dialog.
+ */
+ public static void show_about(Gtk.Widget sender)
+ {
+ var about = new AboutDialog();
+ about.run();
+ about.destroy();
+ }
+
+
+ /**
* Creates the "About Ease" dialog, with all fields filled out. This
* constructor does not actually run the dialog.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]