[nautilus-actions/file-manager-actions] Remove no more used FmaConfirmLogout class and UI
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions/file-manager-actions] Remove no more used FmaConfirmLogout class and UI
- Date: Wed, 15 Feb 2017 15:40:34 +0000 (UTC)
commit a0ed8082259dcd4b7a790038518540a76b2fafff
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Feb 14 20:40:40 2017 +0100
Remove no more used FmaConfirmLogout class and UI
src/ui/Makefile.am | 3 -
src/ui/fma-confirm-logout.c | 318 ------------------------------------------
src/ui/fma-confirm-logout.h | 75 ----------
src/ui/fma-confirm-logout.ui | 99 -------------
src/ui/fma-main-window.c | 30 ----
5 files changed, 0 insertions(+), 525 deletions(-)
---
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 12e15e5..ec4b7d7 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -82,8 +82,6 @@ fma_config_tool_SOURCES = \
fma-assistant-import.h \
fma-clipboard.c \
fma-clipboard.h \
- fma-confirm-logout.c \
- fma-confirm-logout.h \
fma-export-ask.c \
fma-export-ask.h \
fma-iaction-tab.c \
@@ -166,7 +164,6 @@ ui_files = \
fma-add-scheme.ui \
fma-assistant-export.ui \
fma-assistant-import.ui \
- fma-confirm-logout.ui \
fma-export-ask.ui \
fma-icon-chooser.ui \
fma-legend.ui \
diff --git a/src/ui/fma-main-window.c b/src/ui/fma-main-window.c
index 52c0a51..ffeaa11 100644
--- a/src/ui/fma-main-window.c
+++ b/src/ui/fma-main-window.c
@@ -57,7 +57,6 @@
#include "fma-menu.h"
#include "fma-status-bar.h"
#include "fma-tree-view.h"
-#include "fma-confirm-logout.h"
#include "fma-sort-buttons.h"
/* private instance data
@@ -1259,35 +1258,6 @@ fma_main_window_quit( FMAMainWindow *window )
return( terminated );
}
-#if 0
-/*
- * signal handler
- * should return %FALSE if it is not willing to quit
- * this will also stop the emission of the signal (i.e. the first FALSE wins)
- */
-static gboolean
-on_base_quit_requested( FMAApplication *application, FMAMainWindow *window )
-{
- static const gchar *thisfn = "fma_main_window_on_base_quit_requested";
- gboolean willing_to;
-
- g_return_val_if_fail( FMA_IS_MAIN_WINDOW( window ), TRUE );
-
- willing_to = TRUE;
-
- if( !window->private->dispose_has_run ){
-
- g_debug( "%s: application=%p, window=%p", thisfn, ( void * ) application, ( void * ) window );
-
- if( window->private->is_tree_modified ){
- willing_to = fma_confirm_logout_run( window );
- }
- }
-
- return( willing_to );
-}
-#endif
-
/*
* triggered when the user clicks on the top right [X] button
* returns %TRUE to stop the signal to be propagated (which would cause the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]