summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>1999-06-11 20:34:21 +0000
committerEttore Perazzoli <ettore@src.gnome.org>1999-06-11 20:34:21 +0000
commit59ec83d4582f8ef0d805fd343c93508981f3b6bf (patch)
tree259cc8c5f48ffc26e599a56d9c9388ba935eb6e8 /capplets
parentc500b14cf1552ebebbc064adbf93ef3d88a7513d (diff)
downloadgnome-control-center-59ec83d4582f8ef0d805fd343c93508981f3b6bf.tar.gz
Make the "URL properties" capplet behave politely in case of an initialization
error.
Diffstat (limited to 'capplets')
-rw-r--r--capplets/url-properties/ChangeLog5
-rw-r--r--capplets/url-properties/url-properties.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/capplets/url-properties/ChangeLog b/capplets/url-properties/ChangeLog
index f9146c7bb..b7671e70c 100644
--- a/capplets/url-properties/ChangeLog
+++ b/capplets/url-properties/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-11 Ettore Perazzoli <ettore@comm2000.it>
+
+ * url-properties.c: Return if `gnome_capplet_init()' returns an
+ error. Bug reported by Nicola Pero <n.pero@mi.flashnet.it>.
+
1999-05-16 Jacob Berkman <jberk+@cmu.edu>
* url-properties.c (url_capplet_commit): added a
diff --git a/capplets/url-properties/url-properties.c b/capplets/url-properties/url-properties.c
index b936493aa..7c214864c 100644
--- a/capplets/url-properties/url-properties.c
+++ b/capplets/url-properties/url-properties.c
@@ -44,6 +44,8 @@ main(int argc, char *argv[]) {
if (init_ret == 1) {
/* nothing to init */
return 0;
+ } else if (init_ret == -1) {
+ g_error (_("Error initializing the `url-properties' capplet."));
}
build_capplet();