Skip to content

pgadmin: make desktop item #27285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2017
Merged

Conversation

emmanuelrosa
Copy link
Contributor

@emmanuelrosa emmanuelrosa commented Jul 10, 2017

This change adds the .desktop file so that pgAdmin shows up in the menu
system of desktop environments (ex. GNOME, XFCE, etc).

Closes #27067

Motivation for this change

pgadmin3 not end up on system menu after install, see #27067

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.
Special request

Please cherry-pick unto release 17.03, since that's where the issue was reported.

Sorry, something went wrong.

This change adds the .desktop file so that pgAdmin shows up in the menu
system of desktop environments (ex. GNOME, XFCE, etc).

Closes NixOS#27067
@mention-bot
Copy link

@emmanuelrosa, thanks for your PR! By analyzing the history of the files in this pull request, we identified @domenkozar, @fpletz and @edolstra to be potential reviewers.

@emmanuelrosa
Copy link
Contributor Author

I didn't test it on MacOS since it doesn't use the .desktop file, nor on another Linux distro since they'd expect the .desktop file to be located elsewhere rather than in the Nix store; hence it would be a no-op.

I did a smoke test on NixOS unstable, which consisted of checking for a pgAdmin menu entry and then launching the application.

@Mic92 Mic92 merged commit eb28340 into NixOS:master Jul 12, 2017
@Mic92
Copy link
Member

Mic92 commented Jul 12, 2017

Thanks!

@Mic92
Copy link
Member

Mic92 commented Jul 12, 2017

also back ported: b63d2c3

@emmanuelrosa emmanuelrosa deleted the pgadmin-desktop-file branch July 13, 2017 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants