mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Format window title
Show in the following format: file_name (directory_path) - atom This seems to be the format consistently used by Linux editors and conveys the file name in the task bar when minimized. Also insert a `~` and drop the directory prefix when the file/folder being viewed is under the HOME directory
This commit is contained in:
@@ -72,7 +72,7 @@ int main(int argc, char *argv[]) {
|
||||
CefInitialize(settings, app);
|
||||
|
||||
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||||
gtk_window_set_title(GTK_WINDOW(window), "Atom");
|
||||
gtk_window_set_title(GTK_WINDOW(window), "atom");
|
||||
gtk_window_maximize(GTK_WINDOW(window));
|
||||
|
||||
g_signal_connect(window, "focus", G_CALLBACK(&HandleFocus), NULL);
|
||||
|
||||
Reference in New Issue
Block a user