Bug 460756 - Put the search box in the main toolbar of bookmarks manager. r+sr=Neil.
authorstefanh@inbox.com
Fri, 24 Oct 2008 14:29:04 +0200
changeset 706 659472bd1018d970303f21ba0186ac16c2570a48
parent 705 c8e7221a108d268696fb15ab047a8d00b88b7eba
child 707 2ce4d984819df8a70e83c2e5856ac2c2f26018b0
push id633
push userstefanh@inbox.com
push dateFri, 24 Oct 2008 12:29:12 +0000
treeherdercomm-central@659472bd1018 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs460756
Bug 460756 - Put the search box in the main toolbar of bookmarks manager. r+sr=Neil.
suite/common/bookmarks/bookmarksManager.xul
--- a/suite/common/bookmarks/bookmarksManager.xul
+++ b/suite/common/bookmarks/bookmarksManager.xul
@@ -234,22 +234,22 @@
                      accesskey="&button.properties.accesskey;"
                      command="cmd_bm_properties"/>
       <toolbarbutton id="rename" label="&command.rename.label;"
                      accesskey="&button.rename.accesskey;"
                      command="cmd_bm_rename"/>
       <toolbarbutton id="delete" label="&command.delete.label;"
                      accesskey="&button.delete.accesskey;"
                      command="cmd_bm_delete"/>
-    </toolbar>
-
-    <toolbar id="bookmarks-search" align="center"
-             grippytooltiptext="&bookmarksSearch.tooltip;">
-      <label value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
-      <textbox id="search-box" flex="1" type="search" clickSelectsAll="true"
-               oncommand="document.getElementById('bookmarks-view').searchBookmarks(this.value)"/>
+      <toolbarspring/>
+      <toolbaritem id="bookmarks-search-box" align="center">
+        <label value="&search.label;" accesskey="&search.accesskey;"
+               control="search-box"/>
+        <textbox id="search-box" type="search" clickSelectsAll="true"
+                 oncommand="document.getElementById('bookmarks-view').searchBookmarks(this.value)"/>
+      </toolbaritem>
     </toolbar>
   </toolbox>
 
   <bookmarks-tree id="bookmarks-view" flex="1"/>
 
 </window>