gtranslator r3645 - in trunk: . plugins/alternate-language
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3645 - in trunk: . plugins/alternate-language
- Date: Mon, 22 Sep 2008 09:40:46 +0000 (UTC)
Author: icq
Date: Mon Sep 22 09:40:46 2008
New Revision: 3645
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3645&view=rev
Log:
2008-08-01 Ignacio Casal Quinteiro <nacho resa gmail com>
* plugins/alternate-language/alternate-language-plugin.c
(impl_deactivate):
Now it removes the alternate lang widget from lateral panel.
Modified:
trunk/ChangeLog
trunk/plugins/alternate-language/alternate-language-plugin.c
Modified: trunk/plugins/alternate-language/alternate-language-plugin.c
==============================================================================
--- trunk/plugins/alternate-language/alternate-language-plugin.c (original)
+++ trunk/plugins/alternate-language/alternate-language-plugin.c Mon Sep 22 09:40:46 2008
@@ -105,11 +105,9 @@
impl_deactivate(GtranslatorPlugin *plugin,
GtranslatorWindow *window)
{
- GtkWidget *panel;
GtranslatorNotebook *notebook;
GtkWidget *alternatelang;
GList *tabs;
- gint page_num;
tabs = gtranslator_window_get_all_tabs(window);
notebook = gtranslator_window_get_notebook(window);
@@ -118,12 +116,8 @@
{
do{
alternatelang = g_object_get_data(G_OBJECT(tabs->data), WINDOW_DATA_KEY);
- panel = gtranslator_tab_get_panel (GTR_TAB(tabs->data));
-
- page_num = gtk_notebook_page_num (GTK_NOTEBOOK (panel),
- alternatelang);
- gtk_notebook_remove_page (GTK_NOTEBOOK (panel),
- page_num);
+ gtranslator_tab_remove_widget_from_lateral_panel (GTR_TAB (tabs->data),
+ alternatelang);
g_object_set_data (G_OBJECT (tabs->data), WINDOW_DATA_KEY, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]