Remove debugging messages
2001-07-26 Bradford Hovinen <hovinen@ximian.com> * capplet-dir.c (capplet_activate): Remove debugging messages
This commit is contained in:
parent
4af8d8fa92
commit
5fd3e851db
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
|
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
* capplet-dir.c (capplet_activate): Remove debugging messages
|
||||||
|
|
||||||
* capplet-dir.h (struct _Capplet): Add flag launching
|
* capplet-dir.h (struct _Capplet): Add flag launching
|
||||||
|
|
||||||
* capplet-dir.c (capplet_new): Initialize capplet->launching
|
* capplet-dir.c (capplet_new): Initialize capplet->launching
|
||||||
|
|
|
@ -199,7 +199,6 @@ capplet_dir_entry_shutdown (CappletDirEntry *entry)
|
||||||
static gint
|
static gint
|
||||||
capplet_reset_cb (Capplet *capplet)
|
capplet_reset_cb (Capplet *capplet)
|
||||||
{
|
{
|
||||||
g_message ("%s: Enter", __FUNCTION__);
|
|
||||||
capplet->launching = FALSE;
|
capplet->launching = FALSE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -210,10 +209,8 @@ capplet_activate (Capplet *capplet)
|
||||||
GnomeDesktopEntry *entry;
|
GnomeDesktopEntry *entry;
|
||||||
|
|
||||||
if (capplet->launching) {
|
if (capplet->launching) {
|
||||||
g_message ("Capplet already running");
|
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
g_message ("Capplet not already running; launching");
|
|
||||||
capplet->launching = TRUE;
|
capplet->launching = TRUE;
|
||||||
gtk_idle_add ((GtkFunction) capplet_reset_cb, capplet);
|
gtk_idle_add ((GtkFunction) capplet_reset_cb, capplet);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue