summaryrefslogtreecommitdiff
path: root/src/nautilus-special-location-bar.h
Commit message (Collapse)AuthorAgeFilesLines
* general: Change libadwaita include pathBarnabás Pőcze2023-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The libadwaita pkg-config adds `-I/usr/include/libadwaita-1` (or similar) to the compiler flags, which means that #include <adwaita.h> is sufficient, and the currently used #include <libadwaita-1/adwaita.h> is not necessary. Not only is it not necessary, but it prevents nautilus from being built with an uninstalled libadwaita build (either meson subproject or otherwise). To fix that, remove the `libadwaita-1/` prefix. The libadwaita test programs also only `#include <adwaita.h>`, and according to Debian Code Search, that is the more popular version. https://codesearch.debian.net/search?q=%23include+%3Cadwaita.h%3E&literal=1 https://codesearch.debian.net/search?q=%23include+%3Clibadwaita-1%2Fadwaita.h%3E&literal=1
* special-location-bar: Add trash barIgnacy Kuchciński2022-08-231-0/+1
| | | | | After removing the separate trash bar, let's roll it into special location bar, as it only has 1 button now.
* special-location-bar: Extend to support Public folder for sharingCorey Berla2022-07-141-2/+3
| | | | | | | | | | | | | | | | | gnome-user-share maintains an extension to create an info bar in the ~/Public folder notifying the user of the ability to turn on file sharing. This is broken with 43.alpha because of gtk3-gtk4. This is a core feature and it will be easier to implement and maintain in Nautilus itself rather than as an extension. Extend special-location-bar for the Public folder / sharing. Use dbus-launcher to open Settings to the "sharing" panel on button click. Fixes: https://gitlab.gnome.org/GNOME/gnome-user-share/-/issues/26 Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2155 See: https://gitlab.gnome.org/GNOME/gnome-user-share/-/merge_requests/18
* general: Switch to GTK4António Fernandes2022-01-091-1/+2
| | | | | | | | | | | | | | | | The new major version of the toolkit is a requirement to fix old issues and enable future enhancements. Update symbols and adapt logic to API changes. Update and simplify UI definitions. Update local copy of places sidebar and places view. Replace dependencies with their GTK4-compatible successors. Make a minimum changes required to build and run, with known regressions to be fixed in future commits. For a detailed breakup of the changes, see the 36 commits-deep log leading to d5763facb1e5045251171ed1273dca0859f3542f. This is the main part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/276
* general: Don't subclass GtkInfoBarAntónio Fernandes2022-01-051-2/+2
| | | | | | | | | It's going to be a final class one we switch to GTK 4. In preparation, become bins containing an info bar. Also, stop using gtk_info_bar_get_action_area(), which is gone in GTK 4 and we are using it only to set the box to horizontal orientation, which is the default anyway.
* general: Remove include guards in favor of pragma onceAlexandru Fazakas2018-03-191-5/+2
| | | | | | | | | | | | | | | | | | The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294 general: Remove include guards in favor of pragma once The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
* special-location-bar: ported declaration to G_DECLARE*Vyas Giridharan2017-08-231-22/+2
| | | | | | | This patch ports declaration of NautilusSpecialLocationBar to the G_DECLARE* format. https://bugzilla.gnome.org/show_bug.cgi?id=771777
* general: remove vim modelinesCarlos Soriano2016-04-041-2/+1
| | | | | | | | | | | | | Vim and emacs modelines are used to specify some of the code style in the code. However, this is misleading and poorly supported since nautilus had a mix of code style for some time. Also, the mode lines doesn't specify the whole code style, so we will need to use a different tool as well to specify the whole code style. For that, we can just use a different tool for everything. So remove the mode lines, and in a short future we will reestyle the nautilus code to have a single code style, and use a tool like editorconfig to specify the whole code style.
* Updated FSF's addressDaniel Mustieles2014-01-311-2/+1
|
* Add a clue bar to special locations like Templates and scriptsWilliam Jon McCann2012-08-141-0/+61
https://bugzilla.gnome.org/show_bug.cgi?id=84463