//ws_gui_fill_html(" ", ws_gui_app);
//ws_gui_app->html_flag = FALSE;
+ if (ws_gui_app->dictionary_selection_changed == TRUE)
+ {
+ ws_gui_clear_list(ws_gui_app->ws_gui_w_list->ws_gui_store, ws_gui_app);
+ ws_gui_fill_html("", ws_gui_app);
+ ws_gui_app->dictionary_selection_changed = FALSE;
+ }
+
g_free(ws_gui_app->last_word);
ws_gui_app->last_word = NULL;
ws_gui_app->no_words_found = TRUE;
}
g_array_free(tmp, TRUE);
+
+ ws_gui_app->dictionary_selection_changed = FALSE;
timer(TIMER_STOP, (gchar*)__FUNCTION__);
}
ws_gui_app->first_run = TRUE;
/*indicates that no words match a given search pattern*/
ws_gui_app->no_words_found = TRUE;
+ /*indicates that no words match a given search pattern*/
+ ws_gui_app->dictionary_selection_changed = FALSE;
ws_gui_app->zoom = ZOOM_DEFAULT;
ws_dbus_notify(ws_gui_app->dbus_data,
WS_DBUS_INFO_CONFIG_CHANGED);
+ ws_gui_app->dictionary_selection_changed = TRUE;
+
if(ws_gui_app->ws_gui_history->len >= 0)
{
ws_gui_clear_array(ws_gui_app->ws_gui_history);
ws_dbus_notify(ws_gui_app->dbus_data,
WS_DBUS_INFO_CONFIG_CHANGED);
+
+ ws_gui_app->dictionary_selection_changed = TRUE;
if (tmp)
{