Updating branch refs/heads/master
         to 309003c92becf11e108ada1b0bb8df0ee70afb64 (commit)
       from cf6c105cec16cfa953a7b52ca11760a98c626ef8 (commit)

commit 309003c92becf11e108ada1b0bb8df0ee70afb64
Author: Stephan Arts <[email protected]>
Date:   Mon Oct 24 00:13:15 2011 +0200

    Set default accelerator for slideshow to F5

 src/main_window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 0b72ae3..64c7949 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -473,6 +473,10 @@ rstto_main_window_init (RsttoMainWindow *window)
     gtk_accel_map_change_entry ("<Window>/next-image", GDK_Page_Down, 0, 
FALSE);
     gtk_accel_map_change_entry ("<Window>/previous-image", GDK_Page_Up, 0, 
FALSE);
     gtk_accel_map_change_entry ("<Window>/quit", GDK_q, 0, FALSE);
+    if (gtk_accel_map_lookup_entry ("<Actions>/RsttoWindow/play", NULL) == 
FALSE)
+    {
+        gtk_accel_map_change_entry ("<Actions>/RsttoWindow/play", GDK_F5, 0, 
FALSE);
+    }
 
     /* Create mergeid's for adding ui-components */
     window->priv->recent_merge_id = gtk_ui_manager_new_merge_id 
(window->priv->ui_manager);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to