[rygel/config] Our dialog implements it's own run method.



commit 9010c090ecb0061573f06c04538586c8e4dbd510
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Apr 19 17:45:10 2009 +0300

    Our dialog implements it's own run method.
---
 src/ui/rygel-preferences.vala |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/ui/rygel-preferences.vala b/src/ui/rygel-preferences.vala
index e52d8d7..99f8ed2 100644
--- a/src/ui/rygel-preferences.vala
+++ b/src/ui/rygel-preferences.vala
@@ -31,6 +31,12 @@ public class Rygel.Preferences : Dialog {
         this.add_button (STOCK_CANCEL, ResponseType.REJECT);
     }
 
+    public new void run () {
+        this.show_all ();
+
+        Gtk.main ();
+    }
+
     public static int main (string[] args) {
         Gtk.init (ref args);
 



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