Diff of /trunk/src/cache.c

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

revision 133 by harbaum, Mon Oct 12 20:27:55 2009 UTC revision 136 by harbaum, Mon Oct 19 13:02:41 2009 UTC
# Line 168  static GtkWidget *cache_overview(cache_c Line 168  static GtkWidget *cache_overview(cache_c
168    if(cache->owner) {    if(cache->owner) {
169      ivbox = gtk_vbox_new(FALSE, 0);      ivbox = gtk_vbox_new(FALSE, 0);
170      gtk_box_pack_start_defaults(GTK_BOX(ivbox), GTK_LABEL_SMALL(_("by")));      gtk_box_pack_start_defaults(GTK_BOX(ivbox), GTK_LABEL_SMALL(_("by")));
171      gtk_box_pack_start_defaults(GTK_BOX(ivbox), GTK_LABEL_SMALL(cache->owner));      gtk_box_pack_start_defaults(GTK_BOX(ivbox), GTK_LABEL_SMALL(cache->owner->name));
172      gtk_table_attach_defaults(GTK_TABLE(table), ivbox, 1,2,1,2);      gtk_table_attach_defaults(GTK_TABLE(table), ivbox, 1,2,1,2);
173    }    }
174    
# Line 619  static void on_notebook_page_change(GtkN Line 619  static void on_notebook_page_change(GtkN
619    
620    /* this is a workaround, around some bug in the gtktextwidget or so ... */    /* this is a workaround, around some bug in the gtktextwidget or so ... */
621    /* i tried to get info on this and everybody agreed that this is a bug */    /* i tried to get info on this and everybody agreed that this is a bug */
622    /* in gtk but noone had a read fix. so i came up with this. */    /* in gtk but noone had a fix ready. so i came up with this. */
623    /* seems to work ... */    /* seems to work ... */
624    if(strcasecmp(name, _("Logs")) == 0) {    if(strcasecmp(name, _("Logs")) == 0) {
625      gtk_widget_queue_resize(w);      gtk_widget_queue_resize(w);
626    }    } else if(strcasecmp(name, _("TBs")) == 0) {
627        gtk_widget_queue_resize(w);
628    if(strcasecmp(name, _("Goto")) == 0) {    } else if(strcasecmp(name, _("Goto")) == 0) {
629  #ifdef USE_MAEMO  #ifdef USE_MAEMO
630      context->handler_id = gtk_timeout_add(1000, screensaver_update,      context->handler_id = gtk_timeout_add(1000, screensaver_update,
631                                            context->appdata);                                            context->appdata);

Legend:
Removed from v.133  
changed lines
  Added in v.136