Index: data/glade/song-info-multiple.glade
===================================================================
RCS file: /cvs/gnome/rhythmbox/data/glade/song-info-multiple.glade,v
retrieving revision 1.4
diff -r1.4 song-info-multiple.glade
14a15,20
>   <property name="decorated">True</property>
>   <property name="skip_taskbar_hint">False</property>
>   <property name="skip_pager_hint">False</property>
>   <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
>   <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
>   <property name="focus_on_map">True</property>
20c26
<       <property name="n_rows">5</property>
---
>       <property name="n_rows">6</property>
35c41
< 	  <property name="invisible_char" translatable="yes">*</property>
---
> 	  <property name="invisible_char">*</property>
56c62
< 	  <property name="invisible_char" translatable="yes">*</property>
---
> 	  <property name="invisible_char">*</property>
81a88,91
> 	  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
> 	  <property name="width_chars">-1</property>
> 	  <property name="single_line_mode">False</property>
> 	  <property name="angle">0</property>
106a117,120
> 	  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
> 	  <property name="width_chars">-1</property>
> 	  <property name="single_line_mode">False</property>
> 	  <property name="angle">0</property>
131a146,149
> 	  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
> 	  <property name="width_chars">-1</property>
> 	  <property name="single_line_mode">False</property>
> 	  <property name="angle">0</property>
152c170
< 	  <property name="invisible_char" translatable="yes">*</property>
---
> 	  <property name="invisible_char">*</property>
176a195,198
> 	  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
> 	  <property name="width_chars">-1</property>
> 	  <property name="single_line_mode">False</property>
> 	  <property name="angle">0</property>
181,182c203,204
< 	  <property name="top_attach">4</property>
< 	  <property name="bottom_attach">5</property>
---
> 	  <property name="top_attach">5</property>
> 	  <property name="bottom_attach">6</property>
201,202c223,224
< 	  <property name="top_attach">4</property>
< 	  <property name="bottom_attach">5</property>
---
> 	  <property name="top_attach">5</property>
> 	  <property name="bottom_attach">6</property>
204a227,276
> 	</packing>
>       </child>
> 
>       <child>
> 	<widget class="GtkLabel" id="year_label">
> 	  <property name="visible">True</property>
> 	  <property name="label" translatable="yes">_Year:</property>
> 	  <property name="use_underline">True</property>
> 	  <property name="use_markup">False</property>
> 	  <property name="justify">GTK_JUSTIFY_LEFT</property>
> 	  <property name="wrap">False</property>
> 	  <property name="selectable">False</property>
> 	  <property name="xalign">0</property>
> 	  <property name="yalign">0.5</property>
> 	  <property name="xpad">0</property>
> 	  <property name="ypad">0</property>
> 	  <property name="mnemonic_widget">song_info_year</property>
> 	  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
> 	  <property name="width_chars">-1</property>
> 	  <property name="single_line_mode">False</property>
> 	  <property name="angle">0</property>
> 	</widget>
> 	<packing>
> 	  <property name="left_attach">0</property>
> 	  <property name="right_attach">1</property>
> 	  <property name="top_attach">3</property>
> 	  <property name="bottom_attach">4</property>
> 	  <property name="x_options">fill</property>
> 	  <property name="y_options"></property>
> 	</packing>
>       </child>
> 
>       <child>
> 	<widget class="GtkEntry" id="song_info_year">
> 	  <property name="visible">True</property>
> 	  <property name="can_focus">True</property>
> 	  <property name="editable">True</property>
> 	  <property name="visibility">True</property>
> 	  <property name="max_length">0</property>
> 	  <property name="text" translatable="yes"></property>
> 	  <property name="has_frame">True</property>
> 	  <property name="invisible_char">*</property>
> 	  <property name="activates_default">False</property>
> 	</widget>
> 	<packing>
> 	  <property name="left_attach">1</property>
> 	  <property name="right_attach">2</property>
> 	  <property name="top_attach">3</property>
> 	  <property name="bottom_attach">4</property>
> 	  <property name="y_options"></property>
Index: widgets/rb-song-info.c
===================================================================
RCS file: /cvs/gnome/rhythmbox/widgets/rb-song-info.c,v
retrieving revision 1.41
diff -r1.41 rb-song-info.c
387a388
> 	song_info->priv->year = glade_xml_get_widget (xml, "song_info_year");
393a395
> 	rb_glade_boldify_label (xml, "year_label");
868a871,873
> 	const char *year_str = gtk_entry_get_text (GTK_ENTRY (dialog->priv->year));
> 
> 	char *endptr;
870a876
> 	gint year;
914a921,949
> 
> 	year = g_ascii_strtoull (year_str, &endptr, 10);
> 	if (strlen (year_str) > 0) {
> 		GDate *date = NULL;
> 		GType type;
> 		if (year > 0) {
> 			date = g_date_new_dmy(1, G_DATE_JANUARY, year);
> 		} 
> 
> 		type = rhythmdb_get_property_type (dialog->priv->db,
> 						   RHYTHMDB_PROP_DATE);
> 
> 		g_value_init (&val, type);
> 		g_value_set_ulong (&val, g_date_get_julian (date));
> 
> 		for (tem = dialog->priv->selected_entries; tem; tem = tem->next) {
> 			entry = (RhythmDBEntry *)tem->data;
> 			if (year == g_date_get_year (entry->date))
> 				continue;
> 			rhythmdb_entry_set (dialog->priv->db, entry,
> 					    RHYTHMDB_PROP_DATE, &val);
> 			changed = TRUE;
> 		}
> 		g_value_unset (&val);
> 		if (date)
> 			g_date_free (date);
> 
> 	}
> 
