diff options
Diffstat (limited to 'x11-toolkits/py-gnome-desktop/files')
-rw-r--r-- | x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c | 20 | ||||
-rw-r--r-- | x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs | 26 |
2 files changed, 46 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c new file mode 100644 index 000000000..05db58a4c --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/files/patch-gtop_gtop.c @@ -0,0 +1,20 @@ +--- gtop/gtop.c.orig Wed May 18 00:54:59 2005 ++++ gtop/gtop.c Wed May 18 00:54:12 2005 +@@ -44,6 +44,7 @@ + + #include <sys/types.h> + #include <sys/socket.h> ++#include <netinet/in.h> + #include <arpa/inet.h> + + +@@ -1316,8 +1317,8 @@ build_siglist(void) + + for(i = 0; i < len; ++i) + { +- p = &glibtop_sys_siglist[i]; + PyObject* d; ++ p = &glibtop_sys_siglist[i]; + + d = PyDict_New(); + my_dict_add_and_decref(d, "number", PyI_L(p->number)); diff --git a/x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs b/x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs new file mode 100644 index 000000000..0f9230bb6 --- /dev/null +++ b/x11-toolkits/py-gnome-desktop/files/patch-metacity-metacity.defs @@ -0,0 +1,26 @@ +--- metacity/metacity.defs.orig Sat Apr 7 08:31:52 2007 ++++ metacity/metacity.defs Sat Apr 7 08:33:40 2007 +@@ -131,16 +131,16 @@ + ) + ) + +-(define-enum ActionDoubleClickTitlebar ++(define-enum ActionTitlebar + (in-module "Meta") +- (c-name "MetaActionDoubleClickTitlebar") ++ (c-name "MetaActionTitlebar") + ; (gtype-id "META_TYPE_ACTION_TITLEBAR") + (values +- '("toggle-shade" "META_ACTION_DOUBLE_CLICK_TITLEBAR_TOGGLE_SHADE") +- '("toggle-maximize" "META_ACTION_DOUBLE_CLICK_TITLEBAR_TOGGLE_MAXIMIZE") +- '("minimize" "META_ACTION_DOUBLE_CLICK_TITLEBAR_MINIMIZE") +- '("none" "META_ACTION_DOUBLE_CLICK_TITLEBAR_NONE") +- '("last" "META_ACTION_DOUBLE_CLICK_TITLEBAR_LAST") ++ '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE") ++ '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE") ++ '("minimize" "META_ACTION_TITLEBAR_MINIMIZE") ++ '("none" "META_ACTION_TITLEBAR_NONE") ++ '("last" "META_ACTION_TITLEBAR_LAST") + ) + ) + |