Remove the "update favicon" menu items to be completed when I get back.

This is trivial, but i've not tested only compiled.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=170065
This commit is contained in:
Alexander Kellett 2002-08-02 09:43:36 +00:00
parent 609fe1f00f
commit dc781786b7
2 changed files with 5 additions and 5 deletions

View file

@ -27,7 +27,7 @@
<!-- The undo/redo/cut/copy/paste stuff goes here (ui_standards.rc) -->
<Action name="rename"/>
<Action name="changeurl"/>
<Action name="updatefavicon"/>
<!-- Action name="updatefavicon" -->
<Action name="changeicon"/>
<Action name="delete"/>
<Separator/><!-- Stuff for folders -->
@ -78,7 +78,7 @@
<Separator/>
<Action name="rename"/>
<Action name="changeurl"/>
<Action name="updatefavicon"/>
<!-- Action name="updatefavicon" -->
<Action name="changeicon"/>
<Action name="delete"/>
<Separator/><!-- Creation -->
@ -103,7 +103,7 @@
<Separator/>
<Action name="rename"/>
<Action name="changeurl"/>
<Action name="updatefavicon"/>
<!-- Action name="updatefavicon" -->
<Action name="changeicon"/>
<Separator/><!-- Creation -->
<Action name="newbookmark"/>

View file

@ -147,7 +147,7 @@ void KEBTopLevel::createActions() {
(void) new KAction( i18n( "&Rename" ), "text", Key_F2, this, SLOT( slotRename() ), actionCollection(), "rename" );
(void) new KAction( i18n( "Change &URL" ), "text", Key_F3, this, SLOT( slotChangeURL() ), actionCollection(), "changeurl" );
(void) new KAction( i18n( "Chan&ge Icon..." ), 0, this, SLOT( slotChangeIcon() ), actionCollection(), "changeicon" );
(void) new KAction( i18n( "Update Favicon" ), 0, this, SLOT( slotUpdateFavicon() ), actionCollection(), "updatefavicon" );
// (void) new KAction( i18n( "Update Favicon" ), 0, this, SLOT( slotUpdateFavicon() ), actionCollection(), "updatefavicon" );
(void) new KAction( i18n( "&Create New Folder..." ), "folder_new", CTRL+Key_N, this, SLOT( slotNewFolder() ), actionCollection(), "newfolder" );
(void) new KAction( i18n( "&Create New Bookmark" ), "www", 0, this, SLOT( slotNewBookmark() ), actionCollection(), "newbookmark" );
(void) new KAction( i18n( "&Insert Separator" ), CTRL+Key_I, this, SLOT( slotInsertSeparator() ), actionCollection(), "insertseparator" );
@ -459,7 +459,7 @@ void KEBTopLevel::slotSelectionChanged()
coll->action("changeurl") ->setEnabled(singleSelect && !group && !separator && !root);
coll->action("delete") ->setEnabled(itemSelected && !root); // AK - root should work
coll->action("newfolder") ->setEnabled(!multiSelect);
coll->action("updatefavicon") ->setEnabled(singleSelect && !root && !separator);
// coll->action("updatefavicon") ->setEnabled(singleSelect && !root && !separator);
coll->action("changeicon") ->setEnabled(singleSelect && !root && !separator);
coll->action("insertseparator")->setEnabled(singleSelect);
coll->action("newbookmark") ->setEnabled(!multiSelect);