gnome-panel r11410 - trunk/applets/fish
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r11410 - trunk/applets/fish
- Date: Wed, 10 Dec 2008 23:55:48 +0000 (UTC)
Author: vuntz
Date: Wed Dec 10 23:55:47 2008
New Revision: 11410
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11410&view=rev
Log:
2008-12-11 Vincent Untz <vuntz gnome org>
* fish.c: (display_fortune_dialog): kill GNOME_PAD, and also use
g_markup_printf_escaped() instead of g_strdup_printf()
Modified:
trunk/applets/fish/ChangeLog
trunk/applets/fish/fish.c
Modified: trunk/applets/fish/fish.c
==============================================================================
--- trunk/applets/fish/fish.c (original)
+++ trunk/applets/fish/fish.c Wed Dec 10 23:55:47 2008
@@ -41,7 +41,6 @@
#include <panel-applet-gconf.h>
#include <gconf/gconf-client.h>
#include <libgnomeui/gnome-help.h>
-#include <libgnomeui/gnome-uidefs.h>
#include <glade/glade-xml.h>
#define FISH_APPLET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
@@ -930,15 +929,15 @@
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (fish->fortune_dialog)->vbox),
fish->fortune_label,
- FALSE, FALSE, GNOME_PAD);
+ FALSE, FALSE, 6);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (fish->fortune_dialog)->vbox),
scrolled,
- TRUE, TRUE, GNOME_PAD);
+ TRUE, TRUE, 6);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (fish->fortune_dialog)->vbox),
fish->fortune_cmd_label,
- FALSE, FALSE, GNOME_PAD);
+ FALSE, FALSE, 6);
update_fortune_dialog (fish);
@@ -954,7 +953,7 @@
char *command;
char * text;
- command = g_strdup_printf ("<tt>%s</tt>", argv[0]);
+ command = g_markup_printf_escaped ("<tt>%s</tt>", argv[0]);
text = g_strdup_printf (_("The configured command is not "
"working and has been replaced by: "
"%s"), command);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]