window title

This commit is contained in:
2025-11-27 22:50:12 +01:00
parent b91d093b1f
commit 4c6f260bb9
2 changed files with 2 additions and 1 deletions

View File

@@ -1372,6 +1372,7 @@ void YellowNote::deleteMe()
void YellowNote::updateTitle() void YellowNote::updateTitle()
{ {
gtk_label_set_label(_title_label, _title.c_str()); gtk_label_set_label(_title_label, _title.c_str());
gtk_window_set_title(_note_widget, _title.c_str());
} }
void YellowNote::updateTitleOnly() void YellowNote::updateTitleOnly()

View File

@@ -14,7 +14,7 @@ class SettingContainer;
#define YELLOWNOTE_MAJOR "1" #define YELLOWNOTE_MAJOR "1"
#define YELLOWNOTE_MINOR "0" #define YELLOWNOTE_MINOR "0"
#define YELLOWNOTE_PATCH "0" #define YELLOWNOTE_PATCH "1"
#define YELLOWNOTE_VERSION YELLOWNOTE_MAJOR "." YELLOWNOTE_MINOR "." YELLOWNOTE_PATCH #define YELLOWNOTE_VERSION YELLOWNOTE_MAJOR "." YELLOWNOTE_MINOR "." YELLOWNOTE_PATCH
#define YELLOWNOTE_FILE_VERSION 3 #define YELLOWNOTE_FILE_VERSION 3