Diff of /trunk/src/cache.c

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

revision 179 by harbaum, Thu Nov 12 20:51:33 2009 UTC revision 180 by harbaum, Fri Nov 13 12:11:00 2009 UTC
# Line 179  static GtkWidget *cache_overview(cache_c Line 179  static GtkWidget *cache_overview(cache_c
179    
180    if(cache->type != CACHE_TYPE_UNKNOWN) {    if(cache->type != CACHE_TYPE_UNKNOWN) {
181      gtk_table_attach(GTK_TABLE(table),      gtk_table_attach(GTK_TABLE(table),
182    
183  #if defined(USE_MAEMO) && (MAEMO_VERSION_MAJOR >= 5)  #if defined(USE_MAEMO) && (MAEMO_VERSION_MAJOR >= 5)
184               tip = icon_get_widget(ICON_CACHE_TYPE_2X, cache->type),               tip = icon_get_widget(ICON_CACHE_TYPE_2X, cache->type),
185  #else  #else
186               tip = icon_get_widget(ICON_CACHE_TYPE_1_5X, cache->type),               tip = icon_get_widget(ICON_CACHE_TYPE_1_5X, cache->type),
187  #endif  #endif
188                       0,1,0,1, GTK_FILL, 0, GTK_FILL, 0);                       0,1,0,1, GTK_FILL, 0, GTK_FILL, 0);
189    
190  #ifndef USE_MAEMO  #ifndef USE_MAEMO
191      gtk_tooltips_set_tip(tips, tip, _(cache_type_tip[cache->type]), NULL);      gtk_tooltips_set_tip(tips, tip, _(cache_type_tip[cache->type]), NULL);
192  #endif  #endif
# Line 282  static GtkWidget *cache_overview(cache_c Line 284  static GtkWidget *cache_overview(cache_c
284      /* fill with vote if present on disk (will also free vote) */      /* fill with vote if present on disk (will also free vote) */
285      if(vote)      if(vote)
286        gcvote_set(context, vote);        gcvote_set(context, vote);
   
     gtk_table_attach_defaults(GTK_TABLE(table), ratebox, 2,3,0,2);  
287    }    }
288    
289      gtk_table_attach_defaults(GTK_TABLE(table), ratebox, 2,3,0,2);
290    
291    /* ----------------------------------------------------- */    /* ----------------------------------------------------- */
292    
293    

Legend:
Removed from v.179  
changed lines
  Added in v.180