Hi, this patch fix a GTK warning that made the "View/Show Grid" menu not to be checked when opening a new diagram....
Note: isn't there a more reliable way to access menu item than by label ? Patch is against CVS. Feel free to commit. Thanks. Hub -- Unemployed AbiWord maintainer - Lille, France http://www.figuiere.net/hub/ GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433 239A 5FEE 05E6 A56E 15A3
Index: app/interface.c
===================================================================
RCS file: /cvs/gnome/dia/app/interface.c,v
retrieving revision 1.83
diff -u -r1.83 interface.c
--- app/interface.c 19 Jan 2003 16:38:20 -0000 1.83
+++ app/interface.c 28 Jan 2003 21:36:45 -0000
@@ -444,7 +444,7 @@
path = g_string_new (display);
g_string_append (path,"/View/Show Rulers");
ddisp->rulers = menus_get_item_from_path(path->str,
ddisp->mbar_item_factory);
- g_string_append (g_string_assign(path, display),"/View/Visible Grid");
+ g_string_append (g_string_assign(path, display),"/View/Show Grid");
ddisp->visible_grid = menus_get_item_from_path(path->str,
ddisp->mbar_item_factory);
g_string_append (g_string_assign(path, display),"/View/Snap To Grid");
ddisp->snap_to_grid = menus_get_item_from_path(path->str,
ddisp->mbar_item_factory);
msg04365/pgp00000.pgp
Description: PGP signature
