ui: MediaExportPrefSection -> MediaPrefSection
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 17 Feb 2011 23:01:42 +0000 (01:01 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 17 Feb 2011 23:47:15 +0000 (01:47 +0200)
Rename MediaExportPrefSection to MediaPrefSection.

po/POTFILES.in
src/ui/Makefile.am
src/ui/rygel-media-pref-section.vala [moved from src/ui/rygel-media-export-pref-section.vala with 96% similarity]
src/ui/rygel-preferences-dialog.vala

index 01d949c..9b0e2c8 100644 (file)
@@ -146,7 +146,7 @@ src/rygel/rygel-wmv-transcoder-bin.vala
 src/rygel/rygel-wmv-transcoder.vala
 src/rygel/rygel-xbox-hacks.vala
 src/rygel/rygel-changelog.vala
-src/ui/rygel-media-export-pref-section.vala
+src/ui/rygel-media-pref-section.vala
 src/ui/rygel-preferences-dialog.vala
 src/ui/rygel-preferences-section.vala
 src/ui/rygel-writable-user-config.vala
index 02709cf..cf094f1 100644 (file)
@@ -26,7 +26,7 @@ bin_PROGRAMS = rygel-preferences
 rygel_preferences_SOURCES = \
                            rygel-preferences-dialog.vala \
                            rygel-preferences-section.vala \
-                           rygel-media-export-pref-section.vala \
+                           rygel-media-pref-section.vala \
                            rygel-writable-user-config.vala \
                            rygel-network-pref-section.vala
 
similarity index 96%
rename from src/ui/rygel-media-export-pref-section.vala
rename to src/ui/rygel-media-pref-section.vala
index b6531db..b5da923 100644 (file)
@@ -23,7 +23,7 @@
 using Gtk;
 using Gee;
 
-public class Rygel.MediaExportPrefSection : PreferencesSection {
+public class Rygel.MediaPrefSection : PreferencesSection {
     const string NAME = "MediaExport";
     const string URIS_KEY = "uris";
     const string URIS_TEXTVIEW = URIS_KEY + "-treeview";
@@ -39,8 +39,8 @@ public class Rygel.MediaExportPrefSection : PreferencesSection {
     private ListStore liststore;
     private FileChooserDialog dialog;
 
-    public MediaExportPrefSection (Builder            builder,
-                                   WritableUserConfig config) {
+    public MediaPrefSection (Builder            builder,
+                             WritableUserConfig config) {
         base (config, NAME);
 
         this.widgets = new ArrayList<Widget> ();
index 11cc589..85aa9fb 100644 (file)
@@ -54,8 +54,7 @@ public class Rygel.PreferencesDialog : GLib.Object {
 
         this.sections = new ArrayList<PreferencesSection> ();
         this.sections.add (new NetworkPrefSection (this.builder, this.config));
-        this.sections.add (new MediaExportPrefSection (this.builder,
-                                                       this.config));
+        this.sections.add (new MediaPrefSection (this.builder, this.config));
 
         // All sections must be disabled if sharing is disabled
         this.on_upnp_check_button_toggled (this.upnp_check);