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