2001-07-25 Richard Hestilow <hestilow@ximian.com:
* prefs-widget.c (read_preferences): Swap right and left enable. (left_handed_selected_cb): Ditto. (right_handed_selected_cb): Ditto.
This commit is contained in:
parent
80b5aabaf0
commit
a48428a02f
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-07-25 Richard Hestilow <hestilow@ximian.com:
|
||||
|
||||
* prefs-widget.c (read_preferences): Swap right and left enable.
|
||||
(left_handed_selected_cb): Ditto.
|
||||
(right_handed_selected_cb): Ditto.
|
||||
|
||||
2001-07-20 Chema Celorio <chema@celorio.com>
|
||||
|
||||
* RELEASE : 1.5.0
|
||||
|
|
|
@ -226,7 +226,7 @@ read_preferences (PrefsWidget *prefs_widget, Preferences *prefs)
|
|||
g_return_if_fail (prefs != NULL);
|
||||
g_return_if_fail (IS_PREFERENCES (prefs));
|
||||
|
||||
if (prefs->rtol) {
|
||||
if (!prefs->rtol) {
|
||||
gtk_toggle_button_set_active
|
||||
(GTK_TOGGLE_BUTTON (WID ("right_handed_select")),
|
||||
TRUE);
|
||||
|
@ -254,7 +254,7 @@ left_handed_selected_cb (GtkToggleButton *tb, PrefsWidget *prefs_widget)
|
|||
g_return_if_fail (IS_PREFERENCES (prefs_widget->prefs));
|
||||
|
||||
if (gtk_toggle_button_get_active (tb)) {
|
||||
prefs_widget->prefs->rtol = FALSE;
|
||||
prefs_widget->prefs->rtol = TRUE;
|
||||
preferences_changed (prefs_widget->prefs);
|
||||
}
|
||||
|
||||
|
@ -270,7 +270,7 @@ right_handed_selected_cb (GtkToggleButton *tb, PrefsWidget *prefs_widget)
|
|||
g_return_if_fail (IS_PREFERENCES (prefs_widget->prefs));
|
||||
|
||||
if (gtk_toggle_button_get_active (tb)) {
|
||||
prefs_widget->prefs->rtol = TRUE;
|
||||
prefs_widget->prefs->rtol = FALSE;
|
||||
preferences_changed (prefs_widget->prefs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue