1 |
pva 08/02/25 14:45:57 |
2 |
|
3 |
Added: stardict-2.4.8-ClipboardReceivedCallback.patch |
4 |
stardict-2.4.8-floatwin-disappear.patch |
5 |
Log: |
6 |
Version bump, finally startdict-3.0.1 is in the tree. Thank you Zhang Le, jjmmma, Pro and others for work in bug #188684! Fixed compile problem and popup window "jumping away" problem, bug #188827 and #195882, thank Ed Catmur, Evgeniy Dushistov and other people for help, fix and investigations of these bugs. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-dicts/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-2.4.8-ClipboardReceivedCallback.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: stardict-2.4.8-ClipboardReceivedCallback.patch |
16 |
=================================================================== |
17 |
--- trunk/src/mainwin.h 2006/08/08 12:44:42 1 |
18 |
+++ trunk/src/mainwin.h 2006/08/09 19:00:35 2 |
19 |
@@ -68,8 +68,6 @@ |
20 |
static void on_main_menu_about_activate(GtkMenuItem *menuitem, TopWin *oTopWin); |
21 |
static void on_main_menu_quit_activate(GtkMenuItem *menuitem, TopWin *oTopWin); |
22 |
|
23 |
- static void ClipboardReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data); |
24 |
- |
25 |
void LoadHistory(void); |
26 |
void SaveHistory(void); |
27 |
public: |
28 |
@@ -97,7 +95,7 @@ |
29 |
bool HasFocus() { |
30 |
return GTK_WIDGET_HAS_FOCUS(GTK_COMBO(WordCombo)->entry); |
31 |
} |
32 |
- |
33 |
+ static void ClipboardReceivedCallback(GtkClipboard *clipboard, const gchar *text, gpointer data); |
34 |
}; |
35 |
|
36 |
class ListWin |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-dicts/stardict/files/stardict-2.4.8-floatwin-disappear.patch |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-2.4.8-floatwin-disappear.patch?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/files/stardict-2.4.8-floatwin-disappear.patch?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: stardict-2.4.8-floatwin-disappear.patch |
46 |
=================================================================== |
47 |
Index: stardict-2.4.8/src/floatwin.cpp |
48 |
=================================================================== |
49 |
--- stardict-2.4.8.orig/src/floatwin.cpp |
50 |
+++ stardict-2.4.8/src/floatwin.cpp |
51 |
@@ -788,7 +788,7 @@ gboolean FloatWin::vButtonReleaseCallbac |
52 |
|
53 |
gboolean FloatWin::vMotionNotifyCallback (GtkWidget * widget, GdkEventMotion * event , FloatWin *oFloatWin) |
54 |
{ |
55 |
- if (event->window == oFloatWin->FloatWindow->window || (event->state & GDK_BUTTON1_MASK)) |
56 |
+ if (event->state & GDK_BUTTON1_MASK) |
57 |
{ |
58 |
gint x,y; |
59 |
x = oFloatWin->press_window_x + (gint)(event->x_root) - oFloatWin->press_x_root; |
60 |
|
61 |
|
62 |
|
63 |
-- |
64 |
gentoo-commits@l.g.o mailing list |