summaryrefslogtreecommitdiffstats
path: root/x11/gnome-panel/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-panel/files')
-rw-r--r--x11/gnome-panel/files/patch-applets_clock_clock-location.c11
-rw-r--r--x11/gnome-panel/files/patch-applets_clock_clock.c11
-rw-r--r--x11/gnome-panel/files/patch-config.h.in11
-rw-r--r--x11/gnome-panel/files/patch-configure11
-rw-r--r--x11/gnome-panel/files/patch-gnome-panel_menu.c42
-rw-r--r--x11/gnome-panel/files/patch-po_ja.po20
-rw-r--r--x11/gnome-panel/files/patch-po_ko.po38
7 files changed, 144 insertions, 0 deletions
diff --git a/x11/gnome-panel/files/patch-applets_clock_clock-location.c b/x11/gnome-panel/files/patch-applets_clock_clock-location.c
new file mode 100644
index 000000000..123da4ad7
--- /dev/null
+++ b/x11/gnome-panel/files/patch-applets_clock_clock-location.c
@@ -0,0 +1,11 @@
+--- applets/clock/clock-location.c.orig 2008-01-20 00:04:16.000000000 -0600
++++ applets/clock/clock-location.c 2008-01-20 00:05:33.000000000 -0600
+@@ -28,6 +28,8 @@
+ #include "set-timezone.h"
+ #include "gweather-xml.h"
+
++#define daylight 1
++
+ G_DEFINE_TYPE (ClockLocation, clock_location, G_TYPE_OBJECT)
+
+ typedef struct {
diff --git a/x11/gnome-panel/files/patch-applets_clock_clock.c b/x11/gnome-panel/files/patch-applets_clock_clock.c
new file mode 100644
index 000000000..82b75b97c
--- /dev/null
+++ b/x11/gnome-panel/files/patch-applets_clock_clock.c
@@ -0,0 +1,11 @@
+--- applets/clock/clock.c.orig 2008-01-20 00:03:54.000000000 -0600
++++ applets/clock/clock.c 2008-01-20 00:04:46.000000000 -0600
+@@ -84,6 +84,8 @@
+
+ #define FALLBACK_CONFIG_TOOL "time-admin"
+
++#define daylight 1
++
+ static const char *clock_config_tools [] = {
+ CLOCK_TIME_UTILITY,
+ FALLBACK_CONFIG_TOOL
diff --git a/x11/gnome-panel/files/patch-config.h.in b/x11/gnome-panel/files/patch-config.h.in
new file mode 100644
index 000000000..8a59166a5
--- /dev/null
+++ b/x11/gnome-panel/files/patch-config.h.in
@@ -0,0 +1,11 @@
+--- config.h.in.orig Thu Jan 2 19:50:41 2003
++++ config.h.in Mon Jan 6 13:11:12 2003
+@@ -96,6 +96,8 @@
+ /* Define to 1 if you have the <stdlib.h> header file. */
+ #undef HAVE_STDLIB_H
+
++#undef HAVE_LANGINFO_H
++
+ /* Define to 1 if you have the <strings.h> header file. */
+ #undef HAVE_STRINGS_H
+
diff --git a/x11/gnome-panel/files/patch-configure b/x11/gnome-panel/files/patch-configure
new file mode 100644
index 000000000..732f3a860
--- /dev/null
+++ b/x11/gnome-panel/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Jan 14 15:54:42 2004
++++ configure Wed Jan 14 15:55:13 2004
+@@ -5536,7 +5536,7 @@
+
+
+ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+- inttypes.h stdint.h unistd.h
++ inttypes.h stdint.h unistd.h langinfo.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
diff --git a/x11/gnome-panel/files/patch-gnome-panel_menu.c b/x11/gnome-panel/files/patch-gnome-panel_menu.c
new file mode 100644
index 000000000..aa7aeae8c
--- /dev/null
+++ b/x11/gnome-panel/files/patch-gnome-panel_menu.c
@@ -0,0 +1,42 @@
+--- gnome-panel/menu.c.orig Sat Mar 26 15:12:10 2005
++++ gnome-panel/menu.c Fri Jun 3 11:17:45 2005
+@@ -1535,8 +1535,8 @@
+ return NULL;
+ }
+
+-static void
+-image_menu_shown (GtkWidget *image, gpointer data)
++static gboolean
++image_menu_exposed (GtkWidget *image, GdkEventExpose *event, gpointer data)
+ {
+ IconToLoad *new_icon;
+ IconToLoad *icon;
+@@ -1545,7 +1545,7 @@
+
+ /* if we've already handled this */
+ if (gtk_image_get_storage_type (GTK_IMAGE (image)) != GTK_IMAGE_EMPTY)
+- return;
++ return FALSE; /* propagate event */
+
+ if (find_in_load_list (image) == NULL) {
+ new_icon = icon_to_load_copy (icon);
+@@ -1554,6 +1554,8 @@
+ }
+ if (load_icons_id == 0)
+ load_icons_id = g_idle_add (load_icons_handler, NULL);
++
++ return FALSE; /* propagate event */
+ }
+
+ static void
+@@ -1601,8 +1603,8 @@
+ gtk_image_menu_item_set_image (
+ GTK_IMAGE_MENU_ITEM (image_menu_item), image);
+
+- g_signal_connect_data (image, "map",
+- G_CALLBACK (image_menu_shown), icon,
++ g_signal_connect_data (image, "expose-event",
++ G_CALLBACK (image_menu_exposed), icon,
+ (GClosureNotify) icon_to_load_free, 0);
+
+ g_signal_connect (image, "destroy",
diff --git a/x11/gnome-panel/files/patch-po_ja.po b/x11/gnome-panel/files/patch-po_ja.po
new file mode 100644
index 000000000..5a71e3919
--- /dev/null
+++ b/x11/gnome-panel/files/patch-po_ja.po
@@ -0,0 +1,20 @@
+--- po/ja.po.orig 2007-08-13 19:37:02.000000000 -0400
++++ po/ja.po 2007-08-14 17:00:06.000000000 -0400
+@@ -97,7 +97,7 @@ msgstr "%k:%M"
+ #. * possible.
+ #: ../applets/clock/calendar-window.c:234
+ msgid "%b %d"
+-msgstr "%b%e日"
++msgstr "%B%e日"
+
+ #: ../applets/clock/calendar-window.c:742
+ msgid "_Tasks"
+@@ -138,7 +138,7 @@ msgstr "%k:%M:%S"
+ #.
+ #: ../applets/clock/clock.c:369
+ msgid "%a %b %e"
+-msgstr "%b%e日 (%a)"
++msgstr "%B%e日 (%a)"
+
+ #. translators: reverse the order of these arguments
+ #. * if the time should come before the
diff --git a/x11/gnome-panel/files/patch-po_ko.po b/x11/gnome-panel/files/patch-po_ko.po
new file mode 100644
index 000000000..45d98a92c
--- /dev/null
+++ b/x11/gnome-panel/files/patch-po_ko.po
@@ -0,0 +1,38 @@
+--- po/ko.po.orig Sun Jul 8 18:23:19 2007
++++ po/ko.po Sun Jul 8 18:26:46 2007
+@@ -88,7 +88,7 @@
+ #. * possible.
+ #: ../applets/clock/calendar-window.c:233
+ msgid "%b %d"
+-msgstr "%b %e일"
++msgstr "%B %e일"
+
+ #: ../applets/clock/calendar-window.c:741
+ msgid "_Tasks"
+@@ -129,7 +129,7 @@
+ #.
+ #: ../applets/clock/clock.c:367
+ msgid "%a %b %e"
+-msgstr "%b %e일 (%a)"
++msgstr "%B %e일 (%a)"
+
+ #. translators: reverse the order of these arguments
+ #. * if the time should come before the
+@@ -156,7 +156,7 @@
+ #. Show date in tooltip
+ #: ../applets/clock/clock.c:520
+ msgid "%A %B %d"
+-msgstr "%b %e일 %A"
++msgstr "%B %e일 %A"
+
+ #: ../applets/clock/clock.c:534
+ msgid "Click to hide your appointments and tasks"
+@@ -188,7 +188,7 @@
+
+ #: ../applets/clock/clock.c:1073
+ msgid "%A, %B %d %Y"
+-msgstr "%Y년 %b %e일 %A"
++msgstr "%Y년 %B %e일 %A"
+
+ #: ../applets/clock/clock.c:1148
+ #, c-format