summaryrefslogtreecommitdiff
path: root/src/nautilus-special-location-bar.c
Commit message (Collapse)AuthorAgeFilesLines
* general: Stop using gtk_widget_show and gtk_widget_hideCorey Berla2022-12-251-7/+4
| | | | | | | Replace with gtk_widget_set_visible() or gtk_window_present() In some cases we use gtk_widget_show() unnecessarily because widgets are visible by default
* special-location-bar: Add trash barIgnacy Kuchciński2022-08-231-1/+69
| | | | | 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-0/+62
| | | | | | | | | | | | | | | | | 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-3/+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-9/+9
| | | | | | | | | 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: Stop using gtk_container_add()António Fernandes2021-12-061-4/+3
| | | | | | | | GtkContainer is gone in GTK4. Use per-class child-adding methods. For the cases where such methods are unavailable in GTK3, introduce small wrapper functions with the same signature as the GTK4 methods, to help with the transition.
* general: Uniformize case code styleAntónio Fernandes2021-07-111-0/+2
| | | | | | | | There are a few non-braced single-statement in the final cases, which have gone unnoticed until detected by a recent uncrustify update. Let's add the missing braces around single-statements even if it's the last case.
* special-location-bar: ported declaration to G_DECLARE*Vyas Giridharan2017-08-231-20/+17
| | | | | | | This patch ports declaration of NautilusSpecialLocationBar to the G_DECLARE* format. https://bugzilla.gnome.org/show_bug.cgi?id=771777
* general: run uncrustifyCarlos Soriano2016-08-291-102/+125
| | | | | | | | And make the style of Nautilus the same for all files. Hopefully we can fix all the style issues we can find in the next days, so expect a little of movement on this. https://bugzilla.gnome.org/show_bug.cgi?id=770564
* special-location-bar: fix missing castingCarlos Soriano2016-04-191-1/+2
| | | | | Having so many deprecation warnings obscure the real warnings... :/ Should run more frequently with those disabled.
* special-location-bar: add a "learn more" label to templatesCarlos Soriano2016-04-141-14/+20
| | | | | | And rework the text shown to be more clear. https://bugzilla.gnome.org/show_bug.cgi?id=763335
* 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
|
* special-location-bar: use the correct label for the New Document menuCosimo Cecchi2012-11-061-1/+1
| | | | | | The menu is called New Document, not Create Document. https://bugzilla.gnome.org/show_bug.cgi?id=687710
* Add a clue bar to special locations like Templates and scriptsWilliam Jon McCann2012-08-141-0/+169
https://bugzilla.gnome.org/show_bug.cgi?id=84463