diff options
Diffstat (limited to 'src/tab-page.c')
-rw-r--r-- | src/tab-page.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c index 9e90022..c695e1b 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -290,6 +290,16 @@ mq_tab_page_get_title(MqTabPage *tab_page) } void +mq_tab_page_set_title(MqTabPage *tab_page, const gchar *title) +{ + tab_page->title = title; + mq_notebook_update_tab_title( + MQ_NOTEBOOK(gtk_widget_get_parent(GTK_WIDGET(tab_page))), + tab_page, + tab_page->title); +} + +void mq_tab_page_scroll_tab_labels(MqTabPage *node) { mq_tab_label_scroll(MQ_TAB_LABEL(node->label)); |