sidebar: change Room to SidebarRoom

This commit is contained in:
Julian Sparber 2021-04-20 00:32:11 +02:00
parent 4f9e1726a6
commit cb4bc60849
2 changed files with 5 additions and 5 deletions

View file

@ -4,22 +4,22 @@
<property name="child">
<object class="SidebarRoomRow">
<binding name="avatar">
<lookup type="Room" name="avatar">
<lookup type="SidebarRoom" name="avatar">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<binding name="display-name">
<lookup type="Room" name="display-name">
<lookup type="SidebarRoom" name="display-name">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<binding name="notification-count">
<lookup type="Room" name="notification-count">
<lookup type="SidebarRoom" name="notification-count">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
<binding name="highlight">
<lookup type="Room" name="highlight">
<lookup type="SidebarRoom" name="highlight">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>

View file

@ -36,7 +36,7 @@ mod imp {
#[glib::object_subclass]
impl ObjectSubclass for Room {
const NAME: &'static str = "Room";
const NAME: &'static str = "SidebarRoom";
type Type = super::Room;
type ParentType = glib::Object;