[the-board] [ui] Change MainWindow to have standard window title bar
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Change MainWindow to have standard window title bar
- Date: Thu, 10 Mar 2011 05:32:18 +0000 (UTC)
commit e74f8d7a89b7701682adb2d796e472b78971976e
Author: Lucas Rocha <lucasr gnome org>
Date: Thu Mar 10 00:25:25 2011 -0500
[ui] Change MainWindow to have standard window title bar
Not adding the standard window decorations means that users cannot drag
window around, which is not a good idea.
src/js/ui/mainWindow.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index ec324da..525dee5 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -82,12 +82,10 @@ MainWindow.prototype = {
this._gtkWindow =
new Gtk.Window({ type: Gtk.WindowType.TOPLEVEL,
- typeHint: Gdk.WindowTypeHint.DIALOG,
- windowPosition: Gtk.WindowPosition.CENTER_ALWAYS,
+ typeHint: Gdk.WindowTypeHint.NORMAL,
title: "The Board",
focusOnMap: true,
hasResizeGrip: false,
- decorated: false,
deletable: false,
skipTaskbarHint: false,
skipPagerHint: false });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]