-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement dialog to add tags to messages
Signed-off-by: Jacki <[email protected]>
- Loading branch information
1 parent
a37289b
commit 673f848
Showing
14 changed files
with
816 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.40.0 | ||
Copyright (C) 2024 GNUnet e.V. | ||
GNUnet is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU Affero General Public License as published | ||
by the Free Software Foundation, either version 3 of the License, | ||
or (at your option) any later version. | ||
GNUnet 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 | ||
Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
SPDX-License-Identifier: AGPL3.0-or-later | ||
Author: Tobias Frisch | ||
--> | ||
<interface> | ||
<requires lib="gtk+" version="3.24"/> | ||
<requires lib="libhandy" version="1.2"/> | ||
<object class="GtkDialog" id="new_tag_dialog"> | ||
<property name="can-focus">False</property> | ||
<property name="modal">True</property> | ||
<property name="window-position">center-on-parent</property> | ||
<property name="type-hint">dialog</property> | ||
<child internal-child="vbox"> | ||
<object class="GtkBox"> | ||
<property name="can-focus">False</property> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">2</property> | ||
<child internal-child="action_area"> | ||
<object class="GtkButtonBox"> | ||
<property name="can-focus">False</property> | ||
<property name="layout-style">end</property> | ||
<child> | ||
<object class="GtkButton" id="cancel_button"> | ||
<property name="label" translatable="yes">Cancel</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="receives-default">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="confirm_button"> | ||
<property name="label" translatable="yes">Confirm</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="receives-default">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">False</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="halign">center</property> | ||
<property name="valign">center</property> | ||
<property name="border-width">8</property> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">4</property> | ||
<child> | ||
<object class="HdyAvatar" id="tag_avatar"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="halign">center</property> | ||
<property name="margin-top">8</property> | ||
<property name="margin-bottom">8</property> | ||
<property name="icon-name">user-bookmarks-symbolic</property> | ||
<property name="size">128</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes">Tag:</property> | ||
<property name="xalign">0</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkEntry" id="tag_entry"> | ||
<property name="width-request">250</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.40.0 | ||
Copyright (C) 2024 GNUnet e.V. | ||
GNUnet is free software: you can redistribute it and/or modify it | ||
under the terms of the GNU Affero General Public License as published | ||
by the Free Software Foundation, either version 3 of the License, | ||
or (at your option) any later version. | ||
GNUnet 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 | ||
Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
SPDX-License-Identifier: AGPL3.0-or-later | ||
Author: Tobias Frisch | ||
--> | ||
<interface> | ||
<requires lib="gtk+" version="3.24"/> | ||
<object class="GtkLabel" id="tag_label"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="ellipsize">end</property> | ||
<property name="single-line-mode">True</property> | ||
<style> | ||
<class name="tag-label"/> | ||
</style> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.