745 |
/* striked out coordinate may need update */ |
/* striked out coordinate may need update */ |
746 |
overview_coordinate_update(context); |
overview_coordinate_update(context); |
747 |
} |
} |
|
|
|
|
if(strcasecmp(name, _("Goto")) == 0) { |
|
|
/* redo coo_button since state of overwritten coordinate may have changed */ |
|
|
preset_coordinate_picker_update(context->appdata, context->gotoc.coo_popup); |
|
|
} |
|
748 |
} |
} |
749 |
|
|
750 |
static void on_notebook_destroy(GtkWidget *widget, gpointer user_data ) { |
static void on_notebook_destroy(GtkWidget *widget, gpointer user_data ) { |
945 |
static void on_cache_destroy (GtkWidget *widget, appdata_t *appdata) { |
static void on_cache_destroy (GtkWidget *widget, appdata_t *appdata) { |
946 |
appdata->cur_cache = NULL; |
appdata->cur_cache = NULL; |
947 |
|
|
948 |
|
HildonWindowStack *stack = hildon_window_stack_get_default(); |
949 |
|
appdata->window = HILDON_WINDOW(hildon_window_stack_peek(stack)); |
950 |
|
|
951 |
/* restore cur_view */ |
/* restore cur_view */ |
952 |
appdata->cur_view = g_object_get_data(G_OBJECT(widget), "cur_view"); |
appdata->cur_view = g_object_get_data(G_OBJECT(widget), "cur_view"); |
953 |
} |
} |
954 |
|
|
955 |
void cache_dialog(appdata_t *appdata, cache_t *cache) { |
void cache_dialog(appdata_t *appdata, cache_t *cache) { |
956 |
GtkWidget *window = hildon_stackable_window_new(); |
GtkWidget *window = hildon_stackable_window_new(); |
957 |
|
appdata->window = HILDON_WINDOW(window); |
958 |
|
|
959 |
/* store last "cur_view" in window */ |
/* store last "cur_view" in window */ |
960 |
g_object_set_data(G_OBJECT(window), "cur_view", appdata->cur_view); |
g_object_set_data(G_OBJECT(window), "cur_view", appdata->cur_view); |