summaryrefslogtreecommitdiff
path: root/x11/xpad/patches
diff options
context:
space:
mode:
authorobache <obache>2011-01-25 08:33:27 +0000
committerobache <obache>2011-01-25 08:33:27 +0000
commit137231dbfd55a29218f7459e9ec74c7f88846bd2 (patch)
treee7f751c4a7fd6b6144f913d199bccdfcf308d83d /x11/xpad/patches
parent9f7be7dfcafcc684164a777f07bb1ce4bde7e500 (diff)
downloadpkgsrc-137231dbfd55a29218f7459e9ec74c7f88846bd2.tar.gz
Update xpad to 4.0.
Version 4.0 * Added --toggle (between --hide and --show). Patch by Paul Ivanov. * Updated French, Japanese, Russian, Spanish, and Swedish translations * New Croatian, Estonian, German, Portuguese, Thai, and Turkish translations Version 3.1 * Updated Danish, French, Russian, Spanish, and Swedish translations * New Czech, Japanese, and Latvian translations Version 3.0 * Don't wake up every 20 milliseconds to check session management messages. Rather, wait for an event. * Add --hide/--show, removed --hide-old. --hide and --show affect all pads on startup or can be used on an already running xpad instance. Patch by Jan Losinski. * Update icon to be less aliased * Relicense as GPL v3+ Version 2.14 * Fix 100% CPU bug Version 2.13 * Requires GTK+ 2.12 * Fix pads possibly not remembering location after close * Fix pad-closed state not being remembered * Uses native status icon code in GTK+ * Maybe, possibly fix some 'pad on all workspaces' problems * New Chinese (simplified) translation (Meng Jie) * New English (British) translation (David Lodge) * New Finnish translation (Jorma Karvonen) * New Korean translation (KwangSub Lee) * Updated Dutch translation (Benno Schulenberg) * Updated Slovak translation (Andrej Kacian) * Fixed Danish, Swedish translations Version 2.12 * Fix a crash when loading pads with formatting Version 2.11 * If window decorations are turned on, pads will now show up in the taskbar * Added -f option to open a file as a note * New Chinese (simplified) translation (Meng Jie) * New Danish translation (Morten Bo Johansen) * New Swedish translation (Daniel Nylander) * Updated Chinese (traditional) translation (Wei-Lun Chao) Version 2.10 * Fix a possible crash when deleting pads with autohide toolbar * Make toolbar buttons smaller * Make toolbar appear inside pad if there is enough unused space * New Slovak translation (Andrej Kacian) * New Slovenian translation (Matej Urbančič) Version 2.9 * Fix pads saving slightly off bad x,y values * Fix pads saving bad heights when toolbar always on (Sham Chukoury) * Fix possible crash from not allocating enough memory (Federico Schwindt) * New Malay translation (Sharuzzaman Ahmat Raslan) Version 2.8 * Allow translations to be used (broken for a couple versions) * New Chinese (traditional) translation (Wei-Lun Chao) * Removed half-baked Esperanto translation Version 2.7 * Stop pads from popping toolbar while the pad is moving/resizing * Make sure pads use correct sizes when autohide is off (Sham Chukoury) * New Bulgarian translation (Yavor Doganov) * New Kinyarwanda translation (Steve Murphy et al) Version 2.6 * Stop pad windows from 'jumping' when dragged via the toolbar * Updated Hungarian translation (Németh Csaba) * Updated Irish translation (Kevin Patrick Scannell) * Updated Vietnamese translation (Clytie Siddall) Version 2.5 * Stop making all new pads start in top left * Stop closing xpad if toggling window decorations with only one pad open * Stop losing pad contents if upgrading from old versions of xpad Version 2.4 * Create the configuration directory if it doesn't exist Version 2.3 * Fixed a compile bug with binreloc and threading Version 2.2 * Bumped GTK+ dependency to 2.6 * New About dialog (using GtkAboutDialog) * New default location for configuration files: ~/.config/xpad * Updated icon (now uses lighter colors) * Use GOption for command-line parsing * New command-line option --hide-old (or -H) to not show old pads * Renamed command-line option --nonew to --no-new and added -N shortcut * Allow running from console if we don't need to do anything graphical * Readded keyboard shortcuts * Updated antiquated man page * New Hungarian translation (Németh Csaba) * New Vietnamese translation (Clytie Siddall) * Updated Irish translation (Kevin Patrick Scannell) Version 2.1 * Fix tray icon being the wrong size * Fix xpad to close when no tray and no open pads Version 2.0 * Fix notes list to display correct number of pads * Fix notification icon from not doing anything * Fix compilation when BinReloc is disabled * Fix compilation with gcc 3.4 * Fix endianness issue with preference files * Updated Dutch translation (Elros Cyriatan) Version 2.0-b3 * Use BinReloc to allow any-prefix installs of xpad to work * Fixed a double-free bug that caused some problems with new pads * Updated Irish translation (Kevin Patrick Scannell) * Updated Spanish translation (Ramon Rey Vicente) Version 2.0-b2 * Redesigned preferences and pad properties dialogs * If the tray disappears (e.g. killall gnome-panel), xpad's icon reappears * More formally ask window manager to make us skip taskbar and pager * New, lighter default color for pads * Lots of internal code cleanup * Fixed a crasher with not being able to find window icons * Fixed some crashers with turning off toolbar * Fixed bug with text cursor color being one color change behind Version 2.0-b1 * The text cursor is now always the same color as the text color * Formatting can now be applied to selected text * Pads remember their hidden state * Rewritten toolbar, allowing easier adding/removing/moving buttons * Simplified preferences dialog; many functions are now accessed from popup menu * --new now also loads the old pads, instead of the previous broken behavior * Fixed bug with pads over the 9th not having numbers in note lists * Fixed bug with inter process communicating causing only first communication to work * Fixed bug with pads becoming unstyled after closing and reopening * New Afrikaans translation (Petri Jooste) * New French translation (Michel Robitaille) Version 1.13 * Don't close xpad if no pads are open but the system tray is * Made translations work again * New Spanish translation (Ramon Rey Vicente) * Updated Dutch translation (Elros Cyriatan) * Updated Irish translation (Kevin Patrick Scannell)
Diffstat (limited to 'x11/xpad/patches')
-rw-r--r--x11/xpad/patches/patch-ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11/xpad/patches/patch-ac b/x11/xpad/patches/patch-ac
new file mode 100644
index 00000000000..8652bfb9e38
--- /dev/null
+++ b/x11/xpad/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.1 2011/01/25 08:33:27 obache Exp $
+
+* Use API for set window properties.
+ construct property "type" for object can't be set after construction.
+
+--- src/xpad-pad.c.orig 2009-05-11 01:44:09.000000000 +0000
++++ src/xpad-pad.c
+@@ -268,16 +268,14 @@ xpad_pad_init (XpadPad *pad)
+ NULL));
+ gtk_container_child_set (GTK_CONTAINER (vbox), pad->priv->toolbar, "expand", FALSE, NULL);
+
++ gtk_window_set_decorated (GTK_WINDOW(pad), xpad_settings_get_has_decorations (xpad_settings ()));
++ gtk_window_set_default_size (GTK_WINDOW(pad), xpad_settings_get_width (xpad_settings ()), xpad_settings_get_height (xpad_settings ()));
++ gtk_window_set_gravity (GTK_WINDOW(pad), GDK_GRAVITY_STATIC); /* static gravity makes saving pad x,y work */
++ gtk_window_set_skip_pager_hint (GTK_WINDOW(pad),xpad_settings_get_has_decorations (xpad_settings ()));
++ gtk_window_set_skip_taskbar_hint (GTK_WINDOW(pad), !xpad_settings_get_has_decorations (xpad_settings ()));
++ gtk_window_set_type_hint (GTK_WINDOW(pad), GDK_WINDOW_TYPE_HINT_NORMAL);
++ gtk_window_set_position (GTK_WINDOW(pad), GTK_WIN_POS_MOUSE);
+ g_object_set (G_OBJECT (pad),
+- "decorated", xpad_settings_get_has_decorations (xpad_settings ()),
+- "default-height", xpad_settings_get_height (xpad_settings ()),
+- "default-width", xpad_settings_get_width (xpad_settings ()),
+- "gravity", GDK_GRAVITY_STATIC, /* static gravity makes saving pad x,y work */
+- "skip-pager-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
+- "skip-taskbar-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
+- "type", GTK_WINDOW_TOPLEVEL,
+- "type-hint", GDK_WINDOW_TYPE_HINT_NORMAL,
+- "window-position", GTK_WIN_POS_MOUSE,
+ "child", vbox,
+ NULL);
+