Commit Graph

367 Commits

Author SHA1 Message Date
Anders Carlsson
5cb796a44f Fixes and stuff 2004-07-03 10:04:14 +00:00
Anders Carlsson
da6fe16842 Document functions and fix a few bugs.
2004-07-03  Anders Carlsson  <andersca@gnome.org>

	* libegg/iconlist/eggiconlist.c: (egg_icon_list_add_move_binding),
	(egg_icon_list_real_move_cursor), (egg_icon_list_new),
	(egg_icon_list_new_with_model), (egg_icon_list_get_path_at_pos),
	(egg_icon_list_selected_foreach),
	(egg_icon_list_set_selection_mode),
	(egg_icon_list_get_selection_mode), (egg_icon_list_set_model),
	(egg_icon_list_get_model), (egg_icon_list_set_text_column),
	(egg_icon_list_get_text_column), (egg_icon_list_set_markup_column),
	(egg_icon_list_get_markup_column),
	(egg_icon_list_set_pixbuf_column),
	(egg_icon_list_get_pixbuf_column), (egg_icon_list_select_path),
	(egg_icon_list_unselect_path), (egg_icon_list_select_all),
	(egg_icon_list_unselect_all), (egg_icon_list_path_is_selected),
	(egg_icon_list_item_activated):
	* libegg/iconlist/eggiconlist.h:
	* libegg/iconlist/testiconlist.c: (foreach_selected_remove_func),
	(foreach_selected_remove), (selection_changed), (main):
	Document functions and fix a few bugs.
2004-07-03 08:01:34 +00:00
Anders Carlsson
b107b5075b Add markup column support.
2004-07-02  Anders Carlsson  <andersca@gnome.org>

	* libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init),
	(egg_icon_list_init), (egg_icon_list_set_property),
	(egg_icon_list_get_property), (egg_icon_list_calculate_item_size),
	(egg_icon_list_paint_item), (egg_icon_list_update_item_text),
	(egg_icon_list_get_text_column), (egg_icon_list_set_markup_column),
	(egg_icon_list_get_markup_column),
	(egg_icon_list_set_pixbuf_column),
	(egg_icon_list_get_pixbuf_column):
	* libegg/iconlist/eggiconlist.h:
	* libegg/iconlist/testiconlist.c: (fill_model), (create_model):
	Add markup column support.
2004-07-02 13:20:16 +00:00
Anders Carlsson
5a79a61179 Update icon list to use the tree model instead.
2004-07-02  Anders Carlsson  <andersca@gnome.org>

	* libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init),
	(egg_icon_list_init), (egg_icon_list_destroy),
	(egg_icon_list_finalize), (egg_icon_list_set_property),
	(egg_icon_list_get_property), (egg_icon_list_button_press),
	(egg_icon_list_select_first_matching_item),
	(egg_icon_list_maybe_begin_dragging_items),
	(egg_icon_list_real_toggle_cursor_item),
	(egg_icon_list_calculate_item_size),
	(egg_icon_list_invalidate_sizes), (egg_icon_list_paint_item),
	(egg_icon_list_item_new), (egg_icon_list_item_unref),
	(egg_icon_list_get_item_text), (egg_icon_list_get_item_icon),
	(egg_icon_list_get_item_at_pos), (egg_icon_list_get_path_at_pos),
	(egg_icon_list_selected_foreach), (egg_icon_list_select_path),
	(egg_icon_list_unselect_path), (egg_icon_list_path_is_selected),
	(egg_icon_list_item_activated), (egg_icon_list_get_items),
	(egg_icon_list_row_changed), (egg_icon_list_row_inserted),
	(egg_icon_list_row_deleted), (egg_icon_list_rows_reordered),
	(egg_icon_list_build_items), (egg_icon_list_set_model),
	(egg_icon_list_get_model), (egg_icon_list_set_text_column),
	(egg_icon_list_set_pixbuf_column):
	* libegg/iconlist/eggiconlist.h:
	* libegg/iconlist/testiconlist.c: (fill_model), (create_model),
	(foreach_selected_print), (item_removed), (remove_selected),
	(item_cb), (do_popup_menu), (main):
	* libegg/util/eggmarshalers.list:
	Update icon list to use the tree model instead.
