[grisbi-cvs] grisbi/src gsb_assistant_archive.c, 1.30, 1.31 gsb_bank.c, 1.14, 1.15 gsb_calendar.c, 1.1, 1.2 gsb_calendar_entry.c, 1.19, 1.20 gsb_form.c, 1.102, 1.103 gsb_fyear_config.c, 1.20, 1.21 import.c, 1.259, 1.260

Martin Stromberger fabiolla at users.sourceforge.net
Tue Jan 6 16:21:03 CET 2009


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

Modified Files:
	gsb_assistant_archive.c gsb_bank.c gsb_calendar.c 
	gsb_calendar_entry.c gsb_form.c gsb_fyear_config.c import.c 
Log Message:
remove of depraceted 'gtk_calendar_display_options' and replace of 'gtk_entry_select_region' with 'gtk_editable_select_region'

Index: gsb_assistant_archive.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_assistant_archive.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- gsb_assistant_archive.c	15 Nov 2008 22:05:26 -0000	1.30
+++ gsb_assistant_archive.c	6 Jan 2009 15:21:01 -0000	1.31
@@ -610,7 +610,7 @@
     {
 	gtk_entry_set_text ( GTK_ENTRY (initial_date),
 			     gsb_format_gdate (date));
-	gtk_entry_select_region (GTK_ENTRY (initial_date),
+	gtk_editable_select_region ( GTK_EDITABLE (initial_date),
 				 0, -1);
     }
     gtk_widget_grab_focus (initial_date);

Index: gsb_form.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- gsb_form.c	26 Dec 2008 20:06:55 -0000	1.102
+++ gsb_form.c	6 Jan 2009 15:21:01 -0000	1.103
@@ -462,7 +462,7 @@
 					  NULL,
 					  GINT_TO_POINTER (TRANSACTION_FORM_DATE));
 
-	gtk_entry_select_region ( GTK_ENTRY (date_entry), 0, -1);
+	gtk_editable_select_region ( GTK_EDITABLE (date_entry), 0, -1);
 	gtk_widget_grab_focus ( GTK_WIDGET (date_entry));
 	return FALSE;
     }
@@ -564,7 +564,7 @@
 	else
 	    focus_to = TRANSACTION_FORM_DATE;
 
-	gtk_entry_select_region ( GTK_ENTRY ( gsb_form_widget_get_widget (focus_to)),
+	gtk_editable_select_region ( GTK_EDITABLE ( gsb_form_widget_get_widget (focus_to)),
 				  0,
 				  -1);
 	gtk_widget_grab_focus ( gsb_form_widget_get_widget (focus_to));
@@ -2414,7 +2414,7 @@
 					   gtk_entry_get_text (GTK_ENTRY (widget)));
 	dialogue_error ( tmpstr );
 	g_free(tmpstr);
-	gtk_entry_select_region ( GTK_ENTRY (widget),
+	gtk_editable_select_region ( GTK_EDITABLE (widget),
 				  0,
 				  -1);
 	gtk_widget_grab_focus (widget);
@@ -2433,7 +2433,7 @@
 					   gtk_entry_get_text (GTK_ENTRY (widget)));
 	dialogue_error ( tmpstr );
 	g_free ( tmpstr );
-	gtk_entry_select_region ( GTK_ENTRY (widget),
+	gtk_editable_select_region ( GTK_EDITABLE (widget),
 				  0,
 				  -1);
 	gtk_widget_grab_focus (widget);

Index: gsb_fyear_config.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_fyear_config.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- gsb_fyear_config.c	21 Oct 2008 08:05:18 -0000	1.20
+++ gsb_fyear_config.c	6 Jan 2009 15:21:01 -0000	1.21
@@ -642,7 +642,7 @@
     /* select the new name and give it the focus */
     entry = g_object_get_data ( G_OBJECT (model),
 				"fyear_name_entry");
-    gtk_entry_select_region ( GTK_ENTRY (entry), 0, -1 );
+    gtk_editable_select_region ( GTK_EDITABLE (entry), 0, -1 );
     gtk_widget_grab_focus (entry);
 
     /* Update various menus */

Index: gsb_calendar_entry.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_calendar_entry.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- gsb_calendar_entry.c	15 Nov 2008 22:05:26 -0000	1.19
+++ gsb_calendar_entry.c	6 Jan 2009 15:21:01 -0000	1.20
@@ -476,10 +476,6 @@
 				g_date_get_month ( date ) - 1, 
 				g_date_get_year ( date ) );
     gtk_calendar_select_day ( GTK_CALENDAR ( pCalendar ), g_date_get_day ( date ) );
-    gtk_calendar_display_options ( GTK_CALENDAR ( pCalendar ),
-				   GTK_CALENDAR_SHOW_HEADING |
-				   GTK_CALENDAR_SHOW_DAY_NAMES |
-				   GTK_CALENDAR_WEEK_START_MONDAY );
 
     g_signal_connect ( G_OBJECT ( pCalendar ),
 		       "day_selected_double_click",

Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -d -r1.259 -r1.260
--- import.c	1 Jan 2009 20:43:49 -0000	1.259
+++ import.c	6 Jan 2009 15:21:01 -0000	1.260
@@ -3523,7 +3523,7 @@
     }
     g_slist_free (filenames);
     gtk_entry_set_text (GTK_ENTRY (entry), string);
-    gtk_entry_select_region ( GTK_ENTRY (entry), 0, -1);
+    gtk_editable_select_region ( GTK_EDITABLE (entry), 0, -1);
     g_free (string);
     return FALSE;
 }

Index: gsb_calendar.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_calendar.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- gsb_calendar.c	13 Oct 2008 19:42:07 -0000	1.1
+++ gsb_calendar.c	6 Jan 2009 15:21:01 -0000	1.2
@@ -70,10 +70,6 @@
     scheduled_calendar = gtk_calendar_new ();
     g_signal_connect ( G_OBJECT (scheduled_calendar ), "destroy",
     		G_CALLBACK ( gtk_widget_destroyed), &scheduled_calendar );
-    gtk_calendar_display_options ( GTK_CALENDAR ( scheduled_calendar ),
-				   GTK_CALENDAR_SHOW_HEADING |
-				   GTK_CALENDAR_SHOW_DAY_NAMES |
-				   GTK_CALENDAR_WEEK_START_MONDAY );
     gtk_calendar_select_month ( GTK_CALENDAR ( scheduled_calendar ),
 				localtime ( &temps ) -> tm_mon,
 				localtime ( &temps ) -> tm_year + 1900 );

Index: gsb_bank.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_bank.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- gsb_bank.c	7 Dec 2008 22:57:51 -0000	1.14
+++ gsb_bank.c	6 Jan 2009 15:21:01 -0000	1.15
@@ -1104,7 +1104,7 @@
 					 &iter );
 
 	/* select the new bank in the entry and give the focus */
-	gtk_entry_select_region ( GTK_ENTRY ( bank_name ), 0, -1 );
+	gtk_editable_select_region ( GTK_EDITABLE ( bank_name ), 0, -1 );
 	gtk_widget_grab_focus ( bank_name );
     }
     else



More information about the cvs mailing list