[grisbi-cvs] grisbi/src affichage_liste.c, 1.101, 1.102 categories_onglet.c, 1.177, 1.178 etats_config.c, 1.156, 1.157 export.c, 1.18, 1.19 gsb_account_property.c, 1.10, 1.11 gsb_archive_config.c, 1.17, 1.18 gsb_assistant_archive.c, 1.28, 1.29 gsb_bank.c, 1.11, 1.12 gsb_calendar_entry.c, 1.17, 1.18 gsb_currency.c, 1.28, 1.29 gsb_currency_config.c, 1.36, 1.37 gsb_form.c, 1.98, 1.99 gsb_reconcile.c, 1.25, 1.26 gtk_combofix.c, 1.52, 1.53 import.c, 1.246, 1.247 import_csv.c, 1.50, 1.51 imputation_budgetaire.c, 1.142, 1.143 tiers_onglet.c, 1.137, 1.138

Martin Stromberger fabiolla at users.sourceforge.net
Thu Nov 13 20:32:46 CET 2008


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1992/src

Modified Files:
	affichage_liste.c categories_onglet.c etats_config.c export.c 
	gsb_account_property.c gsb_archive_config.c 
	gsb_assistant_archive.c gsb_bank.c gsb_calendar_entry.c 
	gsb_currency.c gsb_currency_config.c gsb_form.c 
	gsb_reconcile.c gtk_combofix.c import.c import_csv.c 
	imputation_budgetaire.c tiers_onglet.c 
Log Message:
repalce of depracted gtk_widget_set_usize with gtk_widget_set_size_request

Index: gtk_combofix.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gtk_combofix.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- gtk_combofix.c	28 Oct 2008 00:30:05 -0000	1.52
+++ gtk_combofix.c	13 Nov 2008 19:32:44 -0000	1.53
@@ -1191,7 +1191,7 @@
 			       x,
 			       y );
 
-    gtk_widget_set_usize ( GTK_WIDGET ( combofix->popup ),
+    gtk_widget_set_size_request ( GTK_WIDGET ( combofix->popup ),
 			   GTK_WIDGET ( combofix ) ->allocation.width,
 			   height );
     return FALSE;

Index: gsb_assistant_archive.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_archive.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- gsb_assistant_archive.c	4 Nov 2008 22:52:02 -0000	1.28
+++ gsb_assistant_archive.c	13 Nov 2008 19:32:44 -0000	1.29
@@ -419,7 +419,7 @@
     name_entry = gtk_entry_new ();
     g_signal_connect ( G_OBJECT (name_entry ), "destroy",
     		G_CALLBACK ( gtk_widget_destroyed), &name_entry );
-    gtk_widget_set_usize ( name_entry, 400, FALSE );
+    gtk_widget_set_size_request ( name_entry, 400, FALSE );
     g_signal_connect_object ( G_OBJECT (name_entry),
 			      "changed",
 			      G_CALLBACK (gsb_assistant_archive_update_labels),

Index: imputation_budgetaire.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/imputation_budgetaire.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- imputation_budgetaire.c	1 Nov 2008 21:59:44 -0000	1.142
+++ imputation_budgetaire.c	13 Nov 2008 19:32:44 -0000	1.143
@@ -671,7 +671,7 @@
 			     gsb_data_budget_get_name ( budget_number, 0, NULL ) );
     }
 
-    gtk_widget_set_usize ( entry, 400, 0 );
+    gtk_widget_set_size_request ( entry, 400, 0 );
     gtk_table_attach ( GTK_TABLE(table), entry, 1, 2, 0, 1, GTK_EXPAND|GTK_FILL, 0, 0, 0 );
 
     if ( sub_budget_number <= 0 )

Index: affichage_liste.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/affichage_liste.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- affichage_liste.c	31 Oct 2008 17:00:44 -0000	1.101
+++ affichage_liste.c	13 Nov 2008 19:32:44 -0000	1.102
@@ -481,7 +481,7 @@
 			 FALSE, FALSE, 0 );
 
     entry = gtk_entry_new ();
