Commit 4c77eaf0 authored by Seth Nickell's avatar Seth Nickell

2001-12-14 Satan

	* menu.c: (panel_menu_have_icons):

	Disable GConf and make the panel menu icons actually work.
	Spit out one g_warning as penance.
parent 7eb77cf0
2001-12-14 Satan
* menu.c: (panel_menu_have_icons):
Disable GConf and make the panel menu icons actually work.
Spit out one g_warning as penance.
2001-12-14 Seth Nickell <snickell@stanford.edu>
* applet.c: (applet_callback_callback):
......
......@@ -181,6 +181,14 @@ panel_menu_have_icons (void)
{
static guint notify_id = 0;
{
static int already_done = 0;
if (!already_done) {
g_warning ("panel_menu_have_icons in menu.c shouldn't just return TRUE, read the GConf key silly!\nMy warning is cooler than yours -satan\n");
already_done = 1;
}
}
if (!notify_id) {
GConfClient *client = panel_gconf_get_client ();
gchar *key = PANEL_MENU_HAVE_ICONS_KEY;
......@@ -198,7 +206,9 @@ panel_menu_have_icons (void)
panel_menus_have_icons = gconf_client_get_bool (client, key, NULL);
}
return panel_menus_have_icons;
/* FIXME: should return GConf value
return panel_menus_have_icons; */
return TRUE;
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment