Commit 1f07cd2d authored by Morten Welinder's avatar Morten Welinder

Make sure "feedback" does not gets confused with a click on the "Bold"

and "Italic" buttons.
parent 6f3de14a
1999-06-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_feedback_set): Block the "clicked"
handlers when we are just setting the feedback.
1999-06-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c (gnumeric_gcd): Made GCD() to take variable number
......
1999-06-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_feedback_set): Block the "clicked"
handlers when we are just setting the feedback.
1999-06-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c (gnumeric_gcd): Made GCD() to take variable number
......
1999-06-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_feedback_set): Block the "clicked"
handlers when we are just setting the feedback.
1999-06-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c (gnumeric_gcd): Made GCD() to take variable number
......
1999-06-16 Morten Welinder <terra@diku.dk>
* src/workbook.c (workbook_feedback_set): Block the "clicked"
handlers when we are just setting the feedback.
1999-06-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c (gnumeric_gcd): Made GCD() to take variable number
......
......@@ -2100,7 +2100,13 @@ workbook_feedback_set (Workbook *workbook, WorkbookFeedbackType type, void *data
toolbar [TOOLBAR_BOLD_BUTTON_INDEX].widget);
set = data != NULL;
gtk_signal_handler_block_by_func (GTK_OBJECT (t),
(GtkSignalFunc)&bold_cmd,
workbook);
gtk_toggle_button_set_active (t, set);
gtk_signal_handler_unblock_by_func (GTK_OBJECT (t),
(GtkSignalFunc)&bold_cmd,
workbook);
break;
case WORKBOOK_FEEDBACK_ITALIC:
......@@ -2108,7 +2114,13 @@ workbook_feedback_set (Workbook *workbook, WorkbookFeedbackType type, void *data
toolbar [TOOLBAR_ITALIC_BUTTON_INDEX].widget);
set = data != NULL;
gtk_signal_handler_block_by_func (GTK_OBJECT (t),
(GtkSignalFunc)&italic_cmd,
workbook);
gtk_toggle_button_set_active (t, set);
gtk_signal_handler_unblock_by_func (GTK_OBJECT (t),
(GtkSignalFunc)&italic_cmd,
workbook);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment