[rygel/config] Rename Preferences to PreferencesDialog.



commit 568cb6dd5841d663b672e694690141e2f716648d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Apr 22 17:11:45 2009 +0300

    Rename Preferences to PreferencesDialog.
---
 src/ui/Makefile.am                                 |    6 +++---
 ...ferences.vala => rygel-preferences-dialog.vala} |   10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 1cd52da..0f423c7 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -21,11 +21,11 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
 bin_PROGRAMS = rygel-preferences
 
 BUILT_SOURCES = rygel.stamp \
-		rygel-preferences.c \
+		rygel-preferences-dialog.c \
 		rygel-config-editor.c
 
-rygel_preferences_SOURCES = rygel-preferences.c \
-			    rygel-preferences.vala \
+rygel_preferences_SOURCES = rygel-preferences-dialog.c \
+			    rygel-preferences-dialog.vala \
 			    rygel-config-editor.c \
 			    rygel-config-editor.vala
 
diff --git a/src/ui/rygel-preferences.vala b/src/ui/rygel-preferences-dialog.vala
similarity index 96%
rename from src/ui/rygel-preferences.vala
rename to src/ui/rygel-preferences-dialog.vala
index 7b3a98e..4c49595 100644
--- a/src/ui/rygel-preferences.vala
+++ b/src/ui/rygel-preferences-dialog.vala
@@ -22,10 +22,10 @@
  */
 using Gtk;
 
-public class Rygel.Preferences : Dialog {
+public class Rygel.PreferencesDialog : Dialog {
     ConfigEditor config_editor;
 
-    public Preferences () {
+    public PreferencesDialog () {
         this.title = "Rygel Preferences";
 
         this.config_editor = new ConfigEditor ();
@@ -113,7 +113,7 @@ public class Rygel.Preferences : Dialog {
         this.vbox.add (hbox);
     }
 
-    private void on_response (Preferences pref, int response_id) {
+    private void on_response (PreferencesDialog dialog, int response_id) {
         switch (response_id) {
             case ResponseType.REJECT:
                 Gtk.main_quit ();
@@ -166,9 +166,9 @@ public class Rygel.Preferences : Dialog {
     public static int main (string[] args) {
         Gtk.init (ref args);
 
-        var pref = new Preferences ();
+        var dialog = new PreferencesDialog ();
 
-        pref.run ();
+        dialog.run ();
 
         return 0;
     }



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