[the-board] [ui] Set app name in main
- From: Lucas Almeida Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Set app name in main
- Date: Sun, 14 Nov 2010 01:38:20 +0000 (UTC)
commit 8b8d939cb84f51ddb6142ebb97c48b5c250e392d
Author: Lucas Rocha <lucasr gnome org>
Date: Sun Nov 14 01:19:52 2010 +0000
[ui] Set app name in main
src/js/ui/main.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/main.js b/src/js/ui/main.js
index 7d783a5..22c92c9 100644
--- a/src/js/ui/main.js
+++ b/src/js/ui/main.js
@@ -3,6 +3,7 @@ const Gettext = imports.gettext;
// gi imports
const GIO = imports.gi.Gio;
+const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
const Mx = imports.gi.Mx;
@@ -15,6 +16,8 @@ const Path = imports.util.path;
let _mainWindow = null;
function onActivate(application) {
+ GLib.set_application_name("The Board");
+
let mxIcontheme = Mx.IconTheme.get_default();
mxIcontheme.set_search_paths([Path.ICONS_DIR]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]