diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2020-05-15 15:22:59 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2020-05-15 15:22:59 -0700 |
commit | f4160cb34a636ceda799ca9a00a611960536802d (patch) | |
tree | 05017a94900b28b47235c73842c644304e4bc17c /includes | |
parent | b347f952e255c70e71e987f86bc7c11636072f81 (diff) |
Show Network Updater button in the toolbar if available
Diffstat (limited to 'includes')
-rw-r--r-- | includes/uidefs.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/includes/uidefs.h b/includes/uidefs.h index 70d2de17..a1bf6a3e 100644 --- a/includes/uidefs.h +++ b/includes/uidefs.h @@ -11,11 +11,13 @@ #endif /* !RELEASE */ #ifdef HAS_LIBSOUP -#define SYNC_MANAGER_ITEMS " <separator/>" \ -" <menuitem name=\"SyncManager\" action=\"SyncManagerAction\" />" +#define SYNC_MANAGER_MENU_ITEMS " <separator/>" \ +" <menuitem name=\"SyncManager\" action=\"SyncManagerAction\" always-show-image=\"true\"/>" +#define SYNC_MANAGER_TOOL_ITEMS " <toolitem name=\"SyncManager\" action=\"SyncManagerAction\" />" #else /* !HAS_LIBSOUP */ -#define SYNC_MANAGER_ITEMS +#define SYNC_MANAGER_MENU_ITEMS +#define SYNC_MANAGER_TOOL_ITEMS #endif /* !HAS_LIBSOUP */ char *uidefs_str = "<ui>" \ @@ -23,7 +25,7 @@ char *uidefs_str = "<ui>" \ " <menu name=\"InformationMenu\" action=\"InformationMenuAction\">" \ " <menuitem name=\"Report\" action=\"ReportAction\" />" \ " <menuitem name=\"Copy\" action=\"CopyAction\" />" \ -SYNC_MANAGER_ITEMS +SYNC_MANAGER_MENU_ITEMS " <separator/>" \ " <menuitem name=\"Quit\" action=\"QuitAction\" />" \ " </menu>" \ @@ -47,6 +49,7 @@ SYNC_MANAGER_ITEMS " <toolbar action=\"MainMenuBar\" action=\"MainMenuBarAction\">" \ " <placeholder name=\"ToolItems\">" \ " <toolitem name=\"Refresh\" action=\"RefreshAction\"/>" \ +SYNC_MANAGER_TOOL_ITEMS \ " <separator/>" \ " <toolitem name=\"Report\" action=\"ReportAction\"/>" \ " <toolitem name=\"Copy\" action=\"CopyAction\"/>" \ |