From cb7a17963ca491562e83005ec19018e9b94dd134 Mon Sep 17 00:00:00 2001 From: Bleak Grey Date: Fri, 23 Jul 2021 14:41:03 +0300 Subject: [PATCH] Port to GTK4 (#310) --- .buildconfig | 0 .github/FUNDING.yml | 0 .github/ISSUE_TEMPLATE/bug-report.md | 0 .github/workflows/build.yml | 0 .gitignore | 0 LICENSE | 0 README.md | 7 +- com.github.bleakgrey.tootle.json | 105 +- data/app.css | 105 +- ...com.github.bleakgrey.tootle.appdata.xml.in | 0 data/com.github.bleakgrey.tootle.desktop.in | 0 data/com.github.bleakgrey.tootle.gschema.xml | 10 - data/gresource.xml | 19 +- data/gtk/dropdown/full.ui | 63 + data/gtk/dropdown/icon.ui | 45 + data/gtk/help-overlay.ui | 56 + data/icons/color-nightly.svg | 0 data/icons/color.svg | 0 data/icons/scalable/actions/bell-symbolic.svg | 157 ++ .../icons/scalable/actions/globe-symbolic.svg | 403 +++++ .../scalable/actions/hashtag-symbolic.svg | 1509 +++++++++++++++++ .../scalable/actions/mention-symbolic.svg | 62 + data/icons/symbolic.svg | 0 data/meson.build | 0 data/screenshot1.png | Bin data/screenshot2.png | Bin data/screenshot3.png | Bin data/screenshot4.png | Bin data/ui/dialogs/compose.ui | 413 +---- data/ui/dialogs/list_editor.ui | 170 +- data/ui/dialogs/main.ui | 33 +- data/ui/dialogs/new_account.ui | 386 ++--- data/ui/dialogs/preferences.ui | 100 +- data/ui/menus.ui | 113 +- data/ui/views/base.ui | 255 +-- data/ui/views/new_account.ui | 2 +- data/ui/views/profile_header.ui | 232 ++- data/ui/views/sidebar/account.ui | 26 + data/ui/views/sidebar/item.ui | 39 + data/ui/views/sidebar/view.ui | 130 ++ data/ui/widgets/accounts_button.ui | 484 ------ data/ui/widgets/accounts_button_item.ui | 0 data/ui/widgets/adaptive_button.ui | 59 - data/ui/widgets/attachment_slot.ui | 112 -- data/ui/widgets/compose_attachment.ui | 0 data/ui/widgets/list_editor_item.ui | 52 +- data/ui/widgets/list_item.ui | 174 +- data/ui/widgets/profile_field_row.ui | 0 data/ui/widgets/status.ui | 448 ++--- data/ui/widgets/timeline_footer.ui | 0 data/ui/widgets/timeline_menu.ui | 0 install.sh | 2 +- meson.build | 91 +- po/LINGUAS | 0 po/POTFILES | 0 po/com.github.bleakgrey.tootle.pot | 0 po/de_DE.po | 0 po/es.po | 0 po/meson.build | 0 po/nb-NO.po | 0 po/ru_RU.po | 0 src/.editorconfig | 5 + src/API/Account.vala | 2 +- src/API/AccountField.vala | 0 src/API/Attachment.vala | 36 +- src/API/Conversation.vala | 2 +- src/API/Entity.vala | 9 +- src/API/List.vala | 0 src/API/Mention.vala | 0 src/API/Notification.vala | 55 +- src/API/NotificationType.vala | 86 - src/API/Relationship.vala | 0 src/API/SearchResults.vala | 0 src/API/Status.vala | 27 +- src/API/Tag.vala | 2 - src/API/Visibility.vala | 76 - src/Application.vala | 105 +- src/Build.vala.in | 28 +- src/Dialogs/About.vala | 35 - src/Dialogs/Compose.vala | 314 ---- src/Dialogs/Composer/AttachmentsPage.vala | 10 + src/Dialogs/Composer/Dialog.vala | 128 ++ src/Dialogs/Composer/EditorPage.vala | 150 ++ src/Dialogs/Composer/Page.vala | 54 + src/Dialogs/Composer/PollPage.vala | 11 + src/Dialogs/ISavedWindow.vala | 38 - src/Dialogs/ListEditor.vala | 62 +- src/Dialogs/MainWindow.vala | 74 +- src/Dialogs/NewAccount.vala | 85 +- src/Dialogs/Preferences.vala | 45 +- src/Dialogs/Saveable.vala | 10 + src/Drawing.vala | 16 - src/Services/Accounts/AccountHolder.vala | 22 + src/Services/Accounts/AccountStore.vala | 8 +- src/Services/Accounts/FileAccountStore.vala | 66 - src/Services/Accounts/IAccountHolder.vala | 18 - src/Services/Accounts/InstanceAccount.vala | 180 +- src/Services/Accounts/Mastodon/Account.vala | 149 ++ .../Accounts/Mastodon/MastodonAccount.vala | 22 - src/Services/Accounts/SecretAccountStore.vala | 5 +- src/Services/Cache.vala | 154 -- src/Services/Cache/AbstractCache.vala | 82 + src/Services/Cache/EntityCache.vala | 38 + src/Services/Cache/ImageCache.vala | 79 + src/Services/IStreamListener.vala | 7 - src/Services/{ => Network}/Network.vala | 9 +- src/{ => Services/Network}/Request.vala | 17 +- src/Services/Network/Streamable.vala | 70 + src/Services/Network/Streams.vala | 147 ++ src/Services/Settings.vala | 12 - src/Services/Streams.vala | 184 -- src/Services/Streams/IStreamListener.vala | 7 - src/Services/Streams/Streams.vala | 184 -- src/{ => Utils}/DateTime.vala | 0 src/{Desktop.vala => Utils/Host.vala} | 36 +- src/{ => Utils}/Html.vala | 0 src/Views/Base.vala | 120 +- src/Views/Bookmarks.vala | 0 src/Views/ContentBase.vala | 69 + src/Views/Conversations.vala | 2 +- src/Views/Favorites.vala | 0 src/Views/Federated.vala | 22 +- src/Views/Hashtag.vala | 0 src/Views/Home.vala | 2 +- src/Views/List.vala | 3 +- src/Views/Lists.vala | 9 +- src/Views/Local.vala | 2 +- src/Views/Main.vala | 36 +- src/Views/Notifications.vala | 98 +- src/Views/Profile.vala | 235 +-- src/Views/Search.vala | 63 +- src/Views/Sidebar.vala | 216 +++ src/Views/TabbedBase.vala | 79 +- src/Views/Thread.vala | 62 +- src/Views/Timeline.vala | 89 +- src/Widgets/AccountsButton.vala | 182 -- src/Widgets/AdaptiveButton.vala | 33 - src/Widgets/Attachment/Box.vala | 79 +- src/Widgets/Attachment/Image.vala | 27 + src/Widgets/Attachment/Item.vala | 56 + src/Widgets/Attachment/Picture.vala | 91 - src/Widgets/Attachment/Slot.vala | 61 - src/Widgets/Avatar.vala | 75 +- src/Widgets/Background.vala | 83 + src/Widgets/Conversation.vala | 6 +- src/Widgets/LockableToggleButton.vala | 38 + src/Widgets/MarkupPolicy.vala | 27 - src/Widgets/MarkupView.vala | 28 +- src/Widgets/Notification.vala | 17 +- src/Widgets/RichLabel.vala | 66 +- src/Widgets/Status.vala | 516 +++--- src/Widgets/StatusActionButton.vala | 88 + src/Widgets/TimelineMenu.vala | 16 - src/Widgets/VisibilityPopover.vala | 56 - src/Widgets/Widgetizable.vala | 0 subprojects/libadwaita.wrap | 5 + subprojects/libgtk.wrap | 5 + subprojects/libhandy.wrap | 5 - subprojects/libsass.wrap | 5 + subprojects/pango.wrap | 6 + subprojects/sassc.wrap | 5 + 161 files changed, 6159 insertions(+), 5347 deletions(-) mode change 100644 => 100755 .buildconfig mode change 100644 => 100755 .github/FUNDING.yml mode change 100644 => 100755 .github/ISSUE_TEMPLATE/bug-report.md mode change 100644 => 100755 .github/workflows/build.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 com.github.bleakgrey.tootle.json mode change 100644 => 100755 data/app.css mode change 100644 => 100755 data/com.github.bleakgrey.tootle.appdata.xml.in mode change 100644 => 100755 data/com.github.bleakgrey.tootle.desktop.in mode change 100644 => 100755 data/com.github.bleakgrey.tootle.gschema.xml mode change 100644 => 100755 data/gresource.xml create mode 100644 data/gtk/dropdown/full.ui create mode 100644 data/gtk/dropdown/icon.ui create mode 100644 data/gtk/help-overlay.ui mode change 100644 => 100755 data/icons/color-nightly.svg mode change 100644 => 100755 data/icons/color.svg create mode 100644 data/icons/scalable/actions/bell-symbolic.svg create mode 100755 data/icons/scalable/actions/globe-symbolic.svg create mode 100755 data/icons/scalable/actions/hashtag-symbolic.svg create mode 100755 data/icons/scalable/actions/mention-symbolic.svg mode change 100644 => 100755 data/icons/symbolic.svg mode change 100644 => 100755 data/meson.build mode change 100644 => 100755 data/screenshot1.png mode change 100644 => 100755 data/screenshot2.png mode change 100644 => 100755 data/screenshot3.png mode change 100644 => 100755 data/screenshot4.png mode change 100644 => 100755 data/ui/dialogs/main.ui mode change 100644 => 100755 data/ui/dialogs/new_account.ui mode change 100644 => 100755 data/ui/dialogs/preferences.ui mode change 100644 => 100755 data/ui/menus.ui mode change 100644 => 100755 data/ui/views/base.ui mode change 100644 => 100755 data/ui/views/new_account.ui mode change 100644 => 100755 data/ui/views/profile_header.ui create mode 100755 data/ui/views/sidebar/account.ui create mode 100755 data/ui/views/sidebar/item.ui create mode 100755 data/ui/views/sidebar/view.ui delete mode 100644 data/ui/widgets/accounts_button.ui mode change 100644 => 100755 data/ui/widgets/accounts_button_item.ui delete mode 100644 data/ui/widgets/adaptive_button.ui delete mode 100644 data/ui/widgets/attachment_slot.ui mode change 100644 => 100755 data/ui/widgets/compose_attachment.ui mode change 100644 => 100755 data/ui/widgets/profile_field_row.ui mode change 100644 => 100755 data/ui/widgets/status.ui mode change 100644 => 100755 data/ui/widgets/timeline_footer.ui mode change 100644 => 100755 data/ui/widgets/timeline_menu.ui mode change 100644 => 100755 meson.build mode change 100644 => 100755 po/LINGUAS mode change 100644 => 100755 po/POTFILES mode change 100644 => 100755 po/com.github.bleakgrey.tootle.pot mode change 100644 => 100755 po/de_DE.po mode change 100644 => 100755 po/es.po mode change 100644 => 100755 po/meson.build mode change 100644 => 100755 po/nb-NO.po mode change 100644 => 100755 po/ru_RU.po mode change 100644 => 100755 src/.editorconfig mode change 100644 => 100755 src/API/Account.vala mode change 100644 => 100755 src/API/AccountField.vala mode change 100644 => 100755 src/API/Attachment.vala mode change 100644 => 100755 src/API/Conversation.vala mode change 100644 => 100755 src/API/Entity.vala mode change 100644 => 100755 src/API/List.vala mode change 100644 => 100755 src/API/Mention.vala mode change 100644 => 100755 src/API/Notification.vala delete mode 100644 src/API/NotificationType.vala mode change 100644 => 100755 src/API/Relationship.vala mode change 100644 => 100755 src/API/SearchResults.vala mode change 100644 => 100755 src/API/Status.vala mode change 100644 => 100755 src/API/Tag.vala delete mode 100644 src/API/Visibility.vala mode change 100644 => 100755 src/Application.vala mode change 100644 => 100755 src/Build.vala.in delete mode 100644 src/Dialogs/About.vala delete mode 100644 src/Dialogs/Compose.vala create mode 100644 src/Dialogs/Composer/AttachmentsPage.vala create mode 100755 src/Dialogs/Composer/Dialog.vala create mode 100644 src/Dialogs/Composer/EditorPage.vala create mode 100644 src/Dialogs/Composer/Page.vala create mode 100644 src/Dialogs/Composer/PollPage.vala delete mode 100644 src/Dialogs/ISavedWindow.vala mode change 100644 => 100755 src/Dialogs/ListEditor.vala mode change 100644 => 100755 src/Dialogs/MainWindow.vala mode change 100644 => 100755 src/Dialogs/NewAccount.vala mode change 100644 => 100755 src/Dialogs/Preferences.vala create mode 100755 src/Dialogs/Saveable.vala delete mode 100644 src/Drawing.vala create mode 100755 src/Services/Accounts/AccountHolder.vala mode change 100644 => 100755 src/Services/Accounts/AccountStore.vala delete mode 100644 src/Services/Accounts/FileAccountStore.vala delete mode 100644 src/Services/Accounts/IAccountHolder.vala mode change 100644 => 100755 src/Services/Accounts/InstanceAccount.vala create mode 100755 src/Services/Accounts/Mastodon/Account.vala delete mode 100644 src/Services/Accounts/Mastodon/MastodonAccount.vala mode change 100644 => 100755 src/Services/Accounts/SecretAccountStore.vala delete mode 100644 src/Services/Cache.vala create mode 100755 src/Services/Cache/AbstractCache.vala create mode 100755 src/Services/Cache/EntityCache.vala create mode 100755 src/Services/Cache/ImageCache.vala delete mode 100644 src/Services/IStreamListener.vala rename src/Services/{ => Network}/Network.vala (93%) mode change 100644 => 100755 rename src/{ => Services/Network}/Request.vala (91%) mode change 100644 => 100755 create mode 100755 src/Services/Network/Streamable.vala create mode 100755 src/Services/Network/Streams.vala mode change 100644 => 100755 src/Services/Settings.vala delete mode 100644 src/Services/Streams.vala delete mode 100644 src/Services/Streams/IStreamListener.vala delete mode 100644 src/Services/Streams/Streams.vala rename src/{ => Utils}/DateTime.vala (100%) mode change 100644 => 100755 rename src/{Desktop.vala => Utils/Host.vala} (60%) mode change 100644 => 100755 rename src/{ => Utils}/Html.vala (100%) mode change 100644 => 100755 mode change 100644 => 100755 src/Views/Base.vala mode change 100644 => 100755 src/Views/Bookmarks.vala create mode 100755 src/Views/ContentBase.vala mode change 100644 => 100755 src/Views/Conversations.vala mode change 100644 => 100755 src/Views/Favorites.vala mode change 100644 => 100755 src/Views/Federated.vala mode change 100644 => 100755 src/Views/Hashtag.vala mode change 100644 => 100755 src/Views/Home.vala mode change 100644 => 100755 src/Views/List.vala mode change 100644 => 100755 src/Views/Lists.vala mode change 100644 => 100755 src/Views/Local.vala mode change 100644 => 100755 src/Views/Main.vala mode change 100644 => 100755 src/Views/Notifications.vala mode change 100644 => 100755 src/Views/Profile.vala mode change 100644 => 100755 src/Views/Search.vala create mode 100755 src/Views/Sidebar.vala mode change 100644 => 100755 src/Views/TabbedBase.vala mode change 100644 => 100755 src/Views/Thread.vala mode change 100644 => 100755 src/Views/Timeline.vala delete mode 100644 src/Widgets/AccountsButton.vala delete mode 100644 src/Widgets/AdaptiveButton.vala mode change 100644 => 100755 src/Widgets/Attachment/Box.vala create mode 100644 src/Widgets/Attachment/Image.vala create mode 100644 src/Widgets/Attachment/Item.vala delete mode 100644 src/Widgets/Attachment/Picture.vala delete mode 100644 src/Widgets/Attachment/Slot.vala mode change 100644 => 100755 src/Widgets/Avatar.vala create mode 100644 src/Widgets/Background.vala mode change 100644 => 100755 src/Widgets/Conversation.vala create mode 100644 src/Widgets/LockableToggleButton.vala delete mode 100644 src/Widgets/MarkupPolicy.vala mode change 100644 => 100755 src/Widgets/MarkupView.vala mode change 100644 => 100755 src/Widgets/Notification.vala mode change 100644 => 100755 src/Widgets/RichLabel.vala mode change 100644 => 100755 src/Widgets/Status.vala create mode 100644 src/Widgets/StatusActionButton.vala delete mode 100644 src/Widgets/TimelineMenu.vala delete mode 100644 src/Widgets/VisibilityPopover.vala mode change 100644 => 100755 src/Widgets/Widgetizable.vala create mode 100755 subprojects/libadwaita.wrap create mode 100755 subprojects/libgtk.wrap delete mode 100644 subprojects/libhandy.wrap create mode 100755 subprojects/libsass.wrap create mode 100755 subprojects/pango.wrap create mode 100755 subprojects/sassc.wrap diff --git a/.buildconfig b/.buildconfig old mode 100644 new mode 100755 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md old mode 100644 new mode 100755 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 658b29d..3371eaf --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ Simple [Mastodon](https://github.com/tootsuite/mastodon) client for Linux libxml2-dev | 2.9.10 | libgee-0.8-dev | 0.8.5 | libsoup2.4-dev | 2.64 | - libgtk-3-dev | 3.22 | - libhandy-1.0-dev | 1.0.0 | Will be attempted to install automatically if not present. - libsecret-1-dev | 0.20 | Optional. Used for storing accounts using Secret Service API. + libgtk-4-dev | 4.3.0 | + libadwaita-1.0-dev | 1.0.0-alpha2 | Will be attempted to install automatically if not present. + libsecret-1-dev | 0.20 | 2. Run `install.sh` in the project directory. The app will launch automatically on success. @@ -43,4 +43,3 @@ You can always help by reporting bugs, submitting pull requests, and suggesting * German translation by [@koyuawsmbrtn](https://github.com/koyuawsmbrtn) * Spanish translation by [@oscfdezdz](https://github.com/oscfdezdz) * Norwegian (Bokmål) translation by [@Octolinger](https://github.com/Octolinger) - diff --git a/com.github.bleakgrey.tootle.json b/com.github.bleakgrey.tootle.json old mode 100644 new mode 100755 index 34414d0..a21795d --- a/com.github.bleakgrey.tootle.json +++ b/com.github.bleakgrey.tootle.json @@ -1,57 +1,60 @@ { - "app-id": "com.github.bleakgrey.tootle", - "runtime": "org.gnome.Platform", - "sdk": "org.gnome.Sdk", - "runtime-version": "3.38", - "command": "com.github.bleakgrey.tootle", - "finish-args": [ - "--share=network", - "--share=ipc", - "--socket=fallback-x11", - "--socket=wayland", - "--filesystem=xdg-run/dconf", - "--filesystem=~/.config/dconf:ro", - "--talk-name=ca.desrt.dconf", - "--env=DCONF_USER_CONFIG_DIR=.config/dconf" - ], - "cleanup": [ - "/include", - "/lib/pkgconfig", - "/man", - "/share/doc", - "/share/gtk-doc", - "/share/man", - "/share/pkgconfig", - "*.la", - "*.a" - ], - "modules": [ - { - "name": "libhandy", - "buildsystem": "meson", - "config-opts": [ - "-Dtests=false", - "-Dexamples=false", - "-Dglade_catalog=disabled" - ], - "sources": [ + "app-id" : "com.github.bleakgrey.tootle", + "runtime" : "org.gnome.Platform", + "sdk" : "org.gnome.Sdk", + "runtime-version" : "40", + "command" : "com.github.bleakgrey.tootle", + "finish-args" : [ + "--share=network", + "--share=ipc", + "--socket=fallback-x11", + "--socket=wayland", + "--filesystem=xdg-run/dconf", + "--filesystem=~/.config/dconf:ro", + "--talk-name=ca.desrt.dconf", + "--env=DCONF_USER_CONFIG_DIR=.config/dconf" + ], + "cleanup" : [ + "/include", + "/lib/pkgconfig", + "/man", + "/share/doc", + "/share/gtk-doc", + "/share/man", + "/share/pkgconfig", + "*.la", + "*.a" + ], + "modules" : [ { - "type": "archive", - "url": "https://ftp.acc.umu.se/pub/GNOME/sources/libhandy/1.0/libhandy-1.0.3.tar.xz", - "sha256": "559bb3acc2c362488917eb72ed25bdc181f4ae26ac94d177634cc5d34c867f7a" - } - ] - }, - { - "name": "tootle", - "builddir": true, - "buildsystem": "meson", - "sources": [ + "name" : "libadwaita", + "buildsystem" : "meson", + "builddir" : true, + "config-opts" : [ + "-Dexamples=false", + "-Dtests=false" + ], + "sources" : [ + { + "type" : "archive", + "url" : "https://gitlab.gnome.org/GNOME/libadwaita/-/archive/594eb987c57e4d20370cc20520871f230ff02ae2/libadwaita-594eb987c57e4d20370cc20520871f230ff02ae2.tar", + "sha256" : "960d8e95864cac71be9e893d37baace82d67ecb06b3b09bd24b9fdfece9eca9c" + } + ] + }, { - "type": "dir", - "path": "." + "name" : "tootle", + "builddir" : true, + "buildsystem" : "meson", + "sources" : [ + { + "type" : "dir", + "path" : "." + } + ] } - ] + ], + "build-options" : { + "env" : { } } - ] } diff --git a/data/app.css b/data/app.css old mode 100644 new mode 100755 index d70253e..1880a50 --- a/data/app.css +++ b/data/app.css @@ -1,53 +1,43 @@ -.header .chip { - padding: 4px 12px; - border-radius: 4px; - border: 1px solid black; +.sidebar .badge { + padding: 2px 12px; + border-radius: 999px; + background: @accent_bg_color; + color: @text_view_bg; } -.attachment { - border-radius: 5px; - background: rgba (150, 150, 150, 0.2); +/* .header .chip { */ +/* padding: 4px 12px; */ +/* border-radius: 4px; */ +/* border: 1px solid black; */ +/* } */ + +.attachment, .attachment button, flowboxchild { padding:0px; margin:0px; } -.attachment .pic { - border-radius: 5px; -} -.attachment .chip { - padding: 6px; - border-radius:6px; + +.attachment .osd { + padding: 6px 12px; + border-radius: 6px; + margin: 8px; } -.ttl-header-button { - margin: 0px; - border-radius: 0px; - border-top: none; - border-bottom: none; -} -.ttl-header-button .title, .ttl-header-button .subtitle { - padding-left: 0px; - padding-right: 0px; -} - -.padded.ttl-view { - margin: 32px 0 32px 0; -} -.ttl-view:not(.padded) .content row { - border-radius: 0px; -} - -.ttl-action-bar .circular { - box-shadow: none; -} +/* .ttl-header-button { */ +/* margin: 0px; */ +/* border-radius: 0px; */ +/* border-top: none; */ +/* border-bottom: none; */ +/* } */ +/* .ttl-header-button .title, .ttl-header-button .subtitle { */ +/* padding-left: 0px; */ +/* padding-right: 0px; */ +/* } */ .ttl-flat-button { padding: 0px; margin: 0px; } -.ttl-post { - padding: 0px; -} .ttl-thread-line { background: @theme_fg_color; opacity: .1; @@ -55,9 +45,9 @@ margin-bottom: -8px; } -.ttl-large-body { - font-size: 110%; -} +/* .ttl-large-body { */ +/* font-size: 110%; */ +/* } */ .ttl-code { font-family: monospace; @@ -65,3 +55,38 @@ background: rgba(150,150,150,.1); border-radius: 6px; } + +.ttl-view .small .content row { + border-left: none; + border-right: none; + border-radius:0px; +} + +.ttl-view .content row { + padding: 0px; +} + +.ttl-view .large:first-child { + margin-top: 32px; +} +.ttl-view .large:last-child { + margin-bottom: 32px; +} + + + + +/* + Profile +*/ + +.ttl-profile-cover .header-image { + background:grey; +} +.ttl-profile-cover avatar { + border: 6px solid @theme_base_color; + background: @theme_base_color; +} +.large .header-image { + border-radius:6px 6px 0 0; +} diff --git a/data/com.github.bleakgrey.tootle.appdata.xml.in b/data/com.github.bleakgrey.tootle.appdata.xml.in old mode 100644 new mode 100755 diff --git a/data/com.github.bleakgrey.tootle.desktop.in b/data/com.github.bleakgrey.tootle.desktop.in old mode 100644 new mode 100755 diff --git a/data/com.github.bleakgrey.tootle.gschema.xml b/data/com.github.bleakgrey.tootle.gschema.xml old mode 100644 new mode 100755 index f7f08c4..78d9dcc --- a/data/com.github.bleakgrey.tootle.gschema.xml +++ b/data/com.github.bleakgrey.tootle.gschema.xml @@ -1,13 +1,6 @@ - - - - - - - @@ -22,9 +15,6 @@ false - - 'public' - 12 diff --git a/data/gresource.xml b/data/gresource.xml old mode 100644 new mode 100755 index e0af78c..d1137cc --- a/data/gresource.xml +++ b/data/gresource.xml @@ -2,24 +2,37 @@ app.css + + icons/scalable/actions/mention-symbolic.svg + icons/scalable/actions/hashtag-symbolic.svg + icons/scalable/actions/globe-symbolic.svg + icons/scalable/actions/bell-symbolic.svg + + gtk/help-overlay.ui + + gtk/dropdown/icon.ui + gtk/dropdown/full.ui + ui/views/new_account.ui ui/views/base.ui ui/views/profile_header.ui + ui/views/sidebar/view.ui + ui/views/sidebar/account.ui + ui/views/sidebar/item.ui ui/widgets/status.ui - ui/widgets/accounts_button.ui ui/widgets/accounts_button_item.ui ui/widgets/profile_field_row.ui ui/widgets/timeline_menu.ui ui/widgets/list_item.ui ui/widgets/list_editor_item.ui - ui/widgets/attachment_slot.ui ui/widgets/compose_attachment.ui - ui/widgets/adaptive_button.ui ui/dialogs/new_account.ui ui/dialogs/compose.ui ui/dialogs/main.ui ui/dialogs/preferences.ui ui/dialogs/list_editor.ui ui/menus.ui + + diff --git a/data/gtk/dropdown/full.ui b/data/gtk/dropdown/full.ui new file mode 100644 index 0000000..0bf0691 --- /dev/null +++ b/data/gtk/dropdown/full.ui @@ -0,0 +1,63 @@ + + + + diff --git a/data/gtk/dropdown/icon.ui b/data/gtk/dropdown/icon.ui new file mode 100644 index 0000000..33a2368 --- /dev/null +++ b/data/gtk/dropdown/icon.ui @@ -0,0 +1,45 @@ + + + + diff --git a/data/gtk/help-overlay.ui b/data/gtk/help-overlay.ui new file mode 100644 index 0000000..69e2ca0 --- /dev/null +++ b/data/gtk/help-overlay.ui @@ -0,0 +1,56 @@ + + + + 1 + + + + application + + + + Touch gestures + + + <ctrl>R + Refresh column + + + + + <ctrl>T + Compose a post + + + + + + + + + + + shortcuts + + + + Touch gestures + + + + + + + + + gesture-two-finger-swipe-left + Previous column + + + + + + + + + diff --git a/data/icons/color-nightly.svg b/data/icons/color-nightly.svg old mode 100644 new mode 100755 diff --git a/data/icons/color.svg b/data/icons/color.svg old mode 100644 new mode 100755 diff --git a/data/icons/scalable/actions/bell-symbolic.svg b/data/icons/scalable/actions/bell-symbolic.svg new file mode 100644 index 0000000..0ecb9f9 --- /dev/null +++ b/data/icons/scalable/actions/bell-symbolic.svg @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/scalable/actions/globe-symbolic.svg b/data/icons/scalable/actions/globe-symbolic.svg new file mode 100755 index 0000000..964f998 --- /dev/null +++ b/data/icons/scalable/actions/globe-symbolic.svg @@ -0,0 +1,403 @@ + + + + + + image/svg+xml + + Gnome Symbolic Icon Theme + + + + + + + + Gnome Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/scalable/actions/hashtag-symbolic.svg b/data/icons/scalable/actions/hashtag-symbolic.svg new file mode 100755 index 0000000..bcc89f6 --- /dev/null +++ b/data/icons/scalable/actions/hashtag-symbolic.svg @@ -0,0 +1,1509 @@ + + + + + + image/svg+xml + + Gnome Symbolic Icon Theme + + + + + + + + Gnome Symbolic Icon Theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/icons/scalable/actions/mention-symbolic.svg b/data/icons/scalable/actions/mention-symbolic.svg new file mode 100755 index 0000000..9afc491 --- /dev/null +++ b/data/icons/scalable/actions/mention-symbolic.svg @@ -0,0 +1,62 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/data/icons/symbolic.svg b/data/icons/symbolic.svg old mode 100644 new mode 100755 diff --git a/data/meson.build b/data/meson.build old mode 100644 new mode 100755 diff --git a/data/screenshot1.png b/data/screenshot1.png old mode 100644 new mode 100755 diff --git a/data/screenshot2.png b/data/screenshot2.png old mode 100644 new mode 100755 diff --git a/data/screenshot3.png b/data/screenshot3.png old mode 100644 new mode 100755 diff --git a/data/screenshot4.png b/data/screenshot4.png old mode 100644 new mode 100755 diff --git a/data/ui/dialogs/compose.ui b/data/ui/dialogs/compose.ui index 028a8a3..bb6bf37 100644 --- a/data/ui/dialogs/compose.ui +++ b/data/ui/dialogs/compose.ui @@ -1,407 +1,54 @@ - - + -