GTK_WIDGET(ws_gui_app->ws_gui_menu->ws_gui_menu_search),
FALSE);
+ gtk_widget_set_sensitive(
+ GTK_WIDGET(ws_gui_app->ws_gui_w_list->ws_gui_view),
+ FALSE);
+
break;
}
case WS_DBUS_INFO_CACHING_FINISHED:
{
- gtk_widget_destroy(
+ gtk_widget_destroy(
GTK_WIDGET(ws_gui_app->ws_gui_banner_caching));
- ws_gui_app->caching_flag = FALSE;
- gtk_widget_set_sensitive(
+ ws_gui_app->caching_flag = FALSE;
+ gtk_widget_set_sensitive(
GTK_WIDGET(ws_gui_app->ws_gui_hildon_find_toolbar),
TRUE);
- gtk_widget_set_sensitive(
+ gtk_widget_set_sensitive(
GTK_WIDGET(ws_gui_app->ws_gui_menu->ws_gui_menu_search),
TRUE);
+ gtk_widget_set_sensitive(
+ GTK_WIDGET(ws_gui_app->ws_gui_w_list->ws_gui_view),
+ TRUE);
break;
}
_("ws_ni_bookmark_not_added"));
break;
}
-
+
case WS_DBUS_BOOKMARKS_REMOVED_FAIL:
{
gtk_infoprint(GTK_WINDOW(
ws_gui_app->caching_flag = TRUE;
- //hildon_banner_set_fraction(
- // HILDON_BANNER(ws_gui_app->ws_gui_banner_extracting),
- // 0.0);
gtk_widget_set_sensitive(
- GTK_WIDGET(ws_gui_app->ws_gui_hildon_find_toolbar),
- FALSE);
+ GTK_WIDGET(ws_gui_app->ws_gui_hildon_find_toolbar),
+ FALSE);
gtk_widget_set_sensitive(
GTK_WIDGET(ws_gui_app->ws_gui_menu->ws_gui_menu_search),
FALSE);
if (strcmp(((gchar *)g_value_get_string (&value)), pattern) == 0)
{
- g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, "\n\nTRAFIONO!!! za pierwszym razem: WYRAZY: %s = %s\n", (gchar *)g_value_get_string (&value), pattern);
-
gtk_tree_selection_select_iter(
ws_gui_app->ws_gui_w_list->ws_gui_selection,
&tmp_iter);
{
while (gtk_tree_model_iter_next(GTK_TREE_MODEL(ws_gui_app->ws_gui_w_list->ws_gui_model), &tmp_iter) == TRUE && keep_searching == TRUE)
{
- g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, "\n\n(while) WYRAZY: %s = %s\n", (gchar *)g_value_get_string (&value), pattern);
-
gtk_tree_model_get_value(GTK_TREE_MODEL(
ws_gui_app->ws_gui_w_list->ws_gui_model),
&tmp_iter,
{
gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL(
ws_gui_app->ws_gui_w_list->ws_gui_model),
- &tmp_iter,
- g_array_index(ws_gui_app->ws_gui_history_iter,
- gchar*,
- ws_gui_app->ws_gui_history_cur_pos));;
+ &tmp_iter,
+ g_array_index(
+ ws_gui_app->ws_gui_history_iter,
+ gchar*,
+ ws_gui_app->ws_gui_history_cur_pos));
gtk_tree_selection_select_iter(
ws_gui_app->ws_gui_w_list->ws_gui_selection,
&tmp_iter);
-
- g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, "\njestem pewna ze jestem tutaj\nTRAFIONO TRAFIONO TRAFIONO!!! %s = %s\n\n", (gchar *)g_value_get_string (&value), pattern);
-
+
keep_searching = FALSE;
}
- }
+ }
}
}
g_free(pattern);
g_array_index(ws_gui_app->ws_gui_history,
gchar*,
ws_gui_app->ws_gui_history_cur_pos));
- ws_gui_app->html_flag = FALSE;
+
+ ws_gui_app->html_flag = TRUE;
}
i);
tmp_iter = gtk_tree_model_get_string_from_iter (GTK_TREE_MODEL(ws_gui_app->ws_gui_w_list->ws_gui_model), &ws_gui_app->ws_gui_w_list->ws_gui_iter);
- if (previous_word != NULL && strcmp(previous_word, new_word) != 0)
+ if (previous_word != NULL &&
+ strcmp(previous_word, new_word) != 0)
{
while (tmp != NULL)
{
i = 0;
ws_gui_app->ws_gui_history_cur_pos ++;
-
if (ws_gui_app->bookmark_mode == FALSE)
{
- tmp_last_searched = g_strdup(ws_gui_app->last_searched);
+ tmp_last_searched = g_strdup(ws_gui_app->last_searched);
}
else
{
}
}
-
- ws_gui_app->ws_gui_w_list->path = gtk_tree_model_get_path(GTK_TREE_MODEL(ws_gui_app->ws_gui_w_list->ws_gui_model), &ws_gui_app->ws_gui_w_list->ws_gui_iter);
+
ws_gui_check_history(ws_gui_app);
}
COL_WORD,
&string,
-1);
- if (string != NULL )
+ if (string != NULL)
{
ws_dbus_client_find_translation(ws_gui_app->dbus_data, string);