Skip to content

Commit

Permalink
small polish
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupitt committed Jan 5, 2024
1 parent 7bf6884 commit d487efb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/fuzzy.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ fuzzy_match( char **fields, const char *pattern )

GSList *matches = NULL;

printf( "fuzzy_match: pattern = %s\n", pattern );
for( char **p = fields; *p; p++ ) {
const char *field = *p;
Fuzzy *fuzzy = g_new( Fuzzy, 1 );
Expand Down
3 changes: 2 additions & 1 deletion src/properties.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ properties_add_row( Properties *p,
// can't set alignment in CSS for some reason
gtk_widget_set_halign( t, GTK_ALIGN_START );
gtk_label_set_selectable( GTK_LABEL( t ), TRUE );
gtk_widget_add_css_class( t, "properties-label" );
if( item )
gtk_widget_add_css_class( t, "properties-label" );
gtk_widget_add_css_class( t, p->row_number % 2 ? "odd" : "even" );
gtk_grid_attach( GTK_GRID( p->grid ), t, 0, p->row_number, 1, 1 );

Expand Down

0 comments on commit d487efb

Please sign in to comment.