| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2004-01-24 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (cell_toggled_callback): if the source is
primary, don't allow it to be un-selected
svn path=/trunk/; revision=24397
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (rebuild_model): set a primary selection if
there is one before the rebuild
(e_source_selector_set_primary_selection): block the signals when
clearing the tree selection to make the op atomic; emit the
selection_changed signal if a hidden selection is not currently
selectecd
svn path=/trunk/; revision=24342
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (find_source_iter): provide parent iter
in/out arg
(test_collapse_row_callback): use priv shortcut
(e_source_selector_select_source): pass parent iter
(e_source_selector_unselect_source): ditto
(e_source_selector_peek_primary_selection): return the right thing
if the primary selection is currently hidden
(e_source_selector_set_primary_selection): set the primary
selection properly if the source node is currently hidden
svn path=/trunk/; revision=24337
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (clear_saved_primary_selection): util
routine to clear the row reference to the saved primary selection
(find_source_iter): unref the model data retrieved
(rebuild_existing_cb): ditto
(toggle_cell_data_func): ditto
(text_cell_data_func): ditto
(selection_func): ditto; clear the saved primary selection if
something else is selected
(cell_toggled_callback): ditto
(test_collapse_row_callback): clear the toggled_last flag
(row_expanded_callback): once we've restored the saved primary
selection, clear it
(selector_button_press_event): unref the model data
(impl_dispose): use clear_saved_primary_selection
(init): the store column holds object not pointer type
(e_source_selector_peek_primary_selection): unref the model da
svn path=/trunk/; revision=24334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-20 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (test_collapse_row_callback): check if the
collapsing node has its child selected, if so take a row reference
to remember the selection
(row_expanded_callback): check if the expanding node has the saved
primary selection under it and re-select if so
(init): listen for signals
(impl_dispose): free the primary selection
svn path=/trunk/; revision=24329
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-19 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (create_rebuild_data): create the data
structure for rebuilding the model
(free_rebuild_data): free it
(rebuild_existing_cb): check for the sources that are still
existing or deleted
(rebuild_model): do incremental updates
(selection_func): if the last thing we did was toggle, we don't
actually want to highlight and if the source is not checked, check
it
(cell_toggled_callback): indicate that a toggle just occurred
(init): initial toggled last to false
(e_source_selector_set_primary_selection): set some preconditions
Fixes #51787
svn path=/trunk/; revision=24312
|
|
|
|
|
|
|
|
| |
renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the
text doesn't change the status of the checkbox. [Many thanks to
Jonathan Blandford for telling me how to do this!]
svn path=/trunk/; revision=23588
|
|
|
|
|
|
|
|
| |
2003-12-01 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (class_init): list the signal args properl
svn path=/trunk/; revision=23542
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-16 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (e_source_selector_set_primary_selection):
use find_source_iter and get the selection from the right spot
(find_source_iter): util function to find the iter given the
source
(e_source_selector_select_source): signal that the model changed
(e_source_selector_unselect_source): ditto
svn path=/trunk/; revision=23372
|
|
|
|
|
|
| |
nodes.
svn path=/trunk/; revision=23276
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
* e-source-selector.c (class_init): fill_popup_menu signal has
2 arguments.
svn path=/trunk/; revision=23109
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-28 Rodrigo Moya <rodrigo@ximian.com>
* e-source-selector.[ch]: added "fill_popup_menu" signal, to
allow the addition of new items to the popup menu.
(class_init): create new signal.
(init): connect to "button_press_event" for the tree view.
(selector_button_press_event): callback for "button_press_event".
(e_source_selector_selection_shown): use g_return_val_if_fail.
svn path=/trunk/; revision=23106
|
|
svn path=/trunk/; revision=22964
|