[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_7_97-11-g129fcbd

Pierre Biava nobody at users.sourceforge.net
Wed Dec 29 19:32:42 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  129fcbd96431edb785c20ce76d409eb81b87ebb3 (commit)
      from  190ffe974938877f8fc6bd4803a6c296c6a18b41 (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 129fcbd96431edb785c20ce76d409eb81b87ebb3
Author: pbiava <pierre.biava at nerim.net>
Date:   Wed Dec 29 19:31:41 2010 +0100

    Selection of the first scheduled operation of the list after running a scheduled operation.

-----------------------------------------------------------------------

Changes:
diff --git a/src/gsb_form.c b/src/gsb_form.c
index 99d314d..b971ca9 100644
--- a/src/gsb_form.c
+++ b/src/gsb_form.c
@@ -2681,6 +2681,18 @@ gboolean gsb_form_finish_edition ( void )
         return FALSE;
     }
 
+    if ( execute_scheduled )
+    {
+        GtkTreeSelection *selection;
+        GtkTreePath *path;
+
+        selection = gtk_tree_view_get_selection ( GTK_TREE_VIEW ( gsb_scheduler_list_get_tree_view ( ) ) );
+        path = gtk_tree_path_new_from_string ( "0" );
+        gtk_tree_selection_select_path ( selection, path );
+
+        gtk_tree_path_free ( path );
+    }
+
     /* give the focus to the date widget */
     if ( is_transaction )
         gsb_form_widget_set_focus ( TRANSACTION_FORM_DATE );


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list