summaryrefslogtreecommitdiffstats
path: root/x11/gnome-panel/files
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-06 10:29:22 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-06 10:29:22 +0800
commita980ef815d51bae2b0f6f40cfa4126e8933142cd (patch)
tree4eac67653fc82b19b42e6fdae4036e5d0c9a8b9c /x11/gnome-panel/files
parent2766446506aeb26ec88a23dbc88417a8b475f745 (diff)
downloadmarcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.tar
marcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.tar.gz
marcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.tar.bz2
marcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.tar.lz
marcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.tar.xz
marcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.tar.zst
marcuscom-ports-a980ef815d51bae2b0f6f40cfa4126e8933142cd.zip
- Update to 2.13.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5033 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-panel/files')
-rw-r--r--x11/gnome-panel/files/patch-applets_clock_clock.c24
-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
5 files changed, 108 insertions, 0 deletions
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..ccf5378b1
--- /dev/null
+++ b/x11/gnome-panel/files/patch-applets_clock_clock.c
@@ -0,0 +1,24 @@
+--- applets/clock/clock.c.orig Tue Jan 13 11:55:58 2004
++++ applets/clock/clock.c Wed Jan 14 15:43:39 2004
+@@ -47,7 +47,9 @@
+ #include <dirent.h>
+ #include <string.h>
+ #include <time.h>
++#ifdef HAVE_LANGINFO_H
+ #include <langinfo.h>
++#endif
+
+ #include <panel-applet.h>
+ #include <panel-applet-gconf.h>
+@@ -539,7 +541,11 @@
+ {
+ const char *am;
+
++#ifdef HAVE_LANGINFO_H
+ am = nl_langinfo (AM_STR);
++#else
++ am = "AM";
++#endif
+ return (am[0] == '\0') ? CLOCK_FORMAT_24 : CLOCK_FORMAT_12;
+ }
+
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..1d3343b41
--- /dev/null
+++ b/x11/gnome-panel/files/patch-po_ja.po
@@ -0,0 +1,20 @@
+--- po/ja.po.orig Mon Mar 7 23:15:19 2005
++++ po/ja.po Fri Apr 8 14:12:28 2005
+@@ -105,7 +105,7 @@
+ #.
+ #: ../applets/clock/clock.c:281
+ 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
+@@ -138,7 +138,7 @@
+ #. we will display the start date in the most abbreviated way possible.
+ #: ../applets/clock/clock.c:591
+ msgid "%b %d"
+-msgstr "%b%e日"
++msgstr "%B%e日"
+
+ #: ../applets/clock/clock.c:890
+ msgid "Tasks"