gtranslator r3669 - trunk/src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3669 - trunk/src
- Date: Mon, 22 Sep 2008 09:42:01 +0000 (UTC)
Author: icq
Date: Mon Sep 22 09:42:01 2008
New Revision: 3669
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3669&view=rev
Log:
2008-08-07 Ignacio Casal Quinteiro <nacho resa gmail com>
* window.c (showed_message_cb), (notebook_tab_added):
Fixed sensitive problem. It wasn't updating well the message sensitive.
Modified:
trunk/src/ChangeLog
trunk/src/window.c
Modified: trunk/src/window.c
==============================================================================
--- trunk/src/window.c (original)
+++ trunk/src/window.c Mon Sep 22 09:42:01 2008
@@ -909,6 +909,18 @@
}
static void
+showed_message_cb (GtranslatorTab *tab,
+ GtranslatorMsg *msg,
+ GtranslatorWindow *window)
+{
+ g_return_if_fail (GTR_IS_TAB (tab));
+
+ gtranslator_window_update_statusbar_message_count (tab, msg, window);
+
+ set_sensitive_according_to_message (window, gtranslator_tab_get_po (tab));
+}
+
+static void
notebook_tab_added(GtkNotebook *notebook,
GtkWidget *child,
guint page_num,
@@ -951,7 +963,7 @@
window);
g_signal_connect_after (child,
"showed_message",
- G_CALLBACK(gtranslator_window_update_statusbar_message_count),
+ G_CALLBACK(showed_message_cb),
window);
g_signal_connect (gtranslator_tab_get_po (tab),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]