summaryrefslogtreecommitdiff
path: root/eel/eel-stock-dialogs.c
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
* eel: remove eel-glib-extensions.hPeter Eisenmann2022-12-231-2/+0
| | | | | Replace the eel_boolean_bit typedef with a plain guint and remove all includes.
* eel-stock-dialogs: Use AdwMessageDialog for timed waitChristopher Davis2022-08-061-39/+13
|
* eel-stock-dialogs: Remove message dialogsChristopher Davis2022-08-061-145/+0
| | | | | | | Now that we have AdwMessageDialog to provide a GNOME-compliant message dialog API, we don't need the functions from eel. This commit removes all of the functions for creating dialogs from eel-stock-dialogs.
* eel-stock-dialogs: Remove unused functionalityOndrej Holy2022-02-071-65/+0
| | | | | | | Some functions are no more used. Let's remove them instead of fixing GTK 4 regressions in them. Related: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2117
* general: Make message dialogs modal againOndrej Holy2022-02-071-3/+3
| | | | | | | | After the GTK 4 port, some dialogs are no more modal. This is regression, which is probably caused by the fact, that this needs to be explicitly specified now. Let's make all the `GtkMessageDialog` dialogs modal again. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2117
* general: Switch to GTK4António Fernandes2022-01-091-6/+6
| | | | | | | | | | | | | | | | 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
* eel: Drop gtk extensionsAntónio Fernandes2022-01-051-1/+0
| | | | No longer used.
* eel-stock-dialogs: Start and end va_list António Fernandes2021-12-291-1/+2
| | | | This got lost in the refactoring and results in it not being initialized. Thanks to Abderrahim Kitouni for reporting.
* eel-stock-dialogs: Remove eel_run_simple_dialogMatthew Jakeman2021-12-281-51/+7
| | | | | | | This method is no longer used anywhere and can be safely removed. Part of #1992
* eel-stock-dialogs: Add eel_show_simple_dialogMatthew Jakeman2021-12-281-12/+45
| | | | | | | | Extracts the creation of simple dialogs to a new function that does not depend on gtk_dialog_run. It is the caller's responsibility to obtain a response from the dialog. Part of #1992
* general: run uncrustifyCarlos Soriano2016-08-291-366/+388
| | | | | | | | 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
* general: remove vim modelinesCarlos Soriano2016-04-041-1/+0
| | | | | | | | | | | | | 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.
* eel: remove some unused APICosimo Cecchi2015-05-231-66/+1
|
* Updated FSF's addressDaniel Mustieles2014-01-311-2/+1
|
* eel: don't use deprecated GtkStock and GtkImageMenuItemCosimo Cecchi2013-08-131-1/+1
|
* Make dialogs modalWilliam Jon McCann2012-07-161-0/+2
|
* all: don't use eel_get_system_time()Cosimo Cecchi2012-04-111-2/+2
| | | | Use g_get_monotonic_time() instead.
* all: remove eel_g_hash_table_new_free_at_exit()Cosimo Cecchi2012-03-071-2/+1
| | | | | | | Especially when references can be owned by non-resident modules, this is just too dangerous. https://bugzilla.gnome.org/show_bug.cgi?id=670989
* Add custom foreach to eel_g_hash_table_new_free_at_exitAlexander Larsson2011-03-251-1/+1
| | | | | This can be used to get some sort of printout for leaks in non-string hashtables.
* stock-dialogs: don't use GtkObjectCosimo Cecchi2010-09-301-6/+6
|
* [eel] use GtkMessageDialog for stock dialogsCosimo Cecchi2010-08-211-25/+38
| | | | Instead of EelAlertDialog, which is going away.
* [eel] use glib's i18n API instead of eel'sCosimo Cecchi2010-08-191-1/+1
|
* Don't force a default response.Cosimo Cecchi2010-05-021-1/+0
|
* Always set the parent window in dialogs (#573788).Cosimo Cecchi2010-04-261-1/+1
|
* Remove deprecated GDK/GTK+ symbolsCosimo Cecchi2009-04-211-2/+2
| | | | | | Remove all uses of deprecated GDK and GTK+ symbols, replacing them with the currently supported equivalents. Based on a patch from Tal Benavidor (#565038).
* eel/ Import eel into nautilus.Alexander Larsson2008-12-151-0/+571
2008-12-15 Alexander Larsson <alexl@redhat.com> * Makefile.am: * acconfig.h: * configure.in: * eel/ * libnautilus-private/Makefile.am: Import eel into nautilus. svn path=/trunk/; revision=14815