[devhelp] window: link back & forward buttons to their respective actions
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] window: link back & forward buttons to their respective actions
- Date: Fri, 1 Feb 2013 12:25:35 +0000 (UTC)
commit 60bdffda260445720cbd3b70a87b0a53c24934a1
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Fri Feb 1 12:58:34 2013 +0100
window: link back & forward buttons to their respective actions
src/dh-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 1d2ebb8..a53554e 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1051,10 +1051,12 @@ window_populate (DhWindow *window)
"go-previous-symbolic",
_("Back"),
TRUE);
+ gtk_actionable_set_action_name ( GTK_ACTIONABLE (back), "win.go-back");
forward = gd_main_toolbar_add_button (GD_MAIN_TOOLBAR (toolbar),
"go-next-symbolic",
_("Forward"),
TRUE);
+ gtk_actionable_set_action_name ( GTK_ACTIONABLE (forward), "win.go-forward");
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_style_context_add_class (gtk_widget_get_style_context (box), "linked");
gtk_widget_reparent (back, box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]