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 |
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 |
|
|