[rygel] ui: MediaExportPrefSection -> MediaPrefSection
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] ui: MediaExportPrefSection -> MediaPrefSection
- Date: Thu, 17 Feb 2011 23:49:47 +0000 (UTC)
commit 78ac4619876c3276533d980320f7f7074cf589ba
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Feb 18 01:01:42 2011 +0200
ui: MediaExportPrefSection -> MediaPrefSection
Rename MediaExportPrefSection to MediaPrefSection.
po/POTFILES.in | 2 +-
src/ui/Makefile.am | 2 +-
...-section.vala => rygel-media-pref-section.vala} | 6 +++---
src/ui/rygel-preferences-dialog.vala | 3 +--
4 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 01d949c..9b0e2c8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -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
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 02709cf..cf094f1 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -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
diff --git a/src/ui/rygel-media-export-pref-section.vala b/src/ui/rygel-media-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
--- a/src/ui/rygel-media-export-pref-section.vala
+++ b/src/ui/rygel-media-pref-section.vala
@@ -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> ();
diff --git a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala
index 11cc589..85aa9fb 100644
--- a/src/ui/rygel-preferences-dialog.vala
+++ b/src/ui/rygel-preferences-dialog.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]