[gnome-photos/wip/rishi/edit-mode: 14/30] main-toolbar: Add the GAction to the undo button
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/edit-mode: 14/30] main-toolbar: Add the GAction to the undo button
- Date: Sun, 14 Jun 2015 18:13:51 +0000 (UTC)
commit 68e5b87d2feb8eb5b6278c59603cedd104b86363
Author: Debarshi Ray <debarshir gnome org>
Date: Thu May 21 11:35:06 2015 +0200
main-toolbar: Add the GAction to the undo button
src/photos-main-toolbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index 5795152..baa17bd 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -544,6 +544,7 @@ photos_main_toolbar_populate_for_edit (PhotosMainToolbar *self)
gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->toolbar), redo_button);
undo_button = gtk_button_new_from_icon_name (PHOTOS_ICON_EDIT_UNDO_SYMBOLIC, GTK_ICON_SIZE_BUTTON);
+ gtk_actionable_set_action_name (GTK_ACTIONABLE (undo_button), "app.undo-current");
gtk_widget_set_tooltip_text (undo_button, _("Undo the last change"));
gtk_header_bar_pack_end (GTK_HEADER_BAR (priv->toolbar), undo_button);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]