[gnome-builder/wip/symbol-tree] editor-view: update preview action state



commit 67732273eb6a4fc4ad555a3479e947832907d33d
Author: Christian Hergert <christian hergert me>
Date:   Fri Jun 19 03:40:20 2015 -0700

    editor-view: update preview action state

 src/editor/gb-editor-view-actions.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/editor/gb-editor-view-actions.c b/src/editor/gb-editor-view-actions.c
index 66057b2..61a4a12 100644
--- a/src/editor/gb-editor-view-actions.c
+++ b/src/editor/gb-editor-view-actions.c
@@ -726,7 +726,6 @@ gb_editor_view_actions_init (GbEditorView *self)
 void
 gb_editor_view_actions_update (GbEditorView *self)
 {
-#if 0
   GtkSourceLanguage *language;
   const gchar *lang_id = NULL;
   GActionGroup *group;
@@ -747,5 +746,4 @@ gb_editor_view_actions_update (GbEditorView *self)
              (g_strcmp0 (lang_id, "markdown") == 0));
   action = g_action_map_lookup_action (G_ACTION_MAP (group), "preview");
   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), enabled);
-#endif
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]