Diff of /trunk/src/cache.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 221 by harbaum, Mon Nov 30 21:28:04 2009 UTC revision 226 by harbaum, Wed Dec 2 20:05:52 2009 UTC
# Line 745  static void on_notebook_page_change(GtkN Line 745  static void on_notebook_page_change(GtkN
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 ) {
# Line 950  void cache_dialog(appdata_t *appdata, ca Line 945  void cache_dialog(appdata_t *appdata, ca
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);

Legend:
Removed from v.221  
changed lines
  Added in v.226