[Date Prev ][Date Next ] [Thread Prev ][Thread Next ]
[Thread Index ]
[Date Index ]
[Author Index ]
Patch: View/AntiAlias menu item
From : Hubert Figuiere <hfiguiere teaser fr>
To : Dia List <dia-list gnome org>
Subject : Patch: View/AntiAlias menu item
Date : Wed, 29 Jan 2003 00:21:29 +0100
Hi,
One more bug fix:
The View/AntiAlias menu item was not properly set when using a menu
bar (my default in GUI), spitting out gtk warnings.
I also fixed a mismatch pointer type warning relating to menu bar menu
items outlets stored in the DDisplay.
Please, commit.
Hub
--
Unemployed AbiWord maintainer - Lille, France
http://www.figuiere.net/hub/
GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433 239A 5FEE 05E6 A56E 15A3
? shapes/Cisco/Makefile.in
Index: app/display.h
===================================================================
RCS file: /cvs/gnome/dia/app/display.h,v
retrieving revision 1.25
diff -u -r1.25 display.h
--- app/display.h 6 Oct 2002 18:55:11 -0000 1.25
+++ app/display.h 28 Jan 2003 23:17:14 -0000
@@ -45,12 +45,12 @@
GtkItemFactory *mbar_item_factory; /* item factory used to create the menu bar */
/* menu bar widgets */
- GtkWidget *rulers;
- GtkWidget *visible_grid;
- GtkWidget *snap_to_grid;
- GtkWidget *show_cx_pts_mitem;
+ GtkMenuItem *rulers;
+ GtkMenuItem *visible_grid;
+ GtkMenuItem *snap_to_grid;
+ GtkMenuItem *show_cx_pts_mitem;
#ifdef HAVE_LIBART
- GtkWidget *antialiased;
+ GtkMenuItem *antialiased;
#endif
UpdatableMenuItems updatable_menu_items;
Index: app/interface.c
===================================================================
RCS file: /cvs/gnome/dia/app/interface.c,v
retrieving revision 1.84
diff -u -r1.84 interface.c
--- app/interface.c 28 Jan 2003 21:44:35 -0000 1.84
+++ app/interface.c 28 Jan 2003 23:17:14 -0000
@@ -451,6 +451,11 @@
g_string_append (g_string_assign(path, display),"/View/Show Connection Points");
ddisp->show_cx_pts_mitem = menus_get_item_from_path(path->str, ddisp->mbar_item_factory);
+#ifdef HAVE_LIBART
+ g_string_append (g_string_assign(path, display),"/View/AntiAliased");
+ ddisp->antialiased = menus_get_item_from_path(path->str, ddisp->mbar_item_factory);
+#endif
+
menus_initialize_updatable_items (&ddisp->updatable_menu_items, ddisp->mbar_item_factory, display);
g_string_free (path,FALSE);
}
[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