[glade3] * gladeui/glade-command.c: Removed explicit calls to glade_app_update_ui in command->collapse im
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * gladeui/glade-command.c: Removed explicit calls to glade_app_update_ui in command->collapse im
- Date: Sun, 2 Jan 2011 06:23:15 +0000 (UTC)
commit 8276814a518438c06475306a81f2e33c9b477f33
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Jan 2 15:29:51 2011 +0900
* gladeui/glade-command.c: Removed explicit calls to glade_app_update_ui in command->collapse
implementations... GladeProject already emits this after collapsing whenever the project
changes.
ChangeLog | 4 ++++
gladeui/glade-command.c | 6 ------
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8345111..9a5a552 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,10 @@
* gladeui/glade-project.c: Export glade_project_verify_property() to allow verification of
a single property instead of the whole widget when a property changes.
+ * gladeui/glade-command.c: Removed explicit calls to glade_app_update_ui in command->collapse
+ implementations... GladeProject already emits this after collapsing whenever the project
+ changes.
+
2011-01-01 Tristan Van Berkom <tristanvb openismus com>
* gladeui/glade-command.[ch], Added GladeProject member to base command structure, now
diff --git a/gladeui/glade-command.c b/gladeui/glade-command.c
index 681c465..d85f3a8 100644
--- a/gladeui/glade-command.c
+++ b/gladeui/glade-command.c
@@ -568,8 +568,6 @@ glade_command_set_property_collapse (GladeCommand * this_cmd,
g_free (this_cmd->description);
this_cmd->description = other_cmd->description;
other_cmd->description = NULL;
-
- glade_app_update_ui ();
}
@@ -848,8 +846,6 @@ glade_command_set_name_collapse (GladeCommand * this_cmd,
g_free (this_cmd->description);
this_cmd->description =
g_strdup_printf (_("Renaming %s to %s"), nthis->name, nthis->old_name);
-
- glade_app_update_ui ();
}
/* this function takes the ownership of name */
@@ -2234,8 +2230,6 @@ glade_command_set_i18n_collapse (GladeCommand * this_cmd,
this->old_comment = other->old_comment;
other->old_context = NULL;
other->old_comment = NULL;
-
- glade_app_update_ui ();
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]