[gthumb] Fixed adjust-time tool not changing minutes and seconds



commit e0458d1530906a131ad791d0c95ed52be472d73f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat May 28 09:41:22 2011 +0200

    Fixed adjust-time tool not changing minutes and seconds
    
    [bug #651297]

 extensions/change_date/dlg-change-date.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/change_date/dlg-change-date.c b/extensions/change_date/dlg-change-date.c
index 266da15..de6e2f7 100644
--- a/extensions/change_date/dlg-change-date.c
+++ b/extensions/change_date/dlg-change-date.c
@@ -86,8 +86,8 @@ ok_button_clicked (GtkWidget  *button,
 	else if (IS_ACTIVE (GET_WIDGET ("adjust_time_radiobutton"))) {
 		change_type = GTH_CHANGE_ADJUST_TIME;
 		time_adjustment = (HOURS_TO_SECONDS (gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (GET_WIDGET ("adjust_time_h_spinbutton"))))
-				   + MINS_TO_SECONDS (gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (GET_WIDGET ("adjust_timem_spinbutton"))))
-				   + gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (GET_WIDGET ("adjust_times_spinbutton"))));
+				   + MINS_TO_SECONDS (gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (GET_WIDGET ("adjust_time_m_spinbutton"))))
+				   + gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (GET_WIDGET ("adjust_time_s_spinbutton"))));
 		if (gtk_combo_box_get_active (GTK_COMBO_BOX (GET_WIDGET ("adjust_sign_combobox"))) == 1)
 			time_adjustment = -time_adjustment;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]