Rating widget: switch range to 0-100 for 0-10 stars, allow half stars
[cinaest] / src / movie-menu.vala
index a3e2544..b3ae17b 100644 (file)
@@ -77,7 +77,7 @@ public class MovieMenu : AppMenu {
                dialog.destroy ();
                if (res == Gtk.ResponseType.OK) {
                        movie.julian_date = get_julian_date (date);
-                       movie.rating = 10 * rating.get_rating ();
+                       movie.rating = rating.get_rating ();
                        Banner.show_information (parent_window, null, _("Rated movie '%s': %.1f").printf (movie.title, movie.rating/10.0));
                        foreach (Plugin plugin in CinaestProgram.plugins) {
                                foreach (MovieSource source in plugin.get_sources ()) {