446 |
|
|
447 |
g_object_unref(context->store); |
g_object_unref(context->store); |
448 |
|
|
449 |
list_set_static_buttons(context->list, FALSE, |
list_set_static_buttons(context->list, LIST_BTN_BIG, |
450 |
G_CALLBACK(on_relation_item_add), |
G_CALLBACK(on_relation_item_add), G_CALLBACK(on_relation_item_edit), |
451 |
G_CALLBACK(on_relation_item_edit),G_CALLBACK(on_relation_item_remove), |
G_CALLBACK(on_relation_item_remove), context); |
|
context); |
|
452 |
|
|
453 |
relation_item_list_selected(context, FALSE); |
relation_item_list_selected(context, FALSE); |
454 |
|
|
920 |
|
|
921 |
g_object_unref(context->store); |
g_object_unref(context->store); |
922 |
|
|
923 |
list_set_static_buttons(context->list, TRUE, G_CALLBACK(on_relation_add), |
list_set_static_buttons(context->list, LIST_BTN_NEW, |
924 |
G_CALLBACK(on_relation_edit), G_CALLBACK(on_relation_remove), context); |
G_CALLBACK(on_relation_add), G_CALLBACK(on_relation_edit), |
925 |
|
G_CALLBACK(on_relation_remove), context); |
926 |
|
|
927 |
list_set_user_buttons(context->list, |
list_set_user_buttons(context->list, |
928 |
LIST_BUTTON_USER0, _("Members"), G_CALLBACK(on_relation_members), |
LIST_BUTTON_USER0, _("Members"), G_CALLBACK(on_relation_members), |