[gnome-disk-utility] nuke nagging dialog



commit ef78607c6c2cafc73a2ac84208feaf8fbf9e31ad
Author: David Zeuthen <davidz redhat com>
Date:   Tue Mar 31 16:19:07 2009 -0400

    nuke nagging dialog
---
 src/palimpsest/gdu-main.c |   32 --------------------------------
 1 files changed, 0 insertions(+), 32 deletions(-)

diff --git a/src/palimpsest/gdu-main.c b/src/palimpsest/gdu-main.c
index 5af7ea0..28b888c 100644
--- a/src/palimpsest/gdu-main.c
+++ b/src/palimpsest/gdu-main.c
@@ -30,35 +30,6 @@
 #include "gdu-shell.h"
 
 static gboolean
-show_nag_dialog (GtkWidget *toplevel)
-{
-        GtkWidget *dialog;
-        gint response;
-        gboolean ret;
-
-        ret = TRUE;
-
-        dialog = gtk_message_dialog_new (GTK_WINDOW (toplevel),
-                                         GTK_DIALOG_MODAL,
-                                         GTK_MESSAGE_WARNING,
-                                         GTK_BUTTONS_OK,
-                                         _("WARNING WARNING WARNING"));
-        gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dialog),
-                                                    _("The Palimpsest Disk Utility is still under development and "
-                                                      "may still have bugs that can lead to data loss.\n"
-                                                      "\n"
-                                                      "Use at your own risk."));
-        response = gtk_dialog_run (GTK_DIALOG (dialog));
-
-        if (response != GTK_RESPONSE_OK)
-                ret = FALSE;
-
-        gtk_widget_destroy (dialog);
-
-        return ret;
-}
-
-static gboolean
 show_volume (GduShell   *shell,
              const char *device_file)
 {
@@ -205,9 +176,6 @@ main (int argc, char **argv)
         gtk_widget_show_all (gdu_shell_get_toplevel (shell));
         gdu_shell_update (shell);
 
-        if (!show_nag_dialog (gdu_shell_get_toplevel (shell)))
-                goto out;
-
         if (volume_to_show)
                 show_volume (shell, volume_to_show);
         else if (drive_to_show)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]