[rhythmbox] fix value nicks for most GEnum types for GObject introspection
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] fix value nicks for most GEnum types for GObject introspection
- Date: Tue, 15 Jun 2010 03:57:56 +0000 (UTC)
commit 9fd4da43e03753ca86fe88d3eac49efbad84e125
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Jun 15 09:27:53 2010 +1000
fix value nicks for most GEnum types for GObject introspection
We don't actually use the value nicknames at all, so changing them
doesn't break anything.
backends/rb-encoder.c | 12 +++++-----
backends/rb-player.c | 12 +++++-----
lib/libmediaplayerid/mpid-util.c | 14 ++++++------
metadata/rb-metadata-common.c | 16 ++++++--------
plugins/mtpdevice/rb-mtp-thread.c | 6 ++--
rhythmdb/rhythmdb-property-model.c | 6 ++--
rhythmdb/rhythmdb-query-model.c | 8 +++---
rhythmdb/rhythmdb.c | 38 +++++++++++++++++-----------------
shell/rb-shell-player.c | 10 ++++----
shell/rb-shell.c | 10 ++++----
sources/rb-source-group.c | 8 +++---
sources/rb-source.c | 14 ++++++------
sources/rb-sourcelist-model.c | 16 +++++++-------
widgets/rb-entry-view.c | 40 ++++++++++++++++++------------------
14 files changed, 104 insertions(+), 106 deletions(-)
---
diff --git a/backends/rb-encoder.c b/backends/rb-encoder.c
index bc1f60a..01978e5 100644
--- a/backends/rb-encoder.c
+++ b/backends/rb-encoder.c
@@ -374,15 +374,15 @@ rb_encoder_error_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_ENCODER_ERROR_FORMAT_UNSUPPORTED, "Unable to find a supported destination format"),
- ENUM_ENTRY (RB_ENCODER_ERROR_INTERNAL, "Internal encoder error"),
- ENUM_ENTRY (RB_ENCODER_ERROR_FILE_ACCESS, "Unable to write to destination file"),
- ENUM_ENTRY (RB_ENCODER_ERROR_OUT_OF_SPACE, "Not enough space to write destination file"),
- ENUM_ENTRY (RB_ENCODER_ERROR_DEST_READ_ONLY, "Destination is read-only"),
+ ENUM_ENTRY (RB_ENCODER_ERROR_FORMAT_UNSUPPORTED, "format-unsupported"),
+ ENUM_ENTRY (RB_ENCODER_ERROR_INTERNAL, "internal-error"),
+ ENUM_ENTRY (RB_ENCODER_ERROR_FILE_ACCESS, "file-access-error"),
+ ENUM_ENTRY (RB_ENCODER_ERROR_OUT_OF_SPACE, "out-of-space"),
+ ENUM_ENTRY (RB_ENCODER_ERROR_DEST_READ_ONLY, "destination-read-only"),
{ 0, 0, 0 }
};
- etype = g_enum_register_static ("RBPlayerError", values);
+ etype = g_enum_register_static ("RBEncoderError", values);
}
return etype;
diff --git a/backends/rb-player.c b/backends/rb-player.c
index 26c8dc2..41d3016 100644
--- a/backends/rb-player.c
+++ b/backends/rb-player.c
@@ -711,9 +711,9 @@ rb_player_error_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_PLAYER_ERROR_NO_AUDIO, "Stream contains no audio"),
- ENUM_ENTRY (RB_PLAYER_ERROR_GENERAL, "General error"),
- ENUM_ENTRY (RB_PLAYER_ERROR_INTERNAL, "Internal backend error"),
+ ENUM_ENTRY (RB_PLAYER_ERROR_NO_AUDIO, "no-audio"),
+ ENUM_ENTRY (RB_PLAYER_ERROR_GENERAL, "general-error"),
+ ENUM_ENTRY (RB_PLAYER_ERROR_INTERNAL, "internal-error"),
{ 0, 0, 0 }
};
@@ -730,9 +730,9 @@ rb_player_play_type_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_PLAYER_PLAY_REPLACE, "Replace existing stream"),
- ENUM_ENTRY (RB_PLAYER_PLAY_AFTER_EOS, "Start new stream after EOS of existing stream"),
- ENUM_ENTRY (RB_PLAYER_PLAY_CROSSFADE, "Crossfade between streams"),
+ ENUM_ENTRY (RB_PLAYER_PLAY_REPLACE, "replace"),
+ ENUM_ENTRY (RB_PLAYER_PLAY_AFTER_EOS, "start-after-eos"),
+ ENUM_ENTRY (RB_PLAYER_PLAY_CROSSFADE, "crossfade"),
{ 0, 0, 0 }
};
diff --git a/lib/libmediaplayerid/mpid-util.c b/lib/libmediaplayerid/mpid-util.c
index 416a951..49718cd 100644
--- a/lib/libmediaplayerid/mpid-util.c
+++ b/lib/libmediaplayerid/mpid-util.c
@@ -37,10 +37,10 @@ mpid_error_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
ENUM_ENTRY(MPID_ERROR_NONE, "OK"),
- ENUM_ENTRY(MPID_ERROR_NO_DEVICE_PATH, "No such device"),
- ENUM_ENTRY(MPID_ERROR_MECHANISM_FAILED, "Failed to access device database"),
- ENUM_ENTRY(MPID_ERROR_NOT_MEDIA_PLAYER, "Device is not a media player"),
- ENUM_ENTRY(MPID_ERROR_DEVICE_INFO_MISSING, "Device information is missing from database"),
+ ENUM_ENTRY(MPID_ERROR_NO_DEVICE_PATH, "no-such-device"),
+ ENUM_ENTRY(MPID_ERROR_MECHANISM_FAILED, "device-db-failed"),
+ ENUM_ENTRY(MPID_ERROR_NOT_MEDIA_PLAYER, "not-media-player"),
+ ENUM_ENTRY(MPID_ERROR_DEVICE_INFO_MISSING, "device-info-missing"),
{ 0, 0, 0 }
};
@@ -57,9 +57,9 @@ mpid_source_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY(MPID_SOURCE_NONE, "No device information"),
- ENUM_ENTRY(MPID_SOURCE_SYSTEM, "Device information from system database"),
- ENUM_ENTRY(MPID_SOURCE_OVERRIDE, "Device information from override file"),
+ ENUM_ENTRY(MPID_SOURCE_NONE, "no-device-info"),
+ ENUM_ENTRY(MPID_SOURCE_SYSTEM, "system-device-info"),
+ ENUM_ENTRY(MPID_SOURCE_OVERRIDE, "override-device-info"),
{ 0, 0, 0 }
};
diff --git a/metadata/rb-metadata-common.c b/metadata/rb-metadata-common.c
index 192502f..d401e37 100644
--- a/metadata/rb-metadata-common.c
+++ b/metadata/rb-metadata-common.c
@@ -173,8 +173,6 @@ rb_metadata_field_get_type (void)
/* Note: field names are the GStreamer tag names.
* We could have just used the GST_TAG_X defines, but that
* would suck if we ever got a non-GStreamer metadata backend.
- *
- * maybe pack the field types in here too, like RhythmDBPropType?
*/
ENUM_ENTRY (RB_METADATA_FIELD_TITLE, "title"),
ENUM_ENTRY (RB_METADATA_FIELD_ARTIST, "artist"),
@@ -227,13 +225,13 @@ rb_metadata_error_get_type (void)
if (etype == 0) {
static const GEnumValue values[] =
{
- ENUM_ENTRY(RB_METADATA_ERROR_IO, "IO error"),
- ENUM_ENTRY(RB_METADATA_ERROR_MISSING_PLUGIN, "Missing plugins required to read the file"),
- ENUM_ENTRY(RB_METADATA_ERROR_UNRECOGNIZED, "Unable to identify the file type"),
- ENUM_ENTRY(RB_METADATA_ERROR_UNSUPPORTED, "Unsupported file type"),
- ENUM_ENTRY(RB_METADATA_ERROR_GENERAL, "General error"),
- ENUM_ENTRY(RB_METADATA_ERROR_INTERNAL, "Internal error"),
- ENUM_ENTRY(RB_METADATA_ERROR_EMPTY_FILE, "Empty file"),
+ ENUM_ENTRY(RB_METADATA_ERROR_IO, "io-error"),
+ ENUM_ENTRY(RB_METADATA_ERROR_MISSING_PLUGIN, "missing-plugins"),
+ ENUM_ENTRY(RB_METADATA_ERROR_UNRECOGNIZED, "identify-failed"),
+ ENUM_ENTRY(RB_METADATA_ERROR_UNSUPPORTED, "unsupported-filetype"),
+ ENUM_ENTRY(RB_METADATA_ERROR_GENERAL, "general-error"),
+ ENUM_ENTRY(RB_METADATA_ERROR_INTERNAL, "internal-error"),
+ ENUM_ENTRY(RB_METADATA_ERROR_EMPTY_FILE, "empty-file"),
{ 0, 0, 0 }
};
etype = g_enum_register_static ("RBMetadataErrorType", values);
diff --git a/plugins/mtpdevice/rb-mtp-thread.c b/plugins/mtpdevice/rb-mtp-thread.c
index 9bd4675..3cfc29c 100644
--- a/plugins/mtpdevice/rb-mtp-thread.c
+++ b/plugins/mtpdevice/rb-mtp-thread.c
@@ -833,9 +833,9 @@ rb_mtp_thread_error_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_MTP_THREAD_ERROR_NO_SPACE, "Not enough space to download track"),
- ENUM_ENTRY (RB_MTP_THREAD_ERROR_TEMPFILE, "Unable to create temporary file"),
- ENUM_ENTRY (RB_MTP_THREAD_ERROR_GET_TRACK, "Unable to retrieve track"),
+ ENUM_ENTRY (RB_MTP_THREAD_ERROR_NO_SPACE, "no-space"),
+ ENUM_ENTRY (RB_MTP_THREAD_ERROR_TEMPFILE, "tempfile-failed"),
+ ENUM_ENTRY (RB_MTP_THREAD_ERROR_GET_TRACK, "track-get-failed"),
{ 0, 0, 0 }
};
diff --git a/rhythmdb/rhythmdb-property-model.c b/rhythmdb/rhythmdb-property-model.c
index 6b6f6d4..d7f5de4 100644
--- a/rhythmdb/rhythmdb-property-model.c
+++ b/rhythmdb/rhythmdb-property-model.c
@@ -1431,9 +1431,9 @@ rhythmdb_property_model_column_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RHYTHMDB_PROPERTY_MODEL_COLUMN_TITLE, "Property title"),
- ENUM_ENTRY (RHYTHMDB_PROPERTY_MODEL_COLUMN_PRIORITY, "Value priority"),
- ENUM_ENTRY (RHYTHMDB_PROPERTY_MODEL_COLUMN_NUMBER, "Track count"),
+ ENUM_ENTRY (RHYTHMDB_PROPERTY_MODEL_COLUMN_TITLE, "property-title"),
+ ENUM_ENTRY (RHYTHMDB_PROPERTY_MODEL_COLUMN_PRIORITY, "value-priority"),
+ ENUM_ENTRY (RHYTHMDB_PROPERTY_MODEL_COLUMN_NUMBER, "track-count"),
{ 0, 0, 0 }
};
diff --git a/rhythmdb/rhythmdb-query-model.c b/rhythmdb/rhythmdb-query-model.c
index 4ed3e80..324875c 100644
--- a/rhythmdb/rhythmdb-query-model.c
+++ b/rhythmdb/rhythmdb-query-model.c
@@ -3335,10 +3335,10 @@ rhythmdb_query_model_limit_type_get_type (void)
static const GEnumValue values[] =
{
- ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_NONE, "No limit"),
- ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_COUNT, "Limit by number of entries (count)"),
- ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_SIZE, "Limit by data size (Mb)"),
- ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_TIME, "Limit by duration (seconds)"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_NONE, "no-limit"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_COUNT, "limit-count"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_SIZE, "limit-size"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_MODEL_LIMIT_TIME, "limit-duration"),
{ 0, 0, 0 }
};
diff --git a/rhythmdb/rhythmdb.c b/rhythmdb/rhythmdb.c
index 833c0cb..526c621 100644
--- a/rhythmdb/rhythmdb.c
+++ b/rhythmdb/rhythmdb.c
@@ -4363,21 +4363,21 @@ rhythmdb_query_type_get_type (void)
static const GEnumValue values[] =
{
- ENUM_ENTRY (RHYTHMDB_QUERY_END, "Query end marker"),
- ENUM_ENTRY (RHYTHMDB_QUERY_DISJUNCTION, "Disjunctive marker"),
- ENUM_ENTRY (RHYTHMDB_QUERY_SUBQUERY, "Subquery"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_EQUALS, "Property equivalence"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_LIKE, "Fuzzy property matching"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_NOT_LIKE, "Inverted fuzzy property matching"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_PREFIX, "Starts with"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_SUFFIX, "Ends with"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_GREATER, "True if property1 >= property2"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_LESS, "True if property1 <= property2"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_CURRENT_TIME_WITHIN, "True if property1 is within property2 of the current time"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_CURRENT_TIME_NOT_WITHIN, "True if property1 is not within property2 of the current time"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_YEAR_EQUALS, "Year equivalence: true if date within year"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_YEAR_GREATER, "True if date greater than year"),
- ENUM_ENTRY (RHYTHMDB_QUERY_PROP_YEAR_LESS, "True if date less than year"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_END, "query-end"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_DISJUNCTION, "disjunctive-marker"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_SUBQUERY, "subquery"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_EQUALS, "equals"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_LIKE, "fuzzy-match"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_NOT_LIKE, "inverted-fuzzy-match"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_PREFIX, "starts-with"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_SUFFIX, "ends-with"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_GREATER, "greater-than"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_LESS, "less-than"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_CURRENT_TIME_WITHIN, "within-current-time"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_CURRENT_TIME_NOT_WITHIN, "not-within-current-time"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_YEAR_EQUALS, "year-equals"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_YEAR_GREATER, "year-greater-than"),
+ ENUM_ENTRY (RHYTHMDB_QUERY_PROP_YEAR_LESS, "year-less-than"),
{ 0, 0, 0 }
};
@@ -4396,10 +4396,10 @@ rhythmdb_entry_category_get_type (void)
{
static const GEnumValue values[] =
{
- ENUM_ENTRY (RHYTHMDB_ENTRY_NORMAL, "Anything that doesn't match the other categories"),
- ENUM_ENTRY (RHYTHMDB_ENTRY_STREAM, "Endless streams (eg. shoutcast, last.fm)"),
- ENUM_ENTRY (RHYTHMDB_ENTRY_CONTAINER, "Entries that point to other entries (eg. podcast feeds)"),
- ENUM_ENTRY (RHYTHMDB_ENTRY_VIRTUAL, "Import errors, ignored files"),
+ ENUM_ENTRY (RHYTHMDB_ENTRY_NORMAL, "normal"),
+ ENUM_ENTRY (RHYTHMDB_ENTRY_STREAM, "stream"),
+ ENUM_ENTRY (RHYTHMDB_ENTRY_CONTAINER, "container"),
+ ENUM_ENTRY (RHYTHMDB_ENTRY_VIRTUAL, "virtual"),
{ 0, 0, 0 }
};
diff --git a/shell/rb-shell-player.c b/shell/rb-shell-player.c
index 380d837..000e2cf 100644
--- a/shell/rb-shell-player.c
+++ b/shell/rb-shell-player.c
@@ -3795,11 +3795,11 @@ rb_shell_player_error_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_PLAYLIST_PARSE_ERROR, "Playing parsing error"),
- ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_END_OF_PLAYLIST, "End of playlist reached"),
- ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_NOT_PLAYING, "Not playing"),
- ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_NOT_SEEKABLE, "Not seekable"),
- ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_POSITION_NOT_AVAILABLE, "Playback position not available"),
+ ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_PLAYLIST_PARSE_ERROR, "playlist-parse-failed"),
+ ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_END_OF_PLAYLIST, "end-of-playlist"),
+ ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_NOT_PLAYING, "not-playing"),
+ ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_NOT_SEEKABLE, "not-seekable"),
+ ENUM_ENTRY (RB_SHELL_PLAYER_ERROR_POSITION_NOT_AVAILABLE, "position-not-available"),
{ 0, 0, 0 }
};
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index 03c6eec..f58358c 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -3737,11 +3737,11 @@ rb_shell_ui_location_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_SHELL_UI_LOCATION_SIDEBAR, "Sidebar"),
- ENUM_ENTRY (RB_SHELL_UI_LOCATION_RIGHT_SIDEBAR, "Right Sidebar"),
- ENUM_ENTRY (RB_SHELL_UI_LOCATION_MAIN_TOP, "Main Top"),
- ENUM_ENTRY (RB_SHELL_UI_LOCATION_MAIN_BOTTOM, "Main Bottom"),
- ENUM_ENTRY (RB_SHELL_UI_LOCATION_MAIN_NOTEBOOK, "Main Notebook"),
+ ENUM_ENTRY (RB_SHELL_UI_LOCATION_SIDEBAR, "sidebar"),
+ ENUM_ENTRY (RB_SHELL_UI_LOCATION_RIGHT_SIDEBAR, "right-sidebar"),
+ ENUM_ENTRY (RB_SHELL_UI_LOCATION_MAIN_TOP, "main-top"),
+ ENUM_ENTRY (RB_SHELL_UI_LOCATION_MAIN_BOTTOM, "main-bottom"),
+ ENUM_ENTRY (RB_SHELL_UI_LOCATION_MAIN_NOTEBOOK, "main-notebook"),
{ 0, 0, 0 }
};
diff --git a/sources/rb-source-group.c b/sources/rb-source-group.c
index c18296e..158d62f 100644
--- a/sources/rb-source-group.c
+++ b/sources/rb-source-group.c
@@ -117,10 +117,10 @@ rb_source_group_category_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_FIXED, "Fixed single instance source"),
- ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_PERSISTENT, "Persistent multiple-instance source"),
- ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_REMOVABLE, "Source representing a removable device"),
- ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_TRANSIENT, "Transient source (eg. network shares)"),
+ ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_FIXED, "fixed"),
+ ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_PERSISTENT, "persistent"),
+ ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_REMOVABLE, "removable"),
+ ENUM_ENTRY (RB_SOURCE_GROUP_CATEGORY_TRANSIENT, "transient"),
{ 0, 0, 0 }
};
diff --git a/sources/rb-source.c b/sources/rb-source.c
index 5e0d932..c7f4e42 100644
--- a/sources/rb-source.c
+++ b/sources/rb-source.c
@@ -1961,10 +1961,10 @@ rb_source_eof_type_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_SOURCE_EOF_ERROR, "Display error when playing entry ends"),
- ENUM_ENTRY (RB_SOURCE_EOF_STOP, "Stop playback when playing entry ends"),
- ENUM_ENTRY (RB_SOURCE_EOF_RETRY, "Restart playing when playing entry ends"),
- ENUM_ENTRY (RB_SOURCE_EOF_NEXT, "Start next entry when playing entry ends"),
+ ENUM_ENTRY (RB_SOURCE_EOF_ERROR, "error"),
+ ENUM_ENTRY (RB_SOURCE_EOF_STOP, "stop"),
+ ENUM_ENTRY (RB_SOURCE_EOF_RETRY, "retry"),
+ ENUM_ENTRY (RB_SOURCE_EOF_NEXT, "next"),
{ 0, 0, 0 }
};
@@ -1981,9 +1981,9 @@ rb_source_search_type_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_SOURCE_SEARCH_NONE, "No search capability"),
- ENUM_ENTRY (RB_SOURCE_SEARCH_INCREMENTAL, "Immediate incremental search"),
- ENUM_ENTRY (RB_SOURCE_SEARCH_EXPLICIT, "Explicitly activated search"),
+ ENUM_ENTRY (RB_SOURCE_SEARCH_NONE, "none"),
+ ENUM_ENTRY (RB_SOURCE_SEARCH_INCREMENTAL, "incremental"),
+ ENUM_ENTRY (RB_SOURCE_SEARCH_EXPLICIT, "explicit"),
{ 0, 0, 0 }
};
diff --git a/sources/rb-sourcelist-model.c b/sources/rb-sourcelist-model.c
index 9fa7fc2..fca3fc3 100644
--- a/sources/rb-sourcelist-model.c
+++ b/sources/rb-sourcelist-model.c
@@ -628,14 +628,14 @@ rb_sourcelist_model_column_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_PLAYING, "Playing"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_PIXBUF, "Pixbuf Icon"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_NAME, "Name"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_SOURCE, "Source"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_ATTRIBUTES, "Attributes"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_VISIBILITY, "Visibility"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_IS_GROUP, "Is group"),
- ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_GROUP_CATEGORY, "Source group category"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_PLAYING, "playing"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_PIXBUF, "pixbuf-icon"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_NAME, "name"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_SOURCE, "source"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_ATTRIBUTES, "attributes"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_VISIBILITY, "visibility"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_IS_GROUP, "is-group"),
+ ENUM_ENTRY (RB_SOURCELIST_MODEL_COLUMN_GROUP_CATEGORY, "source-group-category"),
{ 0, 0, 0 }
};
diff --git a/widgets/rb-entry-view.c b/widgets/rb-entry-view.c
index 69832af..f8e3a20 100644
--- a/widgets/rb-entry-view.c
+++ b/widgets/rb-entry-view.c
@@ -2712,23 +2712,23 @@ rb_entry_view_column_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_TRACK_NUMBER, "Track Number"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_TITLE, "Title"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_ARTIST, "Artist"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_ALBUM, "Album"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_GENRE, "Genre"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_COMMENT, "Comment"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_DURATION, "Duration"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_QUALITY, "Quality"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_RATING, "Rating"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_PLAY_COUNT, "Play Count"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_YEAR, "Year"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_LAST_PLAYED, "Last Played"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_FIRST_SEEN, "First Seen"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_LAST_SEEN, "Last Seen"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_LOCATION, "Location"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_BPM, "BPM"),
- ENUM_ENTRY (RB_ENTRY_VIEW_COL_ERROR, "Error"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_TRACK_NUMBER, "track-number"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_TITLE, "title"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_ARTIST, "artist"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_ALBUM, "album"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_GENRE, "genre"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_COMMENT, "comment"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_DURATION, "duration"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_QUALITY, "quality"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_RATING, "rating"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_PLAY_COUNT, "play-count"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_YEAR, "year"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_LAST_PLAYED, "last-played"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_FIRST_SEEN, "first-seen"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_LAST_SEEN, "last-seen"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_LOCATION, "location"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_BPM, "bpm"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_COL_ERROR, "error"),
{ 0, 0, 0 }
};
@@ -2745,9 +2745,9 @@ rb_entry_view_state_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
- ENUM_ENTRY (RB_ENTRY_VIEW_NOT_PLAYING, "Not Playing"),
- ENUM_ENTRY (RB_ENTRY_VIEW_PLAYING, "Playing"),
- ENUM_ENTRY (RB_ENTRY_VIEW_PAUSED, "Paused"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_NOT_PLAYING, "not-playing"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_PLAYING, "playing"),
+ ENUM_ENTRY (RB_ENTRY_VIEW_PAUSED, "paused"),
{ 0, 0, 0 }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]