aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
authorSarfraaz Ahmed <asarfraaz@novell.com>2005-07-25 16:15:34 +0800
committerAhmed Sarfraaz <sarfraaz@src.gnome.org>2005-07-25 16:15:34 +0800
commitabee01230b62448ce5e021d4af98f92a9681eaa2 (patch)
tree9ebb65a56503b877e4f139a78fae79d3a700aaae /shell/e-component-registry.c
parenta65f459a192c0a8ba2b0cf328ceefa4810a208d1 (diff)
downloadgsoc2013-evolution-abee01230b62448ce5e021d4af98f92a9681eaa2.tar.gz
gsoc2013-evolution-abee01230b62448ce5e021d4af98f92a9681eaa2.tar.zst
gsoc2013-evolution-abee01230b62448ce5e021d4af98f92a9681eaa2.zip
Dont enter default values for button label and menu label Dont add the
2005-07-21 Sarfraaz Ahmed <asarfraaz@novell.com> * e-component-registry.c (query_components): Dont enter default values for button label and menu label * e-shell-window.c (setup_widgets): Dont add the sidebar button when there is no label. svn path=/trunk/; revision=29883
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index 218da86015..2545b21f22 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -201,14 +201,10 @@ query_components (EComponentRegistry *registry)
}
label = bonobo_server_info_prop_lookup (& info_list->_buffer[i], "evolution:button_label", language_list);
- if (label == NULL)
- label = g_strdup (_("Unknown"));
-
+
tooltips = bonobo_server_info_prop_lookup (& info_list->_buffer[i], "evolution:button_tooltips", language_list);
menu_label = bonobo_server_info_prop_lookup (& info_list->_buffer[i], "evolution:menu_label", language_list);
- if (menu_label == NULL)
- menu_label = g_strdup (_("Unknown"));
menu_accelerator = bonobo_server_info_prop_lookup (& info_list->_buffer[i], "evolution:menu_accelerator", language_list);