* better action handling
This commit is contained in:
@ -130,9 +130,7 @@ mug_msg_view_set_msg (MugMsgView * self, const char *msgpath)
|
||||
"<h1>Note</h1><hr>"
|
||||
"<p>Message <tt>%s</tt> does not seem to be present "
|
||||
"on the file system."
|
||||
"<p>Maybe you need to run <tt>mu index</tt>?"
|
||||
"<p>Click <a href=\"cmd:index\">here</a> to start the index"
|
||||
,
|
||||
"<p>Maybe you need to run <tt>mu index</tt>?",
|
||||
msgpath);
|
||||
mu_msg_view_set_note (MU_MSG_VIEW (priv->_view), note);
|
||||
g_free (note);
|
||||
|
||||
@ -223,7 +223,6 @@ on_query_changed (MugQueryBar * bar, const char *query, MugData * mugdata)
|
||||
int count;
|
||||
|
||||
/* clear the old message */
|
||||
//mug_msg_view_set_text (MUG_MSG_VIEW(mugdata->msgview), NULL);
|
||||
mug_msg_view_set_msg (MUG_MSG_VIEW (mugdata->msgview), NULL);
|
||||
|
||||
count = mug_msg_list_view_query (MUG_MSG_LIST_VIEW (mugdata->mlist),
|
||||
@ -250,7 +249,6 @@ on_query_changed (MugQueryBar * bar, const char *query, MugData * mugdata)
|
||||
static void
|
||||
on_msg_selected (MugMsgListView * mlist, const char *mpath, MugData * mugdata)
|
||||
{
|
||||
// g_warning ("msg selected: %s", mpath);
|
||||
mug_msg_view_set_msg (MUG_MSG_VIEW (mugdata->msgview), mpath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user