mirror of https://github.com/GNOME/gimp.git
parent
565ca6b118
commit
48ebd22f43
|
@ -1,3 +1,7 @@
|
||||||
|
2000-08-24 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/about_dialog.c: sorry, Tor, that wouldn't compile under gdk-1.2.
|
||||||
|
|
||||||
2000-08-24 Tor Lillqvist <tml@iki.fi>
|
2000-08-24 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* README.win32: Update, tell people the MSVC makefiles are not
|
* README.win32: Update, tell people the MSVC makefiles are not
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gdk/gdkconfig.h> /* For GDK_USE_UTF8_MBS */
|
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
|
|
||||||
#include "about_dialog.h"
|
#include "about_dialog.h"
|
||||||
|
@ -275,7 +274,7 @@ about_dialog_create (void)
|
||||||
offset = 0;
|
offset = 0;
|
||||||
cur_scroll_text = 0;
|
cur_scroll_text = 0;
|
||||||
|
|
||||||
if (!double_speed)
|
if (!double_speed && hadja_state != 7)
|
||||||
{
|
{
|
||||||
for (i = 0; i < nscroll_texts; i++)
|
for (i = 0; i < nscroll_texts; i++)
|
||||||
{
|
{
|
||||||
|
@ -472,6 +471,9 @@ about_dialog_key (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
|
if (hadja_state == 7)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
switch (event->keyval)
|
switch (event->keyval)
|
||||||
{
|
{
|
||||||
case GDK_h:
|
case GDK_h:
|
||||||
|
@ -515,15 +517,13 @@ about_dialog_key (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
shuffle_array[i] = i;
|
shuffle_array[i] = i;
|
||||||
scroll_text_widths[i] = gdk_string_width (scroll_area->style->font,
|
scroll_text_widths[i] = gdk_string_width (scroll_area->style->font,
|
||||||
scroll_text[i]);
|
scroll_text[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll_state = 0;
|
scroll_state = 0;
|
||||||
cur_scroll_index = 0;
|
cur_scroll_index = 0;
|
||||||
cur_scroll_text = 0;
|
cur_scroll_text = 0;
|
||||||
offset = 0;
|
offset = 0;
|
||||||
|
|
||||||
double_speed = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gdk/gdkconfig.h> /* For GDK_USE_UTF8_MBS */
|
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
|
|
||||||
#include "about_dialog.h"
|
#include "about_dialog.h"
|
||||||
|
@ -275,7 +274,7 @@ about_dialog_create (void)
|
||||||
offset = 0;
|
offset = 0;
|
||||||
cur_scroll_text = 0;
|
cur_scroll_text = 0;
|
||||||
|
|
||||||
if (!double_speed)
|
if (!double_speed && hadja_state != 7)
|
||||||
{
|
{
|
||||||
for (i = 0; i < nscroll_texts; i++)
|
for (i = 0; i < nscroll_texts; i++)
|
||||||
{
|
{
|
||||||
|
@ -472,6 +471,9 @@ about_dialog_key (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
|
if (hadja_state == 7)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
switch (event->keyval)
|
switch (event->keyval)
|
||||||
{
|
{
|
||||||
case GDK_h:
|
case GDK_h:
|
||||||
|
@ -515,15 +517,13 @@ about_dialog_key (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
shuffle_array[i] = i;
|
shuffle_array[i] = i;
|
||||||
scroll_text_widths[i] = gdk_string_width (scroll_area->style->font,
|
scroll_text_widths[i] = gdk_string_width (scroll_area->style->font,
|
||||||
scroll_text[i]);
|
scroll_text[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll_state = 0;
|
scroll_state = 0;
|
||||||
cur_scroll_index = 0;
|
cur_scroll_index = 0;
|
||||||
cur_scroll_text = 0;
|
cur_scroll_text = 0;
|
||||||
offset = 0;
|
offset = 0;
|
||||||
|
|
||||||
double_speed = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gdk/gdkconfig.h> /* For GDK_USE_UTF8_MBS */
|
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
|
|
||||||
#include "about_dialog.h"
|
#include "about_dialog.h"
|
||||||
|
@ -275,7 +274,7 @@ about_dialog_create (void)
|
||||||
offset = 0;
|
offset = 0;
|
||||||
cur_scroll_text = 0;
|
cur_scroll_text = 0;
|
||||||
|
|
||||||
if (!double_speed)
|
if (!double_speed && hadja_state != 7)
|
||||||
{
|
{
|
||||||
for (i = 0; i < nscroll_texts; i++)
|
for (i = 0; i < nscroll_texts; i++)
|
||||||
{
|
{
|
||||||
|
@ -472,6 +471,9 @@ about_dialog_key (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
|
if (hadja_state == 7)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
switch (event->keyval)
|
switch (event->keyval)
|
||||||
{
|
{
|
||||||
case GDK_h:
|
case GDK_h:
|
||||||
|
@ -515,15 +517,13 @@ about_dialog_key (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
shuffle_array[i] = i;
|
shuffle_array[i] = i;
|
||||||
scroll_text_widths[i] = gdk_string_width (scroll_area->style->font,
|
scroll_text_widths[i] = gdk_string_width (scroll_area->style->font,
|
||||||
scroll_text[i]);
|
scroll_text[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
scroll_state = 0;
|
scroll_state = 0;
|
||||||
cur_scroll_index = 0;
|
cur_scroll_index = 0;
|
||||||
cur_scroll_text = 0;
|
cur_scroll_text = 0;
|
||||||
offset = 0;
|
offset = 0;
|
||||||
|
|
||||||
double_speed = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue