[rygel] core,ui: Updates based on renaming of Folder plugin
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] core,ui: Updates based on renaming of Folder plugin
- Date: Fri, 5 Jun 2009 12:02:59 -0400 (EDT)
commit c07106582a948704399b67cf73e2b1db889221ad
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Jun 5 02:03:30 2009 +0300
core,ui: Updates based on renaming of Folder plugin
---
data/rygel-preferences.ui | 8 ++++----
data/rygel.schemas | 16 ++++++++--------
src/ui/Makefile.am | 6 +++---
...n.vala => rygel-media-export-pref-section.vala} | 8 ++++----
src/ui/rygel-preferences-dialog.vala | 4 ++--
5 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/data/rygel-preferences.ui b/data/rygel-preferences.ui
index aaf115b..33f0dc9 100644
--- a/data/rygel-preferences.ui
+++ b/data/rygel-preferences.ui
@@ -270,8 +270,8 @@
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="folder-enabled-checkbutton">
- <property name="label" translatable="yes">_Folder</property>
+ <object class="GtkCheckButton" id="mediaexport-enabled-checkbutton">
+ <property name="label" translatable="yes">_Media Export</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -284,7 +284,7 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="folder-title-label">
+ <object class="GtkLabel" id="mediaexport-title-label">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="xpad">12</property>
@@ -311,7 +311,7 @@
</packing>
</child>
<child>
- <object class="GtkEntry" id="folder-title-entry">
+ <object class="GtkEntry" id="mediaexport-title-entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
diff --git a/data/rygel.schemas b/data/rygel.schemas
index bf41301..a18c9f2 100644
--- a/data/rygel.schemas
+++ b/data/rygel.schemas
@@ -89,19 +89,19 @@
</locale>
</schema>
<schema>
- <key>/schemas/apps/rygel/Folder/enabled</key>
- <applyto>/apps/rygel/Folder/enabled</applyto>
+ <key>/schemas/apps/rygel/MediaExport/enabled</key>
+ <applyto>/apps/rygel/MediaExport/enabled</applyto>
<owner>rygel</owner>
<type>bool</type>
<default>TRUE</default>
<locale name="C">
- <short>Enable Folder plugin.</short>
- <long>Enable Folder plugin.</long>
+ <short>Enable MediaExport plugin.</short>
+ <long>Enable MediaExport plugin.</long>
</locale>
</schema>
<schema>
- <key>/schemas/apps/rygel/Folder/title</key>
- <applyto>/apps/rygel/Folder/title</applyto>
+ <key>/schemas/apps/rygel/MediaExport/title</key>
+ <applyto>/apps/rygel/MediaExport/title</applyto>
<owner>rygel</owner>
<type>string</type>
<default></default>
@@ -111,8 +111,8 @@
</locale>
</schema>
<schema>
- <key>/schemas/apps/rygel/Folder/folders</key>
- <applyto>/apps/rygel/Folder/folders</applyto>
+ <key>/schemas/apps/rygel/MediaExport/folders</key>
+ <applyto>/apps/rygel/MediaExport/folders</applyto>
<owner>rygel</owner>
<type>list</type>
<list_type>string</list_type>
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index bc07253..e33f02c 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -24,7 +24,7 @@ BUILT_SOURCES = rygel-preferences-dialog.c \
rygel-preferences-section.c \
rygel-general-pref-section.c \
rygel-plugin-pref-section.c \
- rygel-folder-pref-section.c
+ rygel-media-export-pref-section.c
$(BUILT_SOURCES) : rygel.stamp
@@ -36,8 +36,8 @@ rygel_preferences_SOURCES = rygel-preferences-dialog.c \
rygel-general-pref-section.vala \
rygel-plugin-pref-section.c \
rygel-plugin-pref-section.vala \
- rygel-folder-pref-section.c \
- rygel-folder-pref-section.vala
+ rygel-media-export-pref-section.c \
+ rygel-media-export-pref-section.vala
rygel.stamp: $(filter %.vala,$(rygel_preferences_SOURCES))
$(VALAC) -C --vapidir=$(rygeldir) \
diff --git a/src/ui/rygel-folder-pref-section.vala b/src/ui/rygel-media-export-pref-section.vala
similarity index 95%
rename from src/ui/rygel-folder-pref-section.vala
rename to src/ui/rygel-media-export-pref-section.vala
index 9c4790f..8d4df4c 100644
--- a/src/ui/rygel-folder-pref-section.vala
+++ b/src/ui/rygel-media-export-pref-section.vala
@@ -23,8 +23,8 @@
using Gtk;
using Gee;
-public class Rygel.FolderPrefSection : Rygel.PluginPrefSection {
- const string NAME = "Folder";
+public class Rygel.MediaExportPrefSection : Rygel.PluginPrefSection {
+ const string NAME = "MediaExport";
const string FOLDERS_KEY = "folders";
const string FOLDERS_TEXTVIEW = FOLDERS_KEY + "-treeview";
const string FOLDERS_LISTSTORE = FOLDERS_KEY + "-liststore";
@@ -37,8 +37,8 @@ public class Rygel.FolderPrefSection : Rygel.PluginPrefSection {
private ListStore liststore;
private FileChooserDialog dialog;
- public FolderPrefSection (Builder builder,
- Configuration config) {
+ public MediaExportPrefSection (Builder builder,
+ Configuration config) {
base (builder, config, NAME);
this.treeview = (TreeView) builder.get_object (FOLDERS_TEXTVIEW);
diff --git a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala
index fc52df5..1167c2f 100644
--- a/src/ui/rygel-preferences-dialog.vala
+++ b/src/ui/rygel-preferences-dialog.vala
@@ -50,8 +50,8 @@ public class Rygel.PreferencesDialog : GLib.Object {
this.sections.add (new PluginPrefSection (this.builder,
config,
"DVB"));
- this.sections.add (new FolderPrefSection (this.builder,
- config));
+ this.sections.add (new MediaExportPrefSection (this.builder,
+ config));
}
public void run () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]