[gnome-builder] libide/editor: use editor reload action for discard changes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/editor: use editor reload action for discard changes
- Date: Sun, 4 Sep 2022 16:19:37 +0000 (UTC)
commit ee360bab55736199e496cb8a20b2ec0d73b678bf
Author: Christian Hergert <chergert redhat com>
Date: Sun Sep 4 09:18:35 2022 -0700
libide/editor: use editor reload action for discard changes
We still need to fix the modified-set getting in the way though.
Fixes #1769
src/libide/editor/ide-editor-info-bar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/editor/ide-editor-info-bar.c b/src/libide/editor/ide-editor-info-bar.c
index 5d470eb75..3fb7fc6e2 100644
--- a/src/libide/editor/ide-editor-info-bar.c
+++ b/src/libide/editor/ide-editor-info-bar.c
@@ -84,7 +84,7 @@ ide_editor_info_bar_update (IdeEditorInfoBar *self)
{
gtk_button_set_label (self->discard, _("_Discard Changes and Reload"));
gtk_button_set_use_underline (self->discard, TRUE);
- gtk_actionable_set_action_name (GTK_ACTIONABLE (self->discard), "page.discard-changes");
+ gtk_actionable_set_action_name (GTK_ACTIONABLE (self->discard), "page.editor.reload");
gtk_label_set_label (self->title, _("File Has Changed on Disk"));
gtk_label_set_label (self->subtitle, _("The file has been changed by another program."));
gtk_widget_show (GTK_WIDGET (self->discard));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]