diff options
author | SammysHP | 2020-03-03 20:11:53 +0100 |
---|---|---|
committer | SammysHP | 2020-03-03 20:11:53 +0100 |
commit | 4822d93495b8d1e5ddc066dfaae7bdedda38b89d (patch) | |
tree | 710e0448f16ae62780376836a9c5cf904bc840c8 /0002_spinbutton.patch | |
download | aur-hptalx.tar.gz |
Initial commit
Diffstat (limited to '0002_spinbutton.patch')
-rw-r--r-- | 0002_spinbutton.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/0002_spinbutton.patch b/0002_spinbutton.patch new file mode 100644 index 000000000000..46542ea0a77c --- /dev/null +++ b/0002_spinbutton.patch @@ -0,0 +1,14 @@ +Author: Stefan Achatz +https://sourceforge.net/p/hptalx/patches/3/ + +--- a/src/setup.c ++++ b/src/setup.c +@@ -310,7 +310,7 @@ _create_setttyusbport_box (GtkWidget * box) + /* + * The spin button for choosing the port number + */ +- interval = GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 20, 1, 1, 1)); ++ interval = GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 20, 1, 1, 0)); + button = gtk_spin_button_new (interval, 1, 0); + g_signal_connect (GTK_OBJECT (button), "changed", + G_CALLBACK (_set_ttyusb_port), NULL); |