event-editor: Remove dead code
Looks like the gcal-time-chooser-row.blp was resurrected from a forgotten .ui file with "blueprint-compiler port". The .ui and .h were not removed with !516 Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/775>
This commit is contained in:
@@ -39,7 +39,6 @@ src/gui/event-editor/gcal-schedule-section.blp
|
|||||||
src/gui/event-editor/gcal-schedule-section.c
|
src/gui/event-editor/gcal-schedule-section.c
|
||||||
src/gui/event-editor/gcal-summary-section.blp
|
src/gui/event-editor/gcal-summary-section.blp
|
||||||
src/gui/event-editor/gcal-summary-section.c
|
src/gui/event-editor/gcal-summary-section.c
|
||||||
src/gui/event-editor/gcal-time-chooser-row.blp
|
|
||||||
src/gui/event-editor/gcal-time-zone-dialog.blp
|
src/gui/event-editor/gcal-time-zone-dialog.blp
|
||||||
src/gui/event-editor/gcal-time-zone-dialog.c
|
src/gui/event-editor/gcal-time-zone-dialog.c
|
||||||
src/gui/gcal-application.c
|
src/gui/gcal-application.c
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
using Gtk 4.0;
|
|
||||||
using Adw 1;
|
|
||||||
|
|
||||||
template $GcalTimeChooserRow: Adw.EntryRow {
|
|
||||||
EventControllerFocus {
|
|
||||||
notify::contains-focus => $on_contains_focus_changed_cb(template) not-swapped;
|
|
||||||
}
|
|
||||||
|
|
||||||
MenuButton {
|
|
||||||
icon-name: "clock-alt-symbolic";
|
|
||||||
valign: center;
|
|
||||||
tooltip-text: _("Edit Time");
|
|
||||||
|
|
||||||
popover: Popover {
|
|
||||||
position: bottom;
|
|
||||||
margin-top: 12;
|
|
||||||
margin-bottom: 12;
|
|
||||||
margin-start: 12;
|
|
||||||
margin-end: 12;
|
|
||||||
|
|
||||||
$GcalTimeSelector time_selector {
|
|
||||||
notify::time => $on_time_selected_changed_cb(template) not-swapped;
|
|
||||||
}
|
|
||||||
|
|
||||||
show => $on_time_popover_shown_cb(template) not-swapped;
|
|
||||||
};
|
|
||||||
|
|
||||||
accessibility {
|
|
||||||
label: _("Edit time");
|
|
||||||
}
|
|
||||||
|
|
||||||
styles [
|
|
||||||
"flat",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
/* gcal-time-chooser-row.h
|
|
||||||
*
|
|
||||||
* Copyright (C) 2024 Titouan Real <titouan.real@gmail.com>
|
|
||||||
*
|
|
||||||
* gnome-calendar is free software: you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License as published by the
|
|
||||||
* Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* gnome-calendar is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
* See the GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License along
|
|
||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "gcal-enums.h"
|
|
||||||
|
|
||||||
#include <adwaita.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GCAL_TYPE_TIME_CHOOSER_ROW (gcal_time_chooser_row_get_type ())
|
|
||||||
|
|
||||||
G_DECLARE_FINAL_TYPE (GcalTimeChooserRow, gcal_time_chooser_row, GCAL, TIME_CHOOSER_ROW, AdwEntryRow)
|
|
||||||
|
|
||||||
GcalTimeFormat gcal_time_chooser_row_get_time_format (GcalTimeChooserRow *self);
|
|
||||||
void gcal_time_chooser_row_set_time_format (GcalTimeChooserRow *self,
|
|
||||||
GcalTimeFormat time_format);
|
|
||||||
|
|
||||||
GDateTime* gcal_time_chooser_row_get_time (GcalTimeChooserRow *self);
|
|
||||||
void gcal_time_chooser_row_set_time (GcalTimeChooserRow *self,
|
|
||||||
GDateTime *date);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
@@ -13,7 +13,6 @@ blueprints = custom_target(
|
|||||||
'gcal-reminders-section.blp',
|
'gcal-reminders-section.blp',
|
||||||
'gcal-schedule-section.blp',
|
'gcal-schedule-section.blp',
|
||||||
'gcal-summary-section.blp',
|
'gcal-summary-section.blp',
|
||||||
'gcal-time-chooser-row.blp',
|
|
||||||
'gcal-time-zone-dialog-row.blp',
|
'gcal-time-zone-dialog-row.blp',
|
||||||
'gcal-time-zone-dialog.blp',
|
'gcal-time-zone-dialog.blp',
|
||||||
'gcal-attendees-section.blp',
|
'gcal-attendees-section.blp',
|
||||||
|
|||||||
Reference in New Issue
Block a user