[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_7_96-1-g22b49c7
Pierre Biava
nobody at users.sourceforge.net
Sun Dec 12 23:20:32 CET 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".
The branch, master has been updated
via 22b49c76c7783e358695f440b621cc04ea3c975c (commit)
from c21b2465b268b305efe511fce914ef141faba8a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 22b49c76c7783e358695f440b621cc04ea3c975c
Author: pbiava <pierre.biava at nerim.net>
Date: Sun Dec 12 23:19:43 2010 +0100
Fixed a regression in highlighting of transactions in reports
-----------------------------------------------------------------------
Changes:
diff --git a/src/utils.c b/src/utils.c
index 0554344..150fe59 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -59,16 +59,21 @@ gboolean met_en_prelight ( GtkWidget *event_box,
GdkEventMotion *event,
gpointer pointeur )
{
- GSList *list = ( GSList* ) pointeur;
-
- while (list )
+ if ( pointeur == NULL )
+ gtk_widget_set_state ( GTK_WIDGET ( GTK_BIN (event_box)->child ), GTK_STATE_PRELIGHT );
+ else
{
- GtkWidget *widget;
+ GSList *list = ( GSList* ) pointeur;
+
+ while (list )
+ {
+ GtkWidget *widget;
- widget = list -> data;
- gtk_widget_set_state ( GTK_WIDGET ( GTK_BIN ( widget )->child ), GTK_STATE_PRELIGHT );
+ widget = list -> data;
+ gtk_widget_set_state ( GTK_WIDGET ( GTK_BIN ( widget )->child ), GTK_STATE_PRELIGHT );
- list = list -> next;
+ list = list -> next;
+ }
}
return FALSE;
}
@@ -83,18 +88,24 @@ gboolean met_en_normal ( GtkWidget *event_box,
GdkEventMotion *event,
gpointer pointeur )
{
- GSList *list = ( GSList* ) pointeur;
-
- while (list )
+ if ( pointeur == NULL )
+ gtk_widget_set_state ( GTK_WIDGET ( GTK_BIN (event_box)->child ), GTK_STATE_NORMAL );
+ else
{
- GtkWidget *widget;
+ GSList *list = ( GSList* ) pointeur;
+
+ while (list )
+ {
+ GtkWidget *widget;
- widget = list -> data;
+ widget = list -> data;
- gtk_widget_set_state ( GTK_WIDGET ( GTK_BIN ( widget )->child ), GTK_STATE_NORMAL );
+ gtk_widget_set_state ( GTK_WIDGET ( GTK_BIN ( widget )->child ), GTK_STATE_NORMAL );
- list = list -> next;
+ list = list -> next;
+ }
}
+
return FALSE;
}
hooks/post-receive
--
grisbi
More information about the cvs
mailing list