Merge pull request #75 from cagatay-y/fix-title
Set window title from the correct place
This commit is contained in:
commit
7b3dbfe7e6
|
@ -62,6 +62,7 @@ public class Tootle.MainWindow: Gtk.Window {
|
||||||
|
|
||||||
header = new Gtk.HeaderBar ();
|
header = new Gtk.HeaderBar ();
|
||||||
header.show_close_button = true;
|
header.show_close_button = true;
|
||||||
|
header.title = "Tootle";
|
||||||
header.custom_title = button_mode;
|
header.custom_title = button_mode;
|
||||||
header.pack_start (button_back);
|
header.pack_start (button_back);
|
||||||
header.pack_start (button_toot);
|
header.pack_start (button_toot);
|
||||||
|
@ -92,7 +93,6 @@ public class Tootle.MainWindow: Gtk.Window {
|
||||||
public MainWindow (Gtk.Application application) {
|
public MainWindow (Gtk.Application application) {
|
||||||
Object (application: application,
|
Object (application: application,
|
||||||
icon_name: "com.github.bleakgrey.tootle",
|
icon_name: "com.github.bleakgrey.tootle",
|
||||||
title: "Tootle",
|
|
||||||
resizable: true
|
resizable: true
|
||||||
);
|
);
|
||||||
window_position = WindowPosition.CENTER;
|
window_position = WindowPosition.CENTER;
|
||||||
|
|
Loading…
Reference in New Issue