Rename folders/files conversation_summary -> conversation_content_view

This commit is contained in:
fiaxh 2020-02-21 02:49:53 +01:00
parent 01698959fe
commit 4ed6204fc2
14 changed files with 15 additions and 15 deletions

View file

@ -48,9 +48,9 @@ set(RESOURCE_LIST
global_search.ui global_search.ui
conversation_selector/chat_row_tooltip.ui conversation_selector/chat_row_tooltip.ui
conversation_selector/conversation_row.ui conversation_selector/conversation_row.ui
conversation_summary/image_toolbar.ui conversation_content_view/image_toolbar.ui
conversation_summary/item_metadata_header.ui conversation_content_view/item_metadata_header.ui
conversation_summary/view.ui conversation_content_view/view.ui
manage_accounts/account_row.ui manage_accounts/account_row.ui
manage_accounts/add_account_dialog.ui manage_accounts/add_account_dialog.ui
manage_accounts/dialog.ui manage_accounts/dialog.ui
@ -95,7 +95,6 @@ SOURCES
src/ui/application.vala src/ui/application.vala
src/ui/avatar_drawer.vala src/ui/avatar_drawer.vala
src/ui/avatar_image.vala src/ui/avatar_image.vala
src/ui/chat_input_controller.vala
src/ui/conversation_list_titlebar.vala src/ui/conversation_list_titlebar.vala
src/ui/conversation_view.vala src/ui/conversation_view.vala
src/ui/conversation_view_controller.vala src/ui/conversation_view_controller.vala
@ -115,6 +114,7 @@ SOURCES
src/ui/add_conversation/select_contact_dialog.vala src/ui/add_conversation/select_contact_dialog.vala
src/ui/add_conversation/select_jid_fragment.vala src/ui/add_conversation/select_jid_fragment.vala
src/ui/chat_input/chat_input_controller.vala
src/ui/chat_input/edit_history.vala src/ui/chat_input/edit_history.vala
src/ui/chat_input/encryption_button.vala src/ui/chat_input/encryption_button.vala
src/ui/chat_input/occupants_tab_completer.vala src/ui/chat_input/occupants_tab_completer.vala
@ -129,14 +129,14 @@ SOURCES
src/ui/conversation_selector/conversation_selector_row.vala src/ui/conversation_selector/conversation_selector_row.vala
src/ui/conversation_selector/conversation_selector.vala src/ui/conversation_selector/conversation_selector.vala
src/ui/conversation_summary/chat_state_populator.vala src/ui/conversation_content_view/chat_state_populator.vala
src/ui/conversation_summary/content_item_widget_factory.vala src/ui/conversation_content_view/content_item_widget_factory.vala
src/ui/conversation_summary/content_populator.vala src/ui/conversation_content_view/content_populator.vala
src/ui/conversation_summary/conversation_item_skeleton.vala src/ui/conversation_content_view/conversation_item_skeleton.vala
src/ui/conversation_summary/conversation_view.vala src/ui/conversation_content_view/conversation_view.vala
src/ui/conversation_summary/date_separator_populator.vala src/ui/conversation_content_view/date_separator_populator.vala
src/ui/conversation_summary/file_widget.vala src/ui/conversation_content_view/file_widget.vala
src/ui/conversation_summary/subscription_notification.vala src/ui/conversation_content_view/subscription_notification.vala
src/ui/conversation_titlebar/menu_entry.vala src/ui/conversation_titlebar/menu_entry.vala
src/ui/conversation_titlebar/occupants_entry.vala src/ui/conversation_titlebar/occupants_entry.vala

View file

@ -94,7 +94,7 @@ public class ConversationItemSkeleton : EventBox {
} }
} }
[GtkTemplate (ui = "/im/dino/Dino/conversation_summary/item_metadata_header.ui")] [GtkTemplate (ui = "/im/dino/Dino/conversation_content_view/item_metadata_header.ui")]
public class ItemMetaDataHeader : Box { public class ItemMetaDataHeader : Box {
[GtkChild] public Label name_label; [GtkChild] public Label name_label;
[GtkChild] public Label dot_label; [GtkChild] public Label dot_label;

View file

@ -6,7 +6,7 @@ using Dino.Entities;
namespace Dino.Ui.ConversationSummary { namespace Dino.Ui.ConversationSummary {
[GtkTemplate (ui = "/im/dino/Dino/conversation_summary/view.ui")] [GtkTemplate (ui = "/im/dino/Dino/conversation_content_view/view.ui")]
public class ConversationView : Box, Plugins.ConversationItemCollection, Plugins.NotificationCollection { public class ConversationView : Box, Plugins.ConversationItemCollection, Plugins.NotificationCollection {
public Conversation? conversation { get; private set; } public Conversation? conversation { get; private set; }

View file

@ -90,7 +90,7 @@ public class FileWidget : Box {
Util.force_css(image, "* { box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.1); margin: 2px; border-radius: 3px; }"); Util.force_css(image, "* { box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.1); margin: 2px; border-radius: 3px; }");
Builder builder = new Builder.from_resource("/im/dino/Dino/conversation_summary/image_toolbar.ui"); Builder builder = new Builder.from_resource("/im/dino/Dino/conversation_content_view/image_toolbar.ui");
Widget toolbar = builder.get_object("main") as Widget; Widget toolbar = builder.get_object("main") as Widget;
Util.force_background(toolbar, "rgba(0, 0, 0, 0.5)"); Util.force_background(toolbar, "rgba(0, 0, 0, 0.5)");
Util.force_css(toolbar, "* { padding: 3px; border-radius: 3px; }"); Util.force_css(toolbar, "* { padding: 3px; border-radius: 3px; }");