commit ac05ff45577a92524173fd3ef2949ba1ac6b6978 Author: Daniele Forsi <dani...@forsi.it> Date: Mon Jul 25 22:53:16 2011 +0200
File type field is not to be edited by the user plugins/details_editor/details.c | 3 +-- plugins/details_editor/details_editor.xml | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) --- diff --git a/plugins/details_editor/details.c b/plugins/details_editor/details.c index 364582d..03cc281 100644 --- a/plugins/details_editor/details.c +++ b/plugins/details_editor/details.c @@ -896,7 +896,6 @@ static void details_get_item(T_item item, gboolean assumechanged) { case T_TITLE: case T_GENRE: case T_COMPOSER: - case T_FILETYPE: case T_GROUPING: case T_CATEGORY: case T_PODCASTURL: @@ -1081,6 +1080,7 @@ static void details_get_item(T_item item, gboolean assumechanged) { } } break; + case T_FILETYPE: case T_TRANSFERRED: case T_PC_PATH: case T_IPOD_PATH: @@ -1089,7 +1089,6 @@ static void details_get_item(T_item item, gboolean assumechanged) { case T_GAPLESS_TRACK_FLAG: /* These are read-only only */ break; - break; case T_ALL: case T_ITEM_NUM: /* cannot happen because of assertion above */ diff --git a/plugins/details_editor/details_editor.xml b/plugins/details_editor/details_editor.xml index b878004..ff21798 100644 --- a/plugins/details_editor/details_editor.xml +++ b/plugins/details_editor/details_editor.xml @@ -2478,6 +2478,8 @@ simultaneously</property> <object class="GtkEntry" id="details_entry_7"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="editable">False</property> + <property name="has_frame">False</property> <property name="invisible_char">●</property> </object> <packing> ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2