project: Rename GcalSearchView to GcalSearchPopover

This was never a view, but a popover.
This commit is contained in:
Georges Basile Stavracas Neto
2018-01-27 23:02:36 -02:00
parent 1dcf0d1f24
commit c4ca9cac3c
10 changed files with 310 additions and 368 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
<file alias="multi-choice.ui" compressed="true">ui/multi-choice.ui</file>
<file alias="online-account-row.ui" compressed="true">ui/online-account-row.ui</file>
<file alias="quick-add-popover.ui" compressed="true">ui/quick-add-popover.ui</file>
<file alias="search-view.ui" compressed="true">ui/search-view.ui</file>
<file alias="search-popover.ui" compressed="true">ui/search-popover.ui</file>
<file alias="source-dialog.ui" compressed="true">ui/source-dialog.ui</file>
<file alias="time-selector.ui" compressed="true">ui/time-selector.ui</file>
<file alias="weather-settings.ui" compressed="true">ui/weather-settings.ui</file>
+1 -1
View File
@@ -60,7 +60,7 @@ resource_data = files(
'ui/month-view.ui',
'ui/multi-choice.ui',
'ui/quick-add-popover.ui',
'ui/search-view.ui',
'ui/search-popover.ui',
'ui/source-dialog.ui',
'ui/time-selector.ui',
'ui/weather-settings.ui',
@@ -2,7 +2,7 @@
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="GcalSearchView" parent="GtkPopover">
<template class="GcalSearchPopover" parent="GtkPopover">
<property name="width_request">600</property>
<property name="height_request">300</property>
<property name="can_focus">True</property>
@@ -30,7 +30,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="selection_mode">none</property>
<signal name="row-activated" handler="open_event" object="GcalSearchView" swapped="no"/>
<signal name="row-activated" handler="open_event" object="GcalSearchPopover" swapped="no"/>
</object>
</child>
<style>
+2 -2
View File
@@ -9,7 +9,7 @@
<property name="show_menubar">False</property>
<signal name="key-press-event" handler="key_pressed" object="GcalWindow" swapped="no"/>
<signal name="window-state-event" handler="window_state_changed" object="GcalWindow" swapped="no"/>
<property name="active-date" bind-source="search_view" bind-property="active-date" bind-flags="default|sync-create"/>
<property name="active-date" bind-source="search_popover" bind-property="active-date" bind-flags="default|sync-create"/>
<style>
<class name="org-gnome-Calendar"/>
</style>
@@ -300,7 +300,7 @@
</object>
</child>
</template>
<object class="GcalSearchView" id="search_view">
<object class="GcalSearchPopover" id="search_popover">
<property name="relative_to">search_entry</property>
<property name="position">bottom</property>
<signal name="event-activated" handler="search_event_selected" object="GcalWindow" swapped="no"/>