New Accelerator in gtkhtml



Hi folks,

with a patch for bug 407365 gtkhtml got a new accelerator.

Cheers,
  Tobi 


--- components/html-editor/popup.c	2006-02-13 09:58:53.000000000 +0530
+++ components/html-editor/popup.c	2007-02-21 09:26:45.000000000 +0530
@@ -347,7 +347,7 @@
                 (*items)++; items_sep++
 
 #define ADD_ITEM(l,f,t) \
-		menuitem = gtk_menu_item_new_with_label (l); \
+		menuitem = gtk_menu_item_new_with_mnemonic (l); \
                 ADD_ITEM_BASE (f,t)
 
 #define ADD_STOCK(i,f) \
@@ -452,7 +452,7 @@
 
 	if (cd->format_html) {
 		ADD_SEP;
-		ADD_ITEM (_("Insert Link"), insert_link, NONE);
+		ADD_ITEM (_("Insert _Link"), insert_link, NONE);
 		if (((active && html_engine_selection_contains_link (e))
 		     || (obj
 			 && (HTML_OBJECT_TYPE (obj) == HTML_TYPE_LINKTEXT

Attachment: signature.asc
Description: This is a digitally signed message part



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