Diff of /trunk/src/bct.c

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

revision 135 by harbaum, Tue Sep 29 14:30:16 2009 UTC revision 136 by harbaum, Mon Oct 19 13:02:41 2009 UTC
# Line 69  static void bct_update(bct_priv_t *priv) Line 69  static void bct_update(bct_priv_t *priv)
69      /* disable button now last in chain */      /* disable button now last in chain */
70      gtk_widget_set_sensitive(crumb->button, FALSE);      gtk_widget_set_sensitive(crumb->button, FALSE);
71    
72      GtkWidget *label =  gtk_bin_get_child(GTK_BIN(crumb->button));      //    GtkWidget *label =  gtk_bin_get_child(GTK_BIN(crumb->button));
73      gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_NONE);      //    gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_NONE);
74    }    }
75    
76    /* disable back button if crumb trail has 1 item or less */    /* disable back button if crumb trail has 1 item or less */
# Line 125  void bct_push_text(GtkWidget *bct, const Line 125  void bct_push_text(GtkWidget *bct, const
125      gtk_widget_set_sensitive(crumb->button, TRUE);      gtk_widget_set_sensitive(crumb->button, TRUE);
126      gtk_widget_set_sensitive(priv->back, TRUE);      gtk_widget_set_sensitive(priv->back, TRUE);
127    
128      GtkWidget *label =  gtk_bin_get_child(GTK_BIN(crumb->button));      //  GtkWidget *label =  gtk_bin_get_child(GTK_BIN(crumb->button));
129      gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END);      //  gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END);
130    }    }
131    
132    /* create a new crumb */    /* create a new crumb */

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