[sushi] mainwindow: use helper method to set title
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] mainwindow: use helper method to set title
- Date: Sat, 2 Jul 2011 05:07:00 +0000 (UTC)
commit a0e9721d48582ad09e6b1eb50c98a7d33cb4e9f0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Jul 2 00:35:45 2011 -0400
mainwindow: use helper method to set title
src/js/ui/mainWindow.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 774cd3c..aeda07a 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -264,7 +264,7 @@ MainWindow.prototype = {
function(obj, res) {
try {
this._fileInfo = obj.query_info_finish(res);
- this._titleLabel.set_text(this._fileInfo.get_display_name());
+ this.setTitle(this._fileInfo.get_display_name());
/* now prepare the real renderer */
this._pendingRenderer = this._mimeHandler.getObject(this._fileInfo.get_content_type());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]