[glide] Add hooks for slide color undo
- From: Robert Carr <racarr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glide] Add hooks for slide color undo
- Date: Thu, 29 Apr 2010 09:18:36 +0000 (UTC)
commit 50850e8fafb61d02e1d9397895b58de35f54fc34
Author: Robert Carr <racarr Valentine localdomain>
Date: Thu Apr 29 05:00:23 2010 -0400
Add hooks for slide color undo
src/glide-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/glide-window.c b/src/glide-window.c
index 9bd371b..44dd816 100644
--- a/src/glide-window.c
+++ b/src/glide-window.c
@@ -284,7 +284,10 @@ glide_window_color_set_cb (GtkWidget *b,
{
GlideSlide *s = glide_document_get_nth_slide (w->priv->document,
glide_stage_manager_get_current_slide (w->priv->manager));
+
+ glide_undo_manager_start_slide_action (w->priv->undo_manager, s, "Set slide color.");
glide_slide_set_color (s, &cc);
+ glide_undo_manager_end_slide_action (w->priv->undo_manager, s);
}
if (!GLIDE_IS_TEXT (selection))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]