From e8ca2faaa714fe6ae0cbeeb44201adb11c1b85cf Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sat, 12 May 2018 14:17:40 +0300 Subject: [PATCH] Headerbar: Add import and export items in the hamburger menu. I strongly believe that these do not belong there and should be moved elsewhere. But for the time being and prototyping they are "good enough". People most of the time tend to import from an OPML file only on the first use of the App. Then the functionality sits there and is never used again. That's why I think import should be moved into a preferences dialogs and have the empty view suggest the action. Exporting OPML files is also not that common, I also believe this should be moved into a preference dialog instead of the hamburger menu. --- hammond-gtk/resources/gtk/headerbar.ui | 32 ++++++++++++++++++++++++-- hammond-gtk/src/headerbar.rs | 6 +++++ 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/hammond-gtk/resources/gtk/headerbar.ui b/hammond-gtk/resources/gtk/headerbar.ui index ca28a3d..1af2bf1 100644 --- a/hammond-gtk/resources/gtk/headerbar.ui +++ b/hammond-gtk/resources/gtk/headerbar.ui @@ -1,5 +1,5 @@ -