After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332963 - " No image " label needs a mnemonic
" No image " label needs a mnemonic
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.6.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks: 324810
 
 
Reported: 2006-03-01 08:14 UTC by Poornima.C
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for the missing mnemonic (1.73 KB, patch)
2006-03-01 09:05 UTC, Poornima.C
rejected Details | Review
To set a mnemonic for " No image " label (1.06 KB, patch)
2006-06-12 09:52 UTC, aishwarya
committed Details | Review

Description Poornima.C 2006-03-01 08:14:35 UTC
When I select an image for contact mnemonic is missing in the 'No image ' button.
Comment 1 Srinivasa Ragavan 2006-03-01 08:18:05 UTC
Confirming. The contact editor, photo selection file selector has a button No Image. It misses a mnemonic. Proposing (_N)
Comment 2 Poornima.C 2006-03-01 09:05:41 UTC
Created attachment 60380 [details] [review]
Patch for the missing mnemonic
Comment 3 André Klapper 2006-03-01 09:58:37 UTC
the patch is not correct, it includes another changelog entry for bug 330353 and some empty lines which shouldn't be there.
Comment 4 Poornima.C 2006-03-01 10:29:19 UTC
Comment on attachment 60380 [details] [review]
Patch for the missing mnemonic

>Index: e-contact-editor.c
>===================================================================
>RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-editor.c,v
>retrieving revision 1.251
>diff -u -p -r1.251 e-contact-editor.c
>--- e-contact-editor.c	1 Feb 2006 11:07:17 -0000	1.251
>+++ e-contact-editor.c	1 Mar 2006 08:38:37 -0000
>@@ -2755,7 +2755,7 @@ static void
> image_clicked (GtkWidget *button, EContactEditor *editor)
> {
> 	const gchar *title = _("Please select an image for this contact");
>-	const gchar *no_image = _("No image");
>+	const gchar *no_image = _(" _No image");
> 	GtkImage *preview;
> 
> 	if (!editor->file_selector) {
>Index: ChangeLog
>===================================================================
>RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
>retrieving revision 1.3801
>diff -u -p -r1.3801 ChangeLog
>--- ChangeLog	13 Feb 2006 14:36:11 -0000	1.3801
>+++ ChangeLog	1 Mar 2006 08:50:29 -0000
>@@ -1,3 +1,17 @@
>
>
>+2006-02-28  Poornima C  <poory85@hotmail.com>
>+	** Fixes bug #332963.
>+     
>+        * e-calender-contact-editor.c
>+        Added accelerator key for the label of button 'No image' in adding a picture
>+        for contacts.
>+
>+2006-02-25  Poornima C	<poory85@hotmail.com>
>+        ** Fixes bug #330353.
>+
>+        * em-folder-view.c:(hide_deleted)
>+        Removed the Delete label from the popup of rightclick on the message which is 
>+        already deleted.
>+
> 2006-02-13  Karsten Br�ckelmann  <guenther@rudersport.de>
>  
> 	* em-account-editor.c: Fix the Account Editor / Security option to
>@@ -11045,4 +11059,11 @@
> 	order; don't replace the label of the stock Find button.  Also,
> 	add Escape as a keybinding for the Close button (see why GTK+ is
> 	on crack on b.g.o #74221 and #101293).
>+
>+
>+
>+	
>+	
>+
>+         
>
Comment 5 André Klapper 2006-03-01 13:03:03 UTC
?
Comment 6 André Klapper 2006-04-20 19:26:37 UTC
poornima, please attach patches as attachments and not as an inline quote.
also, please use the correct changelog file (the addressbook one and not the mail one, since you want to patch the addressbook).
also, please have a clean changelog diff - your changelog diff also adds something about bug 330353 - this is not sufficient.
Comment 7 aishwarya 2006-06-12 09:52:40 UTC
Created attachment 67161 [details] [review]
To set a mnemonic for " No image " label
Comment 8 André Klapper 2006-07-08 13:53:03 UTC
i applied the patch, recompiled and tested it and it works fine.

patch committed to CVS HEAD:
http://cvs.gnome.org/viewcvs/evolution/addressbook/gui/contact-editor/e-contact-editor.c?r1=1.259&r2=1.260

fix will be included in evolution 2.7.4.

aishwarya: for future reference, please make sure that the whitespaces in your changelog entry is correct, means
                    * e-contact-editor.c: Set
instead of
                    *e-contact-editor.c :Set
and add an empty line at the end of your entry. thanks a lot!