[easytag] Update images number in notebook title, bug 699005
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Update images number in notebook title, bug 699005
- Date: Sun, 28 Apr 2013 12:54:02 +0000 (UTC)
commit 8d12f32750f0e9ac109e09371984223273426ca4
Author: Valeri Nistor <nistor valeri gmail com>
Date: Sun Apr 28 15:25:49 2013 +0300
Update images number in notebook title, bug 699005
src/picture.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/picture.c b/src/picture.c
index be0e8b6..d22373d 100644
--- a/src/picture.c
+++ b/src/picture.c
@@ -169,6 +169,13 @@ void Picture_Clear_Button_Clicked (GObject *object)
gtk_tree_row_reference_free(node->data);
n++;
}
+
+ if (ETCore->ETFileDisplayed)
+ {
+ ET_Save_File_Data_From_UI (ETCore->ETFileDisplayed);
+ ET_Display_File_Data_To_UI (ETCore->ETFileDisplayed);
+ }
+
g_list_free(refs);
}
@@ -370,6 +377,13 @@ void Picture_Add_Button_Clicked (GObject *object)
g_free(init_dir);
init_dir = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(FileSelectionWindow));
}
+
+ if (ETCore->ETFileDisplayed)
+ {
+ ET_Save_File_Data_From_UI (ETCore->ETFileDisplayed);
+ ET_Display_File_Data_To_UI (ETCore->ETFileDisplayed);
+ }
+
gtk_widget_destroy(FileSelectionWindow);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]