[gnome-todo/wip/gbsneto/plugins] list-selector-panel: show buttons when back is clicked
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/gbsneto/plugins] list-selector-panel: show buttons when back is clicked
- Date: Mon, 4 Jan 2016 05:09:21 +0000 (UTC)
commit ba898364e1412711f689f8efd5d231c7162e2ee1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jan 4 02:50:27 2016 -0200
list-selector-panel: show buttons when back is clicked
We were hiding then when displaying a tasklist, but not
showing them back when we quit the tasklist.
Fix that by properly showing the panel buttons.
src/views/gtd-list-selector-panel.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/views/gtd-list-selector-panel.c b/src/views/gtd-list-selector-panel.c
index 826713d..31f9d43 100644
--- a/src/views/gtd-list-selector-panel.c
+++ b/src/views/gtd-list-selector-panel.c
@@ -212,6 +212,9 @@ gtd_list_selector_panel_back_button_clicked (GtkButton *button,
{
// TODO: add a way to set custom title on GtdWindow's headerbar
gtk_stack_set_visible_child_name (GTK_STACK (panel), "lists");
+ gtk_widget_show (panel->search_button);
+ gtk_widget_show (panel->selection_button);
+ gtk_widget_show (panel->view_button);
gtk_widget_hide (panel->back_button);
gtk_widget_hide (panel->color_button);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]