aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@sixlabs.org>2004-03-13 10:39:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-13 10:39:28 +0800
commitb9944eb5c744f190e6363808cff4f4b65e7ab63a (patch)
treea972638321ed6b84c773f3849f75c06cc8e38129 /widgets
parent2fb1a91078e5ca1f5199019a82e23fb080a0b98b (diff)
downloadgsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.gz
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.tar.zst
gsoc2013-evolution-b9944eb5c744f190e6363808cff4f4b65e7ab63a.zip
move function about setup_bonobo_menus which requires it so its not
2004-03-13 Trent Lloyd <lathiat@sixlabs.org> * e-search-bar.c (remove_bonobo_menus): move function about setup_bonobo_menus which requires it so its not implicitly defined svn path=/trunk/; revision=25055
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog9
-rw-r--r--widgets/misc/e-search-bar.c18
2 files changed, 16 insertions, 11 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index ddf0f43d22..d98993d27d 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,7 +1,12 @@
+2004-03-13 Trent Lloyd <lathiat@sixlabs.org>
+
+ * e-search-bar.c (remove_bonobo_menus): move function about
+ setup_bonobo_menus which requires it so its not implicitly defined
+
2004-03-12 Kidd Wang <kidd.wang@sun.com>
- * e-dateedit.c: (create_children): enlarge the text box to accomodate
- the time info in different locales.
+ * e-dateedit.c (create_children): enlarge the text box to
+ accomodate the time info in different locales.
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 84e3306eeb..c29c1519f8 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -519,6 +519,15 @@ append_xml_menu_item (GString *xml,
}
static void
+remove_bonobo_menus (ESearchBar *esb)
+{
+ if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL)
+ return;
+
+ bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL);
+}
+
+static void
setup_bonobo_menus (ESearchBar *esb)
{
GString *xml;
@@ -563,15 +572,6 @@ setup_bonobo_menus (ESearchBar *esb)
}
static void
-remove_bonobo_menus (ESearchBar *esb)
-{
- if (bonobo_ui_component_get_container (esb->ui_component) == CORBA_OBJECT_NIL)
- return;
-
- bonobo_ui_component_rm (esb->ui_component, "/menu/SearchPlaceholder", NULL);
-}
-
-static void
update_bonobo_menus (ESearchBar *esb)
{
setup_bonobo_menus (esb);