[polari/wip/raresv/nick-popover: 19/27] userDetails: Rename UserListDetails to UserDetails.



commit 96a9a25f571a04e18a72a86f52b4794a34bf965a
Author: raresv <rares visalom gmail com>
Date:   Sat Aug 20 20:03:43 2016 +0300

    userDetails: Rename UserListDetails to UserDetails.
    
    In order to reuse the old UserListDetails class into both the
    UserList and the upcoming UserPopover, we need to first give it
    a new name that does not restrict the class to the UserList.
    Future patches will also refactor the new UserDetails class.

 data/org.gnome.Polari.data.gresource.xml           |    2 +-
 .../{user-list-details.ui => user-details.ui}      |    2 +-
 po/POTFILES.in                                     |    2 +-
 src/userList.js                                    |    6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/org.gnome.Polari.data.gresource.xml b/data/org.gnome.Polari.data.gresource.xml
index 542288e..65ee61b 100644
--- a/data/org.gnome.Polari.data.gresource.xml
+++ b/data/org.gnome.Polari.data.gresource.xml
@@ -12,6 +12,6 @@
     <file alias="ui/main-window.ui" preprocess="xml-stripblanks">resources/main-window.ui</file>
     <file alias="ui/room-list-header.ui" preprocess="xml-stripblanks">resources/room-list-header.ui</file>
     <file alias="ui/room-list-row.ui" preprocess="xml-stripblanks">resources/room-list-row.ui</file>
-    <file alias="ui/user-list-details.ui" preprocess="xml-stripblanks">resources/user-list-details.ui</file>
+    <file alias="ui/user-details.ui" preprocess="xml-stripblanks">resources/user-details.ui</file>
   </gresource>
 </gresources>
diff --git a/data/resources/user-list-details.ui b/data/resources/user-details.ui
similarity index 99%
rename from data/resources/user-list-details.ui
rename to data/resources/user-details.ui
index 524214e..a9349ec 100644
--- a/data/resources/user-list-details.ui
+++ b/data/resources/user-details.ui
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <template class="Gjs_UserListDetails" parent="GtkFrame">
+  <template class="Gjs_UserDetails" parent="GtkFrame">
     <property name="visible">True</property>
     <property name="hexpand">True</property>
     <property name="shadow-type">none</property>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c011eeb..617311a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -9,7 +9,7 @@ data/resources/join-room-dialog.ui
 data/resources/main-window.ui
 data/resources/menus.ui
 data/resources/room-list-header.ui
-data/resources/user-list-details.ui
+data/resources/user-details.ui
 src/application.js
 src/appNotifications.js
 src/chatView.js
diff --git a/src/userList.js b/src/userList.js
index 5ade5ca..233661f 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -99,10 +99,10 @@ const UserListPopover = new Lang.Class({
     }
 });
 
-const UserListDetails = new Lang.Class({
-    Name: 'UserListDetails',
+const UserDetails = new Lang.Class({
+    Name: 'UserDetails',
     Extends: Gtk.Frame,
-    Template: 'resource:///org/gnome/Polari/ui/user-list-details.ui',
+    Template: 'resource:///org/gnome/Polari/ui/user-details.ui',
     InternalChildren: ['spinnerBox',
                        'spinner',
                        'detailsGrid',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]