2004-07-02 12:04:49 +00:00
Soeren Sandmann
f0ef8663b8 Make sure the rubberband is updated when scrolling.
Sat Jun 26 21:05:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* libegg/iconlist/eggiconlist.c (egg_icon_list_adjustment_changed):
	Make sure the rubberband is updated when scrolling.
2004-06-26 19:07:25 +00:00
Matthias Clasen
6b82abcbe0 Remove this unused function. (Patch by Jody Goldberg)
Mon Jun 21 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c (egg_icon_list_item_get_icon_list):
	Remove this unused function.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:56 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c (egg_icon_list_queue_draw_item):
	Avoid warnings if items are selected before the icon list is
	realized.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:16 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c (egg_icon_list_button_press):
	Fix a small problem in mode GTK_SELECTION_NONE.

Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
	move the focus without influencing the selection.
2004-06-21 04:10:07 +00:00
Matthias Clasen
569bded2e2 Let ctrl key combinations move the focus without influencing the
Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
	move the focus without influencing the selection.
2004-06-21 03:41:04 +00:00
Matthias Clasen
67362c6b97 Implement keynav.
Fri Jun 18 01:15:33 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c: Implement keynav.
2004-06-18 05:17:01 +00:00
Matthias Clasen
47425e34a4 The property editor, copied from testgtk.
Tue Jun 15 19:59:33 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/prop-editor.[hc]: The property editor,
	copied from testgtk.

Tue Jun 15 19:57:44 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/testiconlist.c (main): Show off some more
	features of the icon list: rtl layout, sorting, context menus.
	Also add a property editor.

Tue Jun 15 20:01:49 2004  Matthias Clasen  <maclas@gmx.de>

	* libegg/iconlist/eggiconlist.c (egg_icon_list_layout_single_row):
	Support rtl layout.
2004-06-16 00:03:31 +00:00
Anders Carlsson
8611df01ac Implement rubberband scrolling (needs to be done for the horizontal
2004-05-31  Anders Carlsson  <andersca@gnome.org>

	* libegg/iconlist/eggiconlist.c (egg_icon_list_motion):
	Implement rubberband scrolling (needs to be done for the
	horizontal scrollbar too)
2004-05-31 19:44:01 +00:00
Anders Carlsson
9897d659c0 Use gdk_draw_pixbuf.
2003-08-24  Anders Carlsson  <andersca@gnome.org>

	* libegg/iconlist/eggiconlist.c: (egg_icon_list_paint_item),
	(egg_icon_list_paint_rubberband):
	Use gdk_draw_pixbuf.

	(egg_icon_list_item_unref):
	Call destroy_notify on the list item. Reported by Edd Dumbill.
2003-08-24 17:28:23 +00:00
Frédéric Crozat
a5e2f158a8 Don't use deprecated gdk-pixbuf code.
* libegg/iconlist/eggiconlist.c: (egg_icon_list_paint_item):
        Don't use deprecated gdk-pixbuf code.
2003-07-24 13:12:23 +00:00
Ross Burton
8f5c1b6a3c Use the theme colours for rubber banding 2003-07-03 13:10:41 +00:00
Soeren Sandmann
69705a6500 Fix buglet that sometimes left dirt in corner of the rubberband area.
2002-08-20  Soeren Sandmann  <sandmann@daimi.au.dk>

	* libegg/iconlist/eggiconlist.c (rubberbanding): Fix buglet that
	sometimes left dirt in corner of the rubberband area.
2002-08-20 19:50:19 +00:00
Anders Carlsson
0c87100036 Changes, bug fixes etc. 2002-07-29 21:11:23 +00:00
Anders Carlsson
b78d50327d Make this compile again. 2002-05-18 09:02:17 +00:00
Anders Carlsson
683de88115 Add this 2002-04-30 17:08:52 +00:00