[gnome-pilot] Replace GnomeAbout to GtkAboutDialog.
- From: Halton Huo <haltonhuo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-pilot] Replace GnomeAbout to GtkAboutDialog.
- Date: Wed, 26 Aug 2009 03:03:43 +0000 (UTC)
commit a861c2aebb2b6ec23c3fd6bfcb98f6a1352e0343
Author: Halton Huo <halton huo sun com>
Date: Wed Aug 26 10:53:59 2009 +0800
Replace GnomeAbout to GtkAboutDialog.
applet/pilot.c | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/applet/pilot.c b/applet/pilot.c
index 2945ef9..acf8f34 100644
--- a/applet/pilot.c
+++ b/applet/pilot.c
@@ -30,9 +30,6 @@
#include <glade/glade.h>
#include <gtk/gtk.h>
#include <libgnome/gnome-util.h>
-#include <libgnomeui/gnome-about.h>
-#include <libgnomeui/gnome-dialog-util.h>
-#include <libgnomeui/gnome-messagebox.h>
#include <panel-applet-gconf.h>
#include <signal.h>
@@ -454,14 +451,13 @@ about_cb(BonoboUIComponent *uic, PilotApplet *pilot, const gchar *verbname)
g_warning ("Can't find icon: " GNOME_ICONDIR "/sync_icon.png" );
}
- about = gnome_about_new (_("gnome-pilot applet"),
- VERSION,
- _("Copyright 2000-2006 Free Software Foundation, Inc."),
- _("A PalmOS PDA monitor.\n"),
- (const gchar**)authors,
- NULL,
- "Translations by the GNOME Translation Project",
- NULL /* pixbuf */);
+ about = gtk_about_dialog_new ();
+ gtk_about_dialog_set_name (about, _("gnome-pilot applet"));
+ gtk_about_dialog_set_version (about, VERSION);
+ gtk_about_dialog_set_copyright (about, _("Copyright 2000-2006 Free Software Foundation, Inc."));
+ gtk_about_dialog_set_comments (about, _("A PalmOS PDA monitor.\n"));
+ gtk_about_dialog_set_authors (about, (const gchar**)authors);
+ gtk_about_dialog_set_translator_credits (about, "Translations by the GNOME Translation Project");
gtk_window_set_wmclass (
GTK_WINDOW (about), "pilot", "Pilot");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]