Mailinglist Archive: opensuse-kde (260 mails)

< Previous Next >
Re: [suse-kde] KDE3.4/KMail/Filters in toolbar problem
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Fri, 18 Mar 2005 21:29:04 -0800
  • Message-id: <200503182129.04865.rschulz@xxxxxxxxx>
Stephen,

On Friday 18 March 2005 21:09, Stephen Boddy wrote:
> In my 3.3.x setup I had a couple of custom filters set up for when
> messages were incorrectly marked by bogofilter. Basically I could
> select the messages, and click on one of the toolbar icons
> (Spam/Ham). This would run the appropriate filter, which would
> educate bogofilter, mark it as Spam/Ham, and move it into the correct
> folder (Spam/inbox).
>
> Today I upgraded to KDE 3.4, and the toolbar buttons had disappeared.
> When I try to add them KMail crashes, taking KOrganizer with it. I
> can restart it, and it starts OK, but moving to other components
> tends to crash the lot again. By changing the toolbar without moving
> to any other screen I can remove the problem buttons.
>
> Anyone else experiencing this?

Well, that's odd.

I had that problem _before_ my upgrade to KDE 3.4 / KMail 1.8. Now it's
gone. My toolbars were reset, as well, but I had no trouble
reconstituting them. I, too, had a couple of manual filters associated
with toolbar buttons (one to strip false positive spam headers and one
to undo a thread hijacking).

Perhaps you could hand edit the appropriate configuration file. The
existing entries might be enough to go on.

Here's what the <ToolBar> element from my
"~/.kde/share/apps/kmail/kmmainwin.rc" looks like:

<ToolBar noMerge="1" name="mainToolBar" fullWidth="true" >
<text>Main Toolbar</text>
<Action name="new_message" />
<Action name="file_save_as" />
<Action name="file_print" />
<Separator name="separator_11" />
<Action name="check_mail_in" />
<Action name="send_queued" />
<Separator name="separator_10" />
<Action name="message_reply_menu" />
<Action name="message_forward" />
<Separator name="separator_9" />
<Action name="go_prev_unread_message" />
<Action name="go_next_unread_message" />
<Separator name="separator_8" />
<Separator name="separator_7" />
<Action name="view_headers_fancy" />
<Action name="view_headers_brief" />
<Action name="view_headers_standard" />
<Action name="view_headers_long" />
<Action name="view_headers_all" />
<Separator name="separator_6" />
<Action name="toggle_fixedfont" />
<Action name="prefer_html" />
<Separator name="separator_5" />
<Separator name="separator_4" />
<Action name="move_to_trash" />
<Action name="search_messages" />
<Action name="addressbook" />
<Separator name="separator_3" />
<Separator name="separator_2" />
<ActionList name="toolbar_filter_actions" />
<Separator name="separator_1" />
<Separator name="separator_0" />
<Action name="kmail_configure_kmail" />
<Action name="filter" />
</ToolBar>

The <ToolBar> element appears just before the <ActionProperties>
element, which is the last element in the file.

This element is the one that inserts the filters that are marked as
toolbar actions:

<ActionList name="toolbar_filter_actions" />


> Steve Boddy


Randall Schulz

< Previous Next >
References