Mercurial > geeqie.yaz
comparison src/ui_misc.c @ 113:55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
* configure.in: Add test for lcms (little cms).
* Makefile.am: Add color-man.[ch]:
* color-man.[ch]: New files for color management support.
* globals.c, gqview.h, main.c, rcfile.c, typedefs.h: Add color profile
variables and option saving.
* image.[ch]: Add color profile functions.
* layout.c, layout_image.[ch]: Add color profile icon, popup menu, and
fix sort menu to use radio buttons.
* menu.c: Use radio buttons for sort menu when appropriate.
* preferences.c: Add color profile options to preferences.
* ui_menu.[ch]: Add menu_item_add_radio() for radio item menus.
* ui_misc.c: Fix gtk_table_attach() arg for vertical expansion.
* view_file_icon.c, view_file_list.c: Check for active state in sort
menu callbacks.
* README: Add info about lcms, and how to disable.
author | gqview |
---|---|
date | Sat, 25 Nov 2006 03:00:33 +0000 |
parents | 2099ee3f9a8d |
children | fa0e05f985c3 |
comparison
equal
deleted
inserted
replaced
112:b15d4c18168f | 113:55166d93498d |
---|---|
611 } | 611 } |
612 shell = box; | 612 shell = box; |
613 } | 613 } |
614 | 614 |
615 gtk_table_attach(GTK_TABLE(table), shell, column, column + 1, row, row + 1, | 615 gtk_table_attach(GTK_TABLE(table), shell, column, column + 1, row, row + 1, |
616 GTK_EXPAND | GTK_FILL, FALSE, 0, 0); | 616 GTK_EXPAND | GTK_FILL, 0, 0, 0); |
617 | 617 |
618 gtk_widget_show(shell); | 618 gtk_widget_show(shell); |
619 | 619 |
620 return box; | 620 return box; |
621 } | 621 } |
626 GtkWidget *label; | 626 GtkWidget *label; |
627 GtkWidget *align; | 627 GtkWidget *align; |
628 | 628 |
629 align = gtk_alignment_new(alignment, 0.50, 0.0, 0.0); | 629 align = gtk_alignment_new(alignment, 0.50, 0.0, 0.0); |
630 gtk_table_attach(GTK_TABLE(table), align, column, column + 1, row, row + 1, | 630 gtk_table_attach(GTK_TABLE(table), align, column, column + 1, row, row + 1, |
631 GTK_FILL, FALSE, 0, 0); | 631 GTK_FILL, 0, 0, 0); |
632 gtk_widget_show(align); | 632 gtk_widget_show(align); |
633 label = gtk_label_new(text); | 633 label = gtk_label_new(text); |
634 gtk_container_add(GTK_CONTAINER(align), label); | 634 gtk_container_add(GTK_CONTAINER(align), label); |
635 gtk_widget_show(label); | 635 gtk_widget_show(label); |
636 | 636 |
643 { | 643 { |
644 GtkWidget *button; | 644 GtkWidget *button; |
645 | 645 |
646 button = pref_button_new(NULL, stock_id, text, hide_stock_text, func, data); | 646 button = pref_button_new(NULL, stock_id, text, hide_stock_text, func, data); |
647 gtk_table_attach(GTK_TABLE(table), button, column, column + 1, row, row + 1, | 647 gtk_table_attach(GTK_TABLE(table), button, column, column + 1, row, row + 1, |
648 GTK_FILL, FALSE, 0, 0); | 648 GTK_FILL, 0, 0, 0); |
649 gtk_widget_show(button); | 649 gtk_widget_show(button); |
650 | 650 |
651 return button; | 651 return button; |
652 } | 652 } |
653 | 653 |