[cheese/three-point-oh] Made about dialog box close when Close button is clicked



commit 5964258cd96dfdde7b48f9c5efbbed44f6603432
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date:   Wed Jul 14 03:40:06 2010 +0530

    Made about dialog box close when Close button is clicked

 TODO                   |    1 -
 src/cheese-window.vala |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/TODO b/TODO
index 5ec2803..cc8d3eb 100644
--- a/TODO
+++ b/TODO
@@ -13,5 +13,4 @@ please fix me before 3.0
 3 beautify effects preview, e.g. only a thin white border
 2 startup time is till quite long
 2 overlay effect previews with their names
-2 about dialog close button does not work
 
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 2979c13..d2f16a5 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -285,7 +285,8 @@ public class Cheese.MainWindow : Gtk.Window
     Gtk.AboutDialog about_dialog;
     about_dialog         = (Gtk.AboutDialog)gtk_builder.get_object ("aboutdialog");
     about_dialog.version = Config.VERSION;
-    about_dialog.show_all ();
+    about_dialog.run ();
+	about_dialog.destroy ();
   }
 
   [CCode (instance_pos = -1)]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]