Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/build-action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: build

on:
push:
paths-ignore:
- .github/workflows/*
- README.md
on:
pull_request:
paths-ignore:
- .github/workflows/*
- README.md

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions ContextMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal static List<Result> GetBrowserTabContextMenu(BrowserTab tab)
new Result
{
Title = "Switch to tab",
IcoPath = Main.IconPath,
IcoPath = Main.SwitchTabPath,
Action = c =>
{
tab.ActivateTab();
Expand All @@ -22,7 +22,7 @@ internal static List<Result> GetBrowserTabContextMenu(BrowserTab tab)
new Result
{
Title = "Close tab",
IcoPath = Main.IconPath,
IcoPath = Main.CloseTabPath,
Action = c =>
{
tab.CloseTab();
Expand Down
Binary file added Images/close_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/switch_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
public class Main : IAsyncPlugin, IPluginI18n, IContextMenu, ISettingProvider
{
public const string IconPath = "Images/icon.png";
public const string SwitchTabPath = "Images/switch_tab.png";
public const string CloseTabPath = "Images/close_tab.png";

private SettingWindow? SettingWindow;

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

Field 'Main.SettingWindow' is never assigned to, and will always have its default value null

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

Field 'Main.SettingWindow' is never assigned to, and will always have its default value null

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

Field 'Main.SettingWindow' is never assigned to, and will always have its default value null

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

Field 'Main.SettingWindow' is never assigned to, and will always have its default value null

Check warning on line 17 in Main.cs

View workflow job for this annotation

GitHub Actions / build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

public static PluginInitContext Context { get; private set; } = null!;

Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Name": "Browser Tabs",
"Description": "Search, activate, or close browser tabs. A centralized plugin for managing all open tabs in your browser",
"Author": "Jeremy Wu",
"Version": "1.0.1",
"Version": "1.0.2",
"Language": "csharp",
"Website": "https://github.com/Flow-Launcher/Flow.Launcher.Plugin.BrowserTabs",
"ExecuteFileName": "Flow.Launcher.Plugin.BrowserTabs.dll",
Expand Down
Loading