mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-30 08:07:38 +00:00
window-slot: Don't use eel to show a dialog
Most of the things in eel are already in glib, or are already easy enough to have them directly in the code. So we should remove eel which is just another layer of abstraction that we don't need as it makes it hard to follow the code. This patch replaces eel_show_error_dialog with show_error_dialog to make it independent of eel. https://bugzilla.gnome.org/show_bug.cgi?id=775092
This commit is contained in:
parent
460235b9c9
commit
eb23c630c6
1 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,6 @@
|
|||
#include "nautilus-x-content-bar.h"
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
#include <eel/eel-stock-dialogs.h>
|
||||
|
||||
#include "nautilus-file.h"
|
||||
#include "nautilus-file-utilities.h"
|
||||
|
@ -45,6 +44,7 @@
|
|||
#include "nautilus-monitor.h"
|
||||
#include "nautilus-profile.h"
|
||||
#include <libnautilus-extension/nautilus-location-widget-provider.h>
|
||||
#include "nautilus-ui-utilities.h"
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -1434,7 +1434,8 @@ nautilus_window_slot_display_view_selection_failure (NautilusWindow *window,
|
|||
detail_message = g_strdup_printf (_("Unhandled error message: %s"), error->message);
|
||||
}
|
||||
|
||||
eel_show_error_dialog (error_message, detail_message, GTK_WINDOW (window));
|
||||
show_error_dialog (error_message, detail_message, GTK_WINDOW (window));
|
||||
|
||||
done:
|
||||
g_free (error_message);
|
||||
g_free (detail_message);
|
||||
|
|
Loading…
Reference in a new issue