-    gtk_widget_set_usize ( entry,
+    gtk_widget_set_size_request ( entry,
 			   30, FALSE );
     gchar* tmpstr = utils_str_itoa (etat.combofix_max_item);
     gtk_entry_set_text ( GTK_ENTRY (entry), tmpstr);

Index: gsb_form.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- gsb_form.c	5 Nov 2008 20:48:39 -0000	1.98
+++ gsb_form.c	13 Nov 2008 19:32:44 -0000	1.99
@@ -3073,7 +3073,7 @@
 									    column,
 									    row ));
 	    if ( widget )
-		gtk_widget_set_usize ( widget,
+		gtk_widget_set_size_request ( widget,
 				       gsb_data_form_get_width_column (account_number,
 								       column ) * allocation -> width / 100,
 				       FALSE );
@@ -3114,7 +3114,7 @@
 		    break;
 	    }
 	    if (widget && GTK_IS_WIDGET (widget))
-		gtk_widget_set_usize ( widget,
+		gtk_widget_set_size_request ( widget,
 				       width_percent * allocation -> width / 100,
 				       FALSE );
 	}

Index: etats_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_config.c,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- etats_config.c	1 Nov 2008 21:59:44 -0000	1.156
+++ etats_config.c	13 Nov 2008 19:32:44 -0000	1.157
@@ -2326,7 +2326,7 @@
     entree_date_init_etat = gsb_calendar_entry_new (FALSE);
     g_signal_connect ( G_OBJECT (entree_date_init_etat ), "destroy",
     		G_CALLBACK ( gtk_widget_destroyed), &entree_date_init_etat );
