mirror of
https://gitlab.cvh-server.de/skrause/flashcards.git
synced 2025-12-12 06:41:38 +01:00
fix subtitle
This commit is contained in:
@@ -79,7 +79,6 @@ template $FlashcardsAppWindow : Adw.ApplicationWindow {
|
|||||||
[title]
|
[title]
|
||||||
Adw.WindowTitle title {
|
Adw.WindowTitle title {
|
||||||
title: _("Flashcards");
|
title: _("Flashcards");
|
||||||
subtitle: "Test";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -134,8 +134,9 @@ on_delete_category (__attribute__ ((unused)) GtkButton *self,
|
|||||||
database_delete_category (win->db, win->current_category.id);
|
database_delete_category (win->db, win->current_category.id);
|
||||||
|
|
||||||
gtk_list_box_unselect_all (win->topics);
|
gtk_list_box_unselect_all (win->topics);
|
||||||
adw_view_stack_set_visible_child (win->main_view, win->placeholder_category);
|
|
||||||
|
|
||||||
|
adw_window_title_set_subtitle (ADW_WINDOW_TITLE (win->title), nullptr);
|
||||||
|
adw_view_stack_set_visible_child (win->main_view, win->placeholder_category);
|
||||||
gtk_widget_set_visible (GTK_WIDGET (win->add_card_button), FALSE);
|
gtk_widget_set_visible (GTK_WIDGET (win->add_card_button), FALSE);
|
||||||
gtk_widget_set_visible (GTK_WIDGET (win->delete_card_button), FALSE);
|
gtk_widget_set_visible (GTK_WIDGET (win->delete_card_button), FALSE);
|
||||||
gtk_widget_set_visible (GTK_WIDGET (win->delete_category_button), FALSE);
|
gtk_widget_set_visible (GTK_WIDGET (win->delete_category_button), FALSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user