changeset 6015:225902daab80

[gaim-migrate @ 6464] this should make the size keyboard shortcuts work right committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 04 Jul 2003 15:58:03 +0000
parents 66a8e4938e17
children 1e4a574bb46d
files src/gtkconv.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Fri Jul 04 14:25:02 2003 +0000
+++ b/src/gtkconv.c	Fri Jul 04 15:58:03 2003 +0000
@@ -1251,7 +1251,9 @@
 					break;
 
 				case '-':
-					do_small(NULL, gtkconv);
+					set_toggle(gtkconv->toolbar.smaller_size,
+							!gtk_toggle_button_get_active(
+								GTK_TOGGLE_BUTTON(gtkconv->toolbar.smaller_size)));
 
 					g_signal_stop_emission_by_name(G_OBJECT(entry),
 												 "key_press_event");
@@ -1259,7 +1261,9 @@
 
 				case '=':
 				case '+':
-					do_big(NULL, gtkconv);
+					set_toggle(gtkconv->toolbar.larger_size,
+							!gtk_toggle_button_get_active(
+								GTK_TOGGLE_BUTTON(gtkconv->toolbar.larger_size)));
 
 					g_signal_stop_emission_by_name(G_OBJECT(entry),
 												 "key_press_event");