[gimp/soc-2010-cage-2] app: set the grid canvas item invisible by default
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage-2] app: set the grid canvas item invisible by default
- Date: Thu, 30 Dec 2010 18:10:10 +0000 (UTC)
commit eaaf43d7d7ca63f24cb823bd643214d5bffca820
Author: Michael Natterer <mitch gimp org>
Date: Sat Nov 13 22:58:10 2010 +0100
app: set the grid canvas item invisible by default
app/display/gimpdisplayshell-items.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-items.c b/app/display/gimpdisplayshell-items.c
index 500b806..c0338f9 100644
--- a/app/display/gimpdisplayshell-items.c
+++ b/app/display/gimpdisplayshell-items.c
@@ -60,6 +60,7 @@ gimp_display_shell_items_init (GimpDisplayShell *shell)
g_object_unref (shell->vectors);
shell->grid = gimp_canvas_grid_new (shell, NULL);
+ gimp_canvas_item_set_visible (shell->grid, FALSE);
g_object_set (shell->grid, "grid-style", TRUE, NULL);
gimp_display_shell_add_item (shell, shell->grid);
g_object_unref (shell->grid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]