Changeset 893
- Timestamp:
- 09/05/06 20:49:14
- Files:
-
- trunk/TODO (modified) (1 diff)
- trunk/tinymail/tny-demoui-summary-view.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/TODO
r889 r893 2 2 o. Rename types in the demo-ui 3 3 o. Refactor TnySaveStrategy to a TnyGnomeVfsSaveStrategy and a TnyPosixSaveStrategy 4 o. Fix the GTK_TREE_MODEL_SORT assertion of the demo-ui5 4 o. camel-lite-builder builds without nspr-dev resulting in a compilation error 6 5 o. The docs don't describe the enums trunk/tinymail/tny-demoui-summary-view.c
r891 r893 87 87 GtkTreeSelection *mailbox_select; 88 88 GtkTreeIter last_mailbox_correct_select; 89 gboolean last_mailbox_correct_select_set; 89 90 guint connchanged_signal, online_button_signal; 90 91 TnyListIface *current_accounts; … … 457 458 { 458 459 /* If an "account name"-row was clicked */ 459 g_signal_handler_block (G_OBJECT (priv->mailbox_select), priv->mailbox_select_sid); 460 gtk_tree_selection_select_iter (priv->mailbox_select, &priv->last_mailbox_correct_select); 461 g_signal_handler_unblock (G_OBJECT (priv->mailbox_select), priv->mailbox_select_sid); 460 if (priv->last_mailbox_correct_select_set) 461 { 462 g_signal_handler_block (G_OBJECT (priv->mailbox_select), priv->mailbox_select_sid); 463 gtk_tree_selection_select_iter (priv->mailbox_select, &priv->last_mailbox_correct_select); 464 g_signal_handler_unblock (G_OBJECT (priv->mailbox_select), priv->mailbox_select_sid); 465 } 466 priv->last_mailbox_correct_select_set = TRUE; 462 467 return; 463 468 } … … 494 499 495 500 model = gtk_tree_view_get_model(treeview); 496 501 497 502 if (G_LIKELY (gtk_tree_model_get_iter(model, &iter, path))) 498 503 { … … 591 596 /* TODO: Persist application UI status (of the panes) */ 592 597 598 priv->last_mailbox_correct_select_set = FALSE; 593 599 priv->online_button = gtk_toggle_button_new (); 594 600 priv->current_accounts = NULL;
