Diff of /trunk/src/cache.c

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

revision 178 by harbaum, Thu Nov 12 19:58:26 2009 UTC revision 179 by harbaum, Thu Nov 12 20:51:33 2009 UTC
# Line 514  static GtkWidget *cache_tbs(appdata_t *a Line 514  static GtkWidget *cache_tbs(appdata_t *a
514    
515      /* --------------------- icon/ref/name -------------------------*/      /* --------------------- icon/ref/name -------------------------*/
516      GtkWidget *icon = NULL;      GtkWidget *icon = NULL;
517      if(strcasestr(tb->name, "coin") != 0)      if((strcasestr(tb->name, "coin") != 0) ||
518           (strcasestr(tb->name, "muenze") != 0) ||
519           (strcasestr(tb->name, "münze") != 0))
520        icon = icon_get_widget(ICON_TB, 1);   /* coin icon */        icon = icon_get_widget(ICON_TB, 1);   /* coin icon */
521      else      else
522        icon = icon_get_widget(ICON_TB, 0);   /* tb icon */        icon = icon_get_widget(ICON_TB, 0);   /* tb icon */
# Line 785  static GtkWidget *notebook_new(void) { Line 787  static GtkWidget *notebook_new(void) {
787  #endif  #endif
788  }  }
789    
790    #ifdef CUSTOM_NOTEBOOK
791  static void on_notebook_button_clicked(GtkWidget *button, gpointer data) {  static void on_notebook_button_clicked(GtkWidget *button, gpointer data) {
792    GtkNotebook *nb =    GtkNotebook *nb =
793      GTK_NOTEBOOK(g_object_get_data(G_OBJECT(data), "notebook"));      GTK_NOTEBOOK(g_object_get_data(G_OBJECT(data), "notebook"));
# Line 792  static void on_notebook_button_clicked(G Line 795  static void on_notebook_button_clicked(G
795    gint page = (gint)g_object_get_data(G_OBJECT(button), "page");    gint page = (gint)g_object_get_data(G_OBJECT(button), "page");
796    gtk_notebook_set_current_page(nb, page);    gtk_notebook_set_current_page(nb, page);
797  }  }
798    #endif
799    
800  static void notebook_append_page(GtkWidget *notebook,  static void notebook_append_page(GtkWidget *notebook,
801                                   GtkWidget *page, char *label) {                                   GtkWidget *page, char *label) {

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