[evolution-patches] Jaya-Patch



The bug is about creating a mnemonic..
In detail,
1.In EDIT -> Preferences ->Mail Preferences
2.There is a tab called Automatic Contacts.
3.There is no mnemonic for the labels,"Select Contacts for Automatic contacts" and "Select Contacts for Gaim buddy list"
4.And also for the check box "Periodically synchronize......"
? .deps
? .libs
? bbdb.lo
? bugjaya.diff
? gaimbuddies.lo
? liborg-gnome-evolution-bbdb.la
? patchname.diff
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/bbdb/ChangeLog,v
retrieving revision 1.24
diff -u -p -r1.24 ChangeLog
--- ChangeLog	14 Feb 2006 14:37:16 -0000	1.24
+++ ChangeLog	14 Jun 2006 11:24:10 -0000
@@ -1,3 +1,9 @@
+2006-06-13  Jayakumar G <sang jaya gmail com>
+
+  	* bbdb.c: 
+	Mnemonic added for "Select Addressbook for A_utomatic contacts".
+	Mnemonic added for "Select Addressbook for _Gaim buddy list".
+
 2006-02-14  Andre Klapper <a9016009 gmx de>
 
 	* bbdb.c (bbdb_page_factory): Another typo fix from gfree to g_free.	
Index: bbdb.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/bbdb/bbdb.c,v
retrieving revision 1.14
diff -u -p -r1.14 bbdb.c
--- bbdb.c	14 Feb 2006 14:37:16 -0000	1.14
+++ bbdb.c	14 Jun 2006 11:24:11 -0000
@@ -457,11 +457,13 @@ bbdb_page_factory (EPlugin *ep, EConfigH
 	gtk_box_pack_start (GTK_BOX (inner_vbox), check, FALSE, FALSE, 0);
 	stuff->check = check;
 
-	label = gtk_label_new ("Select Address book for Automatic Contacts");
+	label = gtk_label_new_with_mnemonic (_("Select Address book for A_utomatic Contacts"));
 	gtk_box_pack_start (GTK_BOX (inner_vbox), label, FALSE, FALSE, 0);
 
 	/* Source selection option menu */
 	option = create_addressbook_option_menu (stuff, AUTOMATIC_CONTACTS_ADDRESSBOOK);
+	gtk_label_set_mnemonic_widget((GtkLabel *)label, option);
+	gtk_widget_show(label);
 	g_signal_connect (option, "source_selected", G_CALLBACK (source_changed_cb), stuff);
 	gtk_widget_set_sensitive (option, gconf_client_get_bool (target->gconf, GCONF_KEY_ENABLE, NULL));
 	gtk_box_pack_start (GTK_BOX (inner_vbox), option, FALSE, FALSE, 0);
@@ -487,17 +489,19 @@ bbdb_page_factory (EPlugin *ep, EConfigH
 	gtk_box_pack_start (GTK_BOX (hbox), inner_vbox, FALSE, FALSE, 0);
 
 	/* Enable Gaim Checkbox */
-	check_gaim = gtk_check_button_new_with_mnemonic (_("Periodically synchronize contact information and images from gaim buddy list"));
+	check_gaim = gtk_check_button_new_with_mnemonic (_("_Periodically synchronize contact information and images from gaim buddy list"));
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_gaim), gconf_client_get_bool (target->gconf, GCONF_KEY_ENABLE_GAIM, NULL));
 	g_signal_connect (GTK_TOGGLE_BUTTON (check_gaim), "toggled", G_CALLBACK (enable_gaim_toggled_cb), stuff);
 	gtk_box_pack_start (GTK_BOX (inner_vbox), check_gaim, FALSE, FALSE, 0);
 	stuff->check_gaim = check_gaim;
 	
-	gaim_label = gtk_label_new ("Select Address book for Gaim buddy list");
+	gaim_label = gtk_label_new_with_mnemonic (_("Select Address book for _Gaim buddy list"));
 	gtk_box_pack_start (GTK_BOX (inner_vbox), gaim_label, FALSE, FALSE, 0);
 
 	/* Gaim Source Selection Option Menu */
 	gaim_option = create_addressbook_option_menu (stuff, GAIM_ADDRESSBOOK);
+	gtk_label_set_mnemonic_widget((GtkLabel *)gaim_label, gaim_option);
+	gtk_widget_show(gaim_label);
 	g_signal_connect (gaim_option, "source_selected", G_CALLBACK (gaim_source_changed_cb), stuff);
 	gtk_widget_set_sensitive (gaim_option, gconf_client_get_bool (target->gconf, GCONF_KEY_ENABLE_GAIM, NULL));
 	gtk_box_pack_start (GTK_BOX (inner_vbox), gaim_option, FALSE, FALSE, 0);




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]