[glom] Print Layout: Select All: Added ctrl-A keyboard shortcut.



commit db5826b7a5d53b4da640e414dfd6ac3b801c9c8b
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Aug 8 21:01:47 2011 +0200

    Print Layout: Select All: Added ctrl-A keyboard shortcut.
    
    * glom/mode_design/print_layouts/window_print_layout_edit.cc:
    init_menus(): Because it is not part of the stock item, for some reason.

 ChangeLog                                          |    7 +++++++
 .../print_layouts/window_print_layout_edit.cc      |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9eb113b..190bcf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-08-08  Murray Cumming  <murrayc murrayc com>
 
+	Print Layout: Select All: Added ctrl-A keyboard shortcut.
+
+	* glom/mode_design/print_layouts/window_print_layout_edit.cc:
+	init_menus(): Because it is not part of the stock item, for some reason.
+
+2011-08-08  Murray Cumming  <murrayc murrayc com>
+
 	Print Layout: Add Select All and Unselect All menu items.
 
 	* glom/print_layout/canvas_print_layout.[h|cc]: Added select_all(bool)
diff --git a/glom/mode_design/print_layouts/window_print_layout_edit.cc b/glom/mode_design/print_layouts/window_print_layout_edit.cc
index e403423..8a1c710 100644
--- a/glom/mode_design/print_layouts/window_print_layout_edit.cc
+++ b/glom/mode_design/print_layouts/window_print_layout_edit.cc
@@ -183,6 +183,7 @@ void Window_PrintLayout_Edit::init_menu()
 
   m_action_group->add(
     Gtk::Action::create("Action_Menu_Edit_SelectAll", Gtk::Stock::SELECT_ALL),
+    Gtk::AccelKey("<control>A"), //TODO: Suggest this as part of the stock item in GTK+?
     sigc::mem_fun(*this, &Window_PrintLayout_Edit::on_menu_edit_selectall) );
   m_action_group->add(
     Gtk::Action::create("Action_Menu_Edit_UnselectAll", _("Unselect All")), //TODO: Propose a new stock item for GTK+.



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