[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_5-59-g3720a0f
Pierre Biava
nobody at users.sourceforge.net
Sun Jan 29 11:14:15 CET 2012
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 3720a0f8e3377f783fd38145d0014c160e0470be (commit)
from 33037602986c8d03d2d3faa89192c0168bfe5fa7 (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 3720a0f8e3377f783fd38145d0014c160e0470be
Author: pbiava <pierre.biava at nerim.net>
Date: Sun Jan 29 11:13:23 2012 +0100
bet_tab.c: deleting sub-menu "Delete selection" for the planned transactions
-----------------------------------------------------------------------
Changes:
diff --git a/src/bet_tab.c b/src/bet_tab.c
index 98381e1..a4c986e 100644
--- a/src/bet_tab.c
+++ b/src/bet_tab.c
@@ -1401,13 +1401,12 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
switch ( origine )
{
case SPP_ORIGIN_TRANSACTION:
- case SPP_ORIGIN_SCHEDULED:
if ( g_date_compare ( date, date_jour ) > 0 )
{
menu_item = gtk_image_menu_item_new_with_label ( _("Delete selection") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_DELETE,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_delete_menu ),
@@ -1415,11 +1414,13 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
gtk_menu_shell_append ( GTK_MENU_SHELL ( menu ), menu_item );
}
break;
+ case SPP_ORIGIN_SCHEDULED:
+ break;
case SPP_ORIGIN_HISTORICAL:
menu_item = gtk_image_menu_item_new_with_label ( _("Delete selection") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_DELETE,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_delete_menu ),
@@ -1430,7 +1431,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
menu_item = gtk_image_menu_item_new_with_label ( _("Change selection") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_EDIT,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_change_menu ),
@@ -1440,7 +1441,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
menu_item = gtk_image_menu_item_new_with_label ( _("Delete selection") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_DELETE,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_delete_menu ),
@@ -1451,7 +1452,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
_("Delete all occurences of the selection") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_DELETE,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_delete_all_menu ),
@@ -1499,7 +1500,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
menu_item = gtk_image_menu_item_new_with_label ( _("Delete selection") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_DELETE,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_delete_menu ),
@@ -1515,7 +1516,7 @@ void bet_array_list_context_menu ( GtkWidget *tree_view,
menu_item = gtk_image_menu_item_new_with_label ( _("Reset data") );
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_item ),
gtk_image_new_from_stock ( GTK_STOCK_REFRESH,
- GTK_ICON_SIZE_MENU ) );
+ GTK_ICON_SIZE_MENU ) );
g_signal_connect ( G_OBJECT ( menu_item ),
"activate",
G_CALLBACK ( bet_array_list_redo_menu ),
hooks/post-receive
--
grisbi
More information about the cvs
mailing list