[gnote] * Missing accelerators in link context menu (Closes #580443)



commit bdef9b9e57522214bdfeb220629b2f5c50ad8066
Author: Mário Machado <mmmm amazon com br>
Date:   Tue Apr 28 01:32:29 2009 -0400

      * Missing accelerators in link context menu (Closes #580443)
    
    Signed-off-by: Hubert Figuiere <hub figuiere net>
---
 NEWS             |    2 ++
 src/watchers.cpp |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 3a48e73..d36bb06 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,8 @@ Fixes:
   * Fix a typo in gnote.1 (Closes #580211) (Robert Millan)
   * Desktop file reflect XFCE and bugzilla component. (Closes #580481) 
     (Ritesh Khadgaray)
+  * Missing accelerators in link context menu (Closes #580443)
+    (Mário Machado)
 
 Translations: 
 
diff --git a/src/watchers.cpp b/src/watchers.cpp
index 061e891..93df652 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -576,13 +576,13 @@ namespace gnote {
       item->show ();
       menu->prepend (*item);
 
-      item = manage(new Gtk::MenuItem (_("_Copy Link Address")));
+      item = manage(new Gtk::MenuItem (_("_Copy Link Address"), true));
       item->signal_activate().connect(
         sigc::mem_fun(*this, &NoteUrlWatcher::copy_link_activate));
       item->show ();
       menu->prepend (*item);
 
-      item = manage(new Gtk::MenuItem (_("_Open Link")));
+      item = manage(new Gtk::MenuItem (_("_Open Link"), true));
       item->signal_activate().connect(
         sigc::mem_fun(*this, &NoteUrlWatcher::open_link_activate));
       item->show ();



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