kopia lustrzana https://gitlab.com/sane-project/frontends
Fixed xcam GUI layout, so it doesn't blow away when resized.
rodzic
3323b8cd85
commit
9df191fbe9
|
@ -1,3 +1,6 @@
|
||||||
|
2004-04-19 Julien Blache <jb@jblache.org>
|
||||||
|
* src/xcam.c: fixed xcam layout.
|
||||||
|
|
||||||
2004-04-17 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
2004-04-17 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||||
|
|
||||||
* configure configure.in: Set version to 1.0.12-cvs.
|
* configure configure.in: Set version to 1.0.12-cvs.
|
||||||
|
|
12
src/xcam.c
12
src/xcam.c
|
@ -968,14 +968,14 @@ main (int argc, char **argv)
|
||||||
build_preferences_menu (dialog));
|
build_preferences_menu (dialog));
|
||||||
gtk_widget_show (menu_bar_item);
|
gtk_widget_show (menu_bar_item);
|
||||||
|
|
||||||
gtk_container_add (GTK_CONTAINER (vbox), menu_bar);
|
gtk_box_pack_start (GTK_BOX (vbox), menu_bar, FALSE, FALSE, 0);
|
||||||
gtk_widget_show (menu_bar);
|
gtk_widget_show (menu_bar);
|
||||||
|
|
||||||
/* add device info at top: */
|
/* add device info at top: */
|
||||||
frame = gtk_frame_new (0);
|
frame = gtk_frame_new (0);
|
||||||
gtk_container_border_width (GTK_CONTAINER (frame), 8);
|
gtk_container_border_width (GTK_CONTAINER (frame), 8);
|
||||||
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_IN);
|
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_IN);
|
||||||
gtk_container_add (GTK_CONTAINER (vbox), frame);
|
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
|
||||||
gtk_widget_show (frame);
|
gtk_widget_show (frame);
|
||||||
|
|
||||||
win.device_info_label = gtk_label_new ("");
|
win.device_info_label = gtk_label_new ("");
|
||||||
|
@ -1067,13 +1067,11 @@ main (int argc, char **argv)
|
||||||
win.params.pixels_per_line, win.params.lines);
|
win.params.pixels_per_line, win.params.lines);
|
||||||
|
|
||||||
/* buttons at the bottom: */
|
/* buttons at the bottom: */
|
||||||
button = gtk_button_new ();
|
button = gtk_button_new_with_label ("Play");
|
||||||
|
win.play_stop_label = GTK_BIN (button)->child;
|
||||||
gtk_signal_connect (GTK_OBJECT (button), "clicked",
|
gtk_signal_connect (GTK_OBJECT (button), "clicked",
|
||||||
(GtkSignalFunc) play_stop_button, dialog);
|
(GtkSignalFunc) play_stop_button, dialog);
|
||||||
win.play_stop_label = gtk_label_new ("Play");
|
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||||
gtk_container_add (GTK_CONTAINER (button), win.play_stop_label);
|
|
||||||
gtk_container_add (GTK_CONTAINER (vbox), button);
|
|
||||||
gtk_widget_show (win.play_stop_label);
|
|
||||||
gtk_widget_show (button);
|
gtk_widget_show (button);
|
||||||
|
|
||||||
gtk_widget_show (win.shell);
|
gtk_widget_show (win.shell);
|
||||||
|
|
Ładowanie…
Reference in New Issue