-    gtk_widget_set_usize ( entree_date_init_etat,
+    gtk_widget_set_size_request ( entree_date_init_etat,
 			   100,
 			   FALSE );
     gtk_box_pack_end ( GTK_BOX ( hbox ),
@@ -2358,7 +2358,7 @@
     entree_date_finale_etat = gsb_calendar_entry_new (FALSE);
     g_signal_connect ( G_OBJECT (entree_date_finale_etat ), "destroy",
     		G_CALLBACK ( gtk_widget_destroyed), &entree_date_finale_etat );
-    gtk_widget_set_usize ( entree_date_finale_etat,
+    gtk_widget_set_size_request ( entree_date_finale_etat,
 			   100,
 			   FALSE );
     gtk_box_pack_end ( GTK_BOX ( hbox ),
@@ -4601,7 +4601,7 @@
     gtk_widget_show ( hbox );
 
     label = gtk_label_new ( NULL );
-    gtk_widget_set_usize ( label,
+    gtk_widget_set_size_request ( label,
 			   12,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
@@ -4649,7 +4649,7 @@
 
     /* on peut maintenant mettre l'entrée de txt */
 
-    gtk_widget_set_usize ( gsb_data_report_text_comparison_get_entry_text (text_comparison_number),
+    gtk_widget_set_size_request ( gsb_data_report_text_comparison_get_entry_text (text_comparison_number),
 			   150,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX (gsb_data_report_text_comparison_get_hbox_text (text_comparison_number)),
@@ -4672,7 +4672,7 @@
     gtk_widget_show ( hbox );
 
     label = gtk_label_new ( NULL );
-    gtk_widget_set_usize ( label,
+    gtk_widget_set_size_request ( label,
 			   12,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
@@ -4733,7 +4733,7 @@
 
     gsb_data_report_text_comparison_set_entry_first_amount ( text_comparison_number,
 							     gtk_entry_new ());
-    gtk_widget_set_usize ( gsb_data_report_text_comparison_get_entry_first_amount (text_comparison_number),
+    gtk_widget_set_size_request ( gsb_data_report_text_comparison_get_entry_first_amount (text_comparison_number),
 			   100,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX (gsb_data_report_text_comparison_get_hbox_cheque (text_comparison_number)),
@@ -4790,7 +4790,7 @@
 
     gsb_data_report_text_comparison_set_entry_second_amount ( text_comparison_number,
 							      gtk_entry_new ());
-    gtk_widget_set_usize ( gsb_data_report_text_comparison_get_entry_second_amount (text_comparison_number),
+    gtk_widget_set_size_request ( gsb_data_report_text_comparison_get_entry_second_amount (text_comparison_number),
 			   100,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX (gsb_data_report_text_comparison_get_hbox_second_part (text_comparison_number)),
@@ -5628,7 +5628,7 @@
     gtk_widget_show ( label );
 
     widget = gtk_entry_new ();
-    gtk_widget_set_usize ( widget,
+    gtk_widget_set_size_request ( widget,
 			   50,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX ( hbox ),
@@ -5689,7 +5689,7 @@
     gtk_widget_show ( label );
 
     widget = gtk_entry_new ();
-    gtk_widget_set_usize ( widget,
+    gtk_widget_set_size_request ( widget,
 			   50,
 			   FALSE );
     gtk_box_pack_start ( GTK_BOX ( widget_1 ),

Index: gsb_archive_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_archive_config.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- gsb_archive_config.c	21 Oct 2008 08:05:18 -0000	1.17
+++ gsb_archive_config.c	13 Nov 2008 19:32:44 -0000	1.18
@@ -263,7 +263,7 @@
 			 0 );
     entry = gsb_automem_spin_button_new (&etat.max_non_archived_transactions_for_check,
 					 NULL, NULL );
-    gtk_widget_set_usize ( entry,
+    gtk_widget_set_size_request ( entry,
 			   100, FALSE );
     gtk_box_pack_start ( GTK_BOX (hbox),
 			 entry,

Index: gsb_reconcile.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_reconcile.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- gsb_reconcile.c	29 Oct 2008 22:50:30 -0000	1.25
+++ gsb_reconcile.c	13 Nov 2008 19:32:44 -0000	1.26
@@ -165,7 +165,7 @@
     /* set the old balance,
      * an entry the first time, will be unsensitive after */
     reconcile_initial_balance_entry = gtk_entry_new ( );
-    gtk_widget_set_usize ( reconcile_initial_balance_entry, 50, FALSE );
+    gtk_widget_set_size_request ( reconcile_initial_balance_entry, 50, FALSE );
     g_signal_connect ( G_OBJECT ( reconcile_initial_balance_entry ), "changed",
 		       G_CALLBACK (gsb_reconcile_update_amounts),
 		       NULL );
@@ -177,7 +177,7 @@
 
     /* make the new date entry */
     reconcile_new_date_entry = gsb_calendar_entry_new (TRUE);
-    gtk_widget_set_usize ( reconcile_new_date_entry, 50, FALSE );
+    gtk_widget_set_size_request ( reconcile_new_date_entry, 50, FALSE );
     g_signal_connect ( G_OBJECT ( reconcile_new_date_entry ),
 		       "key-press-event",
 		       G_CALLBACK( gsb_reconcile_key_press_event ), NULL );
@@ -186,7 +186,7 @@
 
     /* set the new balance */
     reconcile_final_balance_entry = gtk_entry_new ();
-    gtk_widget_set_usize ( reconcile_final_balance_entry, 50, FALSE );
+    gtk_widget_set_size_request ( reconcile_final_balance_entry, 50, FALSE );
     g_signal_connect ( G_OBJECT ( reconcile_final_balance_entry ), "changed",
 		       G_CALLBACK (gsb_reconcile_update_amounts),
 		       NULL );

Index: categories_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/categories_onglet.c,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -d -r1.177 -r1.178
--- categories_onglet.c	1 Nov 2008 21:59:44 -0000	1.177
+++ categories_onglet.c	13 Nov 2008 19:32:44 -0000	1.178
@@ -639,7 +639,7 @@
 			     gsb_data_category_get_name ( category_number, 0, NULL ) );
     }
 
-    gtk_widget_set_usize ( entry, 400, 0 );
+    gtk_widget_set_size_request ( entry, 400, 0 );
     gtk_table_attach ( GTK_TABLE(table), entry, 1, 2, 0, 1, GTK_EXPAND|GTK_FILL, 0, 0, 0 );
 
     if ( sub_category_number <= 0 )

Index: gsb_calendar_entry.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_calendar_entry.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- gsb_calendar_entry.c	18 Oct 2008 09:49:52 -0000	1.17
+++ gsb_calendar_entry.c	13 Nov 2008 19:32:44 -0000	1.18
@@ -85,7 +85,7 @@
     GtkWidget *entry;
 
     entry = gtk_entry_new ();
-    gtk_widget_set_usize ( entry,
+    gtk_widget_set_size_request ( entry,
 			   100,
 			   FALSE );
     g_signal_connect ( G_OBJECT (entry),

Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -d -r1.246 -r1.247
--- import.c	12 Nov 2008 22:30:22 -0000	1.246
+++ import.c	13 Nov 2008 19:32:44 -0000	1.247
@@ -308,7 +308,7 @@
 
     /* Scroll for tree view. */
     sw = gtk_scrolled_window_new (NULL, NULL);
-    gtk_widget_set_usize ( sw, 480, 120 );
+    gtk_widget_set_size_request ( sw, 480, 120 );
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN);
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC,
 				    GTK_POLICY_AUTOMATIC);
@@ -2717,7 +2717,7 @@
 			    "liste_ope",
 			    liste_opes_import_celibataires );
 	scrolled_window = gtk_scrolled_window_new ( FALSE, FALSE );
-	gtk_widget_set_usize ( scrolled_window, FALSE, 300 );
+	gtk_widget_set_size_request ( scrolled_window, FALSE, 300 );
 	gtk_box_pack_start ( GTK_BOX ( GTK_DIALOG ( dialog ) -> vbox ),
 			     scrolled_window,
 			     TRUE,
@@ -3340,7 +3340,7 @@
     /* i tried to use gtk_file_chooser_button, but the name of the file is showed only sometimes
      * so go back to the old method with a gtkentry */
     entry = gtk_entry_new ();
-    gtk_widget_set_usize ( entry, 200, FALSE );
+    gtk_widget_set_size_request ( entry, 200, FALSE );
     gtk_table_attach ( GTK_TABLE(table), entry, 1, 2, 1, 2,
                GTK_SHRINK | GTK_FILL, 0, 0, 0 );
 

Index: gsb_account_property.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_account_property.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gsb_account_property.c	25 Oct 2008 15:27:29 -0000	1.10
+++ gsb_account_property.c	13 Nov 2008 19:32:44 -0000	1.11
@@ -359,7 +359,7 @@
 						 G_CALLBACK (gsb_data_account_set_bank_account_key), 0);
     g_signal_connect ( G_OBJECT (detail_cle_compte ), "destroy",
 		       G_CALLBACK ( gtk_widget_destroyed), &detail_cle_compte );
-    gtk_widget_set_usize ( detail_cle_compte, 30, FALSE );
+    gtk_widget_set_size_request ( detail_cle_compte, 30, FALSE );
     gtk_box_pack_start ( GTK_BOX ( hbox ), detail_cle_compte, FALSE, FALSE, 0 );
 
 

Index: export.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/export.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- export.c	1 Nov 2008 08:08:56 -0000	1.18
+++ export.c	13 Nov 2008 19:32:44 -0000	1.19
@@ -142,7 +142,7 @@
     /* Scroll for tree view. */
     sw = gtk_scrolled_window_new (NULL, NULL);
     gtk_box_pack_start ( GTK_BOX ( padding_box ), sw, TRUE, TRUE, 0 );
-    gtk_widget_set_usize ( sw, 480, 200 );
+    gtk_widget_set_size_request ( sw, 480, 200 );
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN);
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC,
 				    GTK_POLICY_AUTOMATIC);

Index: import_csv.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import_csv.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- import_csv.c	14 Oct 2008 20:56:49 -0000	1.50
+++ import_csv.c	13 Nov 2008 19:32:44 -0000	1.51
@@ -160,7 +160,7 @@
     paddingbox = new_paddingbox_with_title ( vbox, TRUE, _("Select CSV fields") );
 
     sw = gtk_scrolled_window_new (NULL, NULL);
-    gtk_widget_set_usize ( sw, 480, 120 );
+    gtk_widget_set_size_request ( sw, 480, 120 );
     gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_ETCHED_IN);
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC,
 				    GTK_POLICY_AUTOMATIC);

Index: gsb_bank.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_bank.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- gsb_bank.c	1 Nov 2008 21:59:44 -0000	1.11
+++ gsb_bank.c	13 Nov 2008 19:32:44 -0000	1.12
@@ -899,7 +899,7 @@
     gtk_box_pack_start ( GTK_BOX ( paddingbox ), scrolled_window,
 			 TRUE, TRUE, 5 );
     bank_notes = gsb_autofunc_textview_new ( NULL, NULL, NULL, G_CALLBACK (gsb_data_bank_set_bank_note), 0);
-    gtk_widget_set_usize ( bank_notes, FALSE, 100 );
+    gtk_widget_set_size_request ( bank_notes, FALSE, 100 );
     gtk_container_add ( GTK_CONTAINER ( scrolled_window ), bank_notes );
 
     return parent;
@@ -980,7 +980,7 @@
     gtk_scrolled_window_set_shadow_type ( GTK_SCROLLED_WINDOW(scrolled_window), 
 					  GTK_SHADOW_NONE );
     gtk_container_add ( GTK_CONTAINER ( GTK_DIALOG(dialog)->vbox ), scrolled_window );
-    gtk_widget_set_usize ( scrolled_window, 600, 400 );
+    gtk_widget_set_size_request ( scrolled_window, 600, 400 );
 
     vbox = gtk_vbox_new ( FALSE, 6 );
     gtk_container_set_border_width ( GTK_CONTAINER (vbox), 12 );

Index: gsb_currency_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_currency_config.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- gsb_currency_config.c	1 Nov 2008 21:59:44 -0000	1.36
+++ gsb_currency_config.c	13 Nov 2008 19:32:44 -0000	1.37
@@ -1152,7 +1152,7 @@
 				    GTK_POLICY_ALWAYS);
 
     treeview = gsb_currency_config_create_list ();
-    gtk_widget_set_usize ( treeview, FALSE, 200 );
+    gtk_widget_set_size_request ( treeview, FALSE, 200 );
     model = gtk_tree_view_get_model ( GTK_TREE_VIEW(treeview) );
     if (select_callback)
 	g_signal_connect ( gtk_tree_view_get_selection (GTK_TREE_VIEW ( treeview ) ), 

Index: tiers_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/tiers_onglet.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- tiers_onglet.c	1 Nov 2008 21:59:44 -0000	1.137
+++ tiers_onglet.c	13 Nov 2008 19:32:44 -0000	1.138
@@ -525,7 +525,7 @@
     gtk_entry_set_text ( GTK_ENTRY ( entry_name ),
 			 gsb_data_payee_get_name(payee_number,
 						 TRUE));
-    gtk_widget_set_usize ( entry_name, 400, 0 );
+    gtk_widget_set_size_request ( entry_name, 400, 0 );
     gtk_table_attach ( GTK_TABLE(table), entry_name, 1, 2, 0, 1, GTK_EXPAND|GTK_FILL, 0, 0, 0 );
 
     /* Description entry */

Index: gsb_currency.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_currency.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- gsb_currency.c	9 Nov 2008 23:08:20 -0000	1.28
+++ gsb_currency.c	13 Nov 2008 19:32:44 -0000	1.29
@@ -440,7 +440,7 @@
 
     /* echange line input field */
     entry = gtk_entry_new ();
-    gtk_widget_set_usize ( entry, 100, FALSE );
+    gtk_widget_set_size_request ( entry, 100, FALSE );
     gtk_entry_set_activates_default ( GTK_ENTRY ( entry ), TRUE );
     gtk_table_attach ( GTK_TABLE(table), entry, 3, 4, 0, 1,
                GTK_SHRINK | GTK_FILL, 0, 0, 0 );



More information about the cvs mailing list