Re: PATCH: Compose Coordinates
- From: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- To: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- Cc: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>,balsa-list gnome org
- Subject: Re: PATCH: Compose Coordinates
- Date: Sun, 19 Aug 2001 02:47:07 +0200
On 2001.08.19 01:51:22 +0200 Ali Akcaagac wrote:
> i am not 100% sure but this may be because of a wrong event.
> i placed this one in a key_press_event temporarely only for
> testing purposes but i think that this event is wrong.
gotcha. while i am working on the patch please do this
> @@ -1160,6 +1164,12 @@
> GtkWidget *table;
>
> msg->text = gtk_text_new(NULL, NULL);
> +
> + /* FIXME: i am not sure if this signal is the right one for this */
> + /* kind of implementation. another event could be better. */
> + gtk_signal_connect(GTK_OBJECT(msg->text), "key_press_event",
> + GTK_SIGNAL_FUNC(balsa_key_press_event_cb), msg);
> +
> gtk_text_set_editable(GTK_TEXT(msg->text), TRUE);
> gtk_text_set_word_wrap(GTK_TEXT(msg->text), TRUE);
> balsa_spell_check_set_text(BALSA_SPELL_CHECK(msg->spell_checker),
you see the key_press_event there gtk_signal_connect written before change
this to 'gtk_signal_connect_after' and compile this solves all missbehaves
and now also count all values correctly. now after i found this issue lemme
continue progressing that patch.
> + gtk_signal_connect(GTK_OBJECT(msg->text), "key_press_event",
becomes
> + gtk_signal_connect_after(GTK_OBJECT(msg->text), "key_press_event",
--
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]