diff --git a/ChangeLog b/ChangeLog index 164fef34d3..4c94ee89ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-08-24 Sven Neumann + + * app/about_dialog.c: sorry, Tor, that wouldn't compile under gdk-1.2. + 2000-08-24 Tor Lillqvist * README.win32: Update, tell people the MSVC makefiles are not diff --git a/app/about_dialog.c b/app/about_dialog.c index 3914c9740a..f8c425f8f0 100644 --- a/app/about_dialog.c +++ b/app/about_dialog.c @@ -24,7 +24,6 @@ #include #include -#include /* For GDK_USE_UTF8_MBS */ #include #include "about_dialog.h" @@ -275,7 +274,7 @@ about_dialog_create (void) offset = 0; cur_scroll_text = 0; - if (!double_speed) + if (!double_speed && hadja_state != 7) { for (i = 0; i < nscroll_texts; i++) { @@ -472,6 +471,9 @@ about_dialog_key (GtkWidget *widget, { gint i; + if (hadja_state == 7) + return FALSE; + switch (event->keyval) { case GDK_h: @@ -515,15 +517,13 @@ about_dialog_key (GtkWidget *widget, { shuffle_array[i] = i; scroll_text_widths[i] = gdk_string_width (scroll_area->style->font, - scroll_text[i]); + scroll_text[i]); } scroll_state = 0; cur_scroll_index = 0; cur_scroll_text = 0; offset = 0; - - double_speed = TRUE; } return FALSE; diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c index 3914c9740a..f8c425f8f0 100644 --- a/app/dialogs/about-dialog.c +++ b/app/dialogs/about-dialog.c @@ -24,7 +24,6 @@ #include #include -#include /* For GDK_USE_UTF8_MBS */ #include #include "about_dialog.h" @@ -275,7 +274,7 @@ about_dialog_create (void) offset = 0; cur_scroll_text = 0; - if (!double_speed) + if (!double_speed && hadja_state != 7) { for (i = 0; i < nscroll_texts; i++) { @@ -472,6 +471,9 @@ about_dialog_key (GtkWidget *widget, { gint i; + if (hadja_state == 7) + return FALSE; + switch (event->keyval) { case GDK_h: @@ -515,15 +517,13 @@ about_dialog_key (GtkWidget *widget, { shuffle_array[i] = i; scroll_text_widths[i] = gdk_string_width (scroll_area->style->font, - scroll_text[i]); + scroll_text[i]); } scroll_state = 0; cur_scroll_index = 0; cur_scroll_text = 0; offset = 0; - - double_speed = TRUE; } return FALSE; diff --git a/app/gui/about-dialog.c b/app/gui/about-dialog.c index 3914c9740a..f8c425f8f0 100644 --- a/app/gui/about-dialog.c +++ b/app/gui/about-dialog.c @@ -24,7 +24,6 @@ #include #include -#include /* For GDK_USE_UTF8_MBS */ #include #include "about_dialog.h" @@ -275,7 +274,7 @@ about_dialog_create (void) offset = 0; cur_scroll_text = 0; - if (!double_speed) + if (!double_speed && hadja_state != 7) { for (i = 0; i < nscroll_texts; i++) { @@ -472,6 +471,9 @@ about_dialog_key (GtkWidget *widget, { gint i; + if (hadja_state == 7) + return FALSE; + switch (event->keyval) { case GDK_h: @@ -515,15 +517,13 @@ about_dialog_key (GtkWidget *widget, { shuffle_array[i] = i; scroll_text_widths[i] = gdk_string_width (scroll_area->style->font, - scroll_text[i]); + scroll_text[i]); } scroll_state = 0; cur_scroll_index = 0; cur_scroll_text = 0; offset = 0; - - double_speed = TRUE; } return FALSE;