Diff of /trunk/src/cache.c

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

revision 258 by harbaum, Sat Dec 12 20:56:23 2009 UTC revision 259 by harbaum, Sat May 15 12:27:40 2010 UTC
# Line 598  static GtkWidget *cache_logs(appdata_t * Line 598  static GtkWidget *cache_logs(appdata_t *
598    if(gc_link) {    if(gc_link) {
599      GtkWidget *but =      GtkWidget *but =
600        gtk_button_new_with_label(_("Post a new log entry for this geocache"));        gtk_button_new_with_label(_("Post a new log entry for this geocache"));
 #if 0  
     gtk_button_set_image(GTK_BUTTON(but),  
         gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON));  
     gtk_button_set_image_position(GTK_BUTTON(but), GTK_POS_LEFT);  
 #endif  
601  #if defined(USE_MAEMO) && (MAEMO_VERSION_MAJOR == 5)  #if defined(USE_MAEMO) && (MAEMO_VERSION_MAJOR == 5)
602    hildon_gtk_widget_set_theme_size(but,    hildon_gtk_widget_set_theme_size(but,
603             (HILDON_SIZE_FINGER_HEIGHT | HILDON_SIZE_AUTO_WIDTH));             (HILDON_SIZE_FINGER_HEIGHT | HILDON_SIZE_AUTO_WIDTH));
# Line 901  GtkWidget *cache_view(appdata_t *appdata Line 896  GtkWidget *cache_view(appdata_t *appdata
896      notebook_append_page(notebook,      notebook_append_page(notebook,
897             cache_hint(appdata, cache), _("Hint"));             cache_hint(appdata, cache), _("Hint"));
898    
899    if(cache->log)    // always display log page to allow user to post a new log
900      if(cache->log
901    #ifdef ENABLE_BROWSER_INTERFACE
902         || (strncmp(cache->id, "GC", 2) == 0)
903    #endif
904         )
905      notebook_append_page(notebook,      notebook_append_page(notebook,
906       cache_logs(appdata, cache_context, cache->log, cache->logs_are_html),       cache_logs(appdata, cache_context, cache->log, cache->logs_are_html),
907             _("Logs"));             _("Logs"));

Legend:
Removed from v.258  
changed lines
  Added in v.259