gtranslator r3562 - trunk/src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3562 - trunk/src
- Date: Sun, 20 Apr 2008 20:21:21 +0100 (BST)
Author: icq
Date: Sun Apr 20 19:21:20 2008
New Revision: 3562
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3562&view=rev
Log:
2008-04-20 Ignacio Casal Quinteiro <nacho resa gmail com>
* window.c:
Fixed sensitive bug.
Modified:
trunk/src/ChangeLog
trunk/src/window.c
Modified: trunk/src/window.c
==============================================================================
--- trunk/src/window.c (original)
+++ trunk/src/window.c Sun Apr 20 19:21:20 2008
@@ -904,11 +904,12 @@
}
static void
-sync_state (GtranslatorTab *tab,
+sync_state (GtranslatorPo *po,
GParamSpec *pspec,
GtranslatorWindow *window)
{
- set_sensitive_according_to_tab (window, tab);
+ set_sensitive_according_to_tab (window,
+ gtranslator_tab_get_from_document (po));
}
static void
@@ -957,7 +958,7 @@
G_CALLBACK(gtranslator_window_update_statusbar_message_count),
window);
- g_signal_connect (tab,
+ g_signal_connect (gtranslator_tab_get_po (tab),
"notify::state",
G_CALLBACK (sync_state),
window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]