[Date Prev ][Date Next ] [Thread Prev ][Thread Next ]
[Thread Index ]
[Date Index ]
[Author Index ]
Patch: fix a menu mis-function
From : Hubert Figuiere <hfiguiere teaser fr>
To : Dia List <dia-list gnome org>
Subject : Patch: fix a menu mis-function
Date : Tue, 28 Jan 2003 22:40:47 +0100
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);
PGP signature
[Date Prev ][Date Next ] [Thread Prev ][Thread Next ]
[Thread Index ]
[Date Index ]
[Author Index ]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Other Directory Sites:
SeekWonder |
Directory Owners Forum
GuideSMACK