[nautilus] window: Don't use eel to show a dialog
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: Don't use eel to show a dialog
- Date: Wed, 8 Mar 2017 16:18:09 +0000 (UTC)
commit df262b5c93f7103b23fc4554be747e9bb017ab15
Author: Kartikeya Sharma <09kartikeya gmail com>
Date: Sat Feb 11 10:25:50 2017 +0530
window: 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
src/nautilus-window.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 5404309..2fb2a9c 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -41,7 +41,6 @@
#include <eel/eel-debug.h>
#include <eel/eel-gtk-extensions.h>
-#include <eel/eel-stock-dialogs.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdkx.h>
#include <gdk/gdkkeysyms.h>
@@ -1067,7 +1066,7 @@ places_sidebar_show_error_message_cb (GtkPlacesSidebar *sidebar,
{
NautilusWindow *window = NAUTILUS_WINDOW (user_data);
- eel_show_error_dialog (primary, secondary, GTK_WINDOW (window));
+ show_error_dialog (primary, secondary, GTK_WINDOW (window));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]