[polari] data: Update resource prefix
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] data: Update resource prefix
- Date: Thu, 10 Jul 2014 13:16:31 +0000 (UTC)
commit d2a93892287069ac89310588c2c16484e254f577
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jul 10 14:05:01 2014 +0200
data: Update resource prefix
GTK+ gained the ability to pick up some resources automatically when
they follow a particular naming schema.
The GApplication:resource-base-path property used for this by default
is based on the application ID, so capitalize "polari" in the resource
path to match that.
data/polari.gresource.xml | 2 +-
src/application.js | 4 ++--
src/connections.js | 4 ++--
src/joinDialog.js | 2 +-
src/mainWindow.js | 2 +-
src/messageDialog.js | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/polari.gresource.xml b/data/polari.gresource.xml
index 2e2e819..8b0c5b9 100644
--- a/data/polari.gresource.xml
+++ b/data/polari.gresource.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
- <gresource prefix="/org/gnome/polari">
+ <gresource prefix="/org/gnome/Polari">
<file alias="app-menu.ui" preprocess="xml-stripblanks">resources/app-menu.ui</file>
<file alias="connection-details-dialog.ui"
preprocess="xml-stripblanks">resources/connection-details-dialog.ui</file>
<file alias="connection-list-dialog.ui"
preprocess="xml-stripblanks">resources/connection-list-dialog.ui</file>
diff --git a/src/application.js b/src/application.js
index b34c3a8..1736dfa 100644
--- a/src/application.js
+++ b/src/application.js
@@ -73,7 +73,7 @@ const Application = new Lang.Class({
this.commandOutputQueue = new AppNotifications.CommandOutputQueue();
let builder = new Gtk.Builder();
- builder.add_from_resource('/org/gnome/polari/app-menu.ui');
+ builder.add_from_resource('/org/gnome/Polari/app-menu.ui');
this.set_app_menu(builder.get_object('app-menu'));
let actionEntries = [
@@ -164,7 +164,7 @@ const Application = new Lang.Class({
}));
let provider = new Gtk.CssProvider();
- let uri = 'resource:///org/gnome/polari/application.css';
+ let uri = 'resource:///org/gnome/Polari/application.css';
let file = Gio.File.new_for_uri(uri);
try {
provider.load_from_file(Gio.File.new_for_uri(uri));
diff --git a/src/connections.js b/src/connections.js
index 585de5d..94c30bf 100644
--- a/src/connections.js
+++ b/src/connections.js
@@ -34,7 +34,7 @@ const ConnectionsDialog = new Lang.Class({
let app = Gio.Application.get_default();
let builder = new Gtk.Builder();
- builder.add_from_resource('/org/gnome/polari/connection-list-dialog.ui');
+ builder.add_from_resource('/org/gnome/Polari/connection-list-dialog.ui');
this.widget = builder.get_object('connection_list_dialog');
this.widget.transient_for = app.get_active_window();
@@ -199,7 +199,7 @@ const ConnectionDetails = new Lang.Class({
_createWidget: function() {
let builder = new Gtk.Builder();
- builder.add_from_resource('/org/gnome/polari/connection-details-dialog.ui');
+ builder.add_from_resource('/org/gnome/Polari/connection-details-dialog.ui');
this.widget = builder.get_object('connection_details_content');
this.widget.unparent();
diff --git a/src/joinDialog.js b/src/joinDialog.js
index de9aa46..1a1265f 100644
--- a/src/joinDialog.js
+++ b/src/joinDialog.js
@@ -54,7 +54,7 @@ const JoinDialog = new Lang.Class({
_createWidget: function() {
let builder = new Gtk.Builder();
- builder.add_from_resource('/org/gnome/polari/join-room-dialog.ui');
+ builder.add_from_resource('/org/gnome/Polari/join-room-dialog.ui');
this.widget = builder.get_object('join_room_dialog');
diff --git a/src/mainWindow.js b/src/mainWindow.js
index aa57879..cb8a73a 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -243,7 +243,7 @@ const MainWindow = new Lang.Class({
_createWidget: function(app) {
let builder = new Gtk.Builder();
- builder.add_from_resource('/org/gnome/polari/main-window.ui');
+ builder.add_from_resource('/org/gnome/Polari/main-window.ui');
this.window = builder.get_object('main_window');
this.window.application = app;
diff --git a/src/messageDialog.js b/src/messageDialog.js
index bd130bd..117679a 100644
--- a/src/messageDialog.js
+++ b/src/messageDialog.js
@@ -38,7 +38,7 @@ const MessageDialog = new Lang.Class({
_createWidget: function() {
let builder = new Gtk.Builder();
- builder.add_from_resource('/org/gnome/polari/message-user-dialog.ui');
+ builder.add_from_resource('/org/gnome/Polari/message-user-dialog.ui');
this.widget = builder.get_object('message_user_dialog');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]