Skip to content

Commit 6a3637c

Browse files
committed
halscope: Remove information label in 'Select Channel Source' dialog
1 parent 2e109a5 commit 6a3637c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/hal/utils/scope_vert.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,6 @@ static gboolean dialog_select_source(int chan_num)
917917
char *tab_label_text[3];
918918
char *name[HAL_NAME_LEN + 1];
919919
char signal_name[HAL_NAME_LEN + 1];
920-
char msg[BUFLEN];
921920
char title[BUFLEN];
922921
int next, n, tab, retval;
923922
int row, match_tab, match_row;
@@ -928,8 +927,6 @@ static gboolean dialog_select_source(int chan_num)
928927
vert->chan_num = chan_num;
929928

930929
snprintf(title, BUFLEN - 1, _("Select Channel %d Source"), chan_num);
931-
snprintf(msg, BUFLEN - 1, _("Select a pin, signal, or parameter\n"
932-
"as the source for channel %d."), chan_num);
933930

934931
/* create dialog window, disable resizing, set title, size and position */
935932
dialog = gtk_dialog_new_with_buttons(title,
@@ -942,11 +939,6 @@ static gboolean dialog_select_source(int chan_num)
942939
gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
943940
content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
944941

945-
/* display message */
946-
label = gtk_label_new(msg);
947-
gtk_box_pack_start(GTK_BOX(GTK_CONTAINER(content_area)),
948-
label, FALSE, FALSE, 10);
949-
950942
/*
951943
* create a notebook to hold pin, signal, and parameter list,
952944
* remember the notebook so we can change the pages later and

0 commit comments

Comments
 (0)