aboutsummaryrefslogtreecommitdiff
path: root/src/ka-gconf.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-02-14 21:02:17 +0100
committerGuido Günther <agx@sigxcpu.org>2011-02-14 21:02:17 +0100
commit7b7e3193b5647606508a0342479f7b322ec31cc6 (patch)
treef79dd9b1cfa2cf7a439be149ccbe1dac78867d37 /src/ka-gconf.c
parentDocument changes and release 0.17-1 (diff)
parentNew upstream version 2.91.6 (diff)
downloadkrb5-auth-dialog-7b7e3193b5647606508a0342479f7b322ec31cc6.tar.gz
krb5-auth-dialog-7b7e3193b5647606508a0342479f7b322ec31cc6.tar.bz2
krb5-auth-dialog-7b7e3193b5647606508a0342479f7b322ec31cc6.zip
Merge commit 'upstream/2.91.6'
Diffstat (limited to 'src/ka-gconf.c')
-rw-r--r--src/ka-gconf.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ka-gconf.c b/src/ka-gconf.c
index 4e3d1aa..0735808 100644
--- a/src/ka-gconf.c
+++ b/src/ka-gconf.c
@@ -84,19 +84,6 @@ ka_gconf_set_prompt_mins (GConfClient* client, KaApplet* applet)
static gboolean
-ka_gconf_set_show_trayicon (GConfClient* client, KaApplet* applet)
-{
- gboolean show_trayicon = TRUE;
-
- if(!ka_gconf_get_bool(client, KA_GCONF_KEY_SHOW_TRAYICON, &show_trayicon)) {
- show_trayicon = TRUE;
- }
- g_object_set(applet, "show-trayicon", show_trayicon, NULL);
- return TRUE;
-}
-
-
-static gboolean
ka_gconf_set_tgt_forwardable (GConfClient* client, KaApplet* applet)
{
gboolean forwardable = FALSE;
@@ -153,8 +140,6 @@ ka_gconf_key_changed_callback (GConfClient* client,
ka_gconf_set_principal (client, applet);
} else if (g_strcmp0 (key, KA_GCONF_KEY_PROMPT_MINS) == 0) {
ka_gconf_set_prompt_mins (client, applet);
- } else if (g_strcmp0 (key, KA_GCONF_KEY_SHOW_TRAYICON) == 0) {
- ka_gconf_set_show_trayicon (client, applet);
} else if (g_strcmp0 (key, KA_GCONF_KEY_PK_USERID) == 0) {
ka_gconf_set_pk_userid (client, applet);
} else if (g_strcmp0 (key, KA_GCONF_KEY_PK_ANCHORS) == 0) {
@@ -195,7 +180,6 @@ ka_gconf_init (KaApplet* applet)
/* setup defaults */
ka_gconf_set_principal (client, applet);
ka_gconf_set_prompt_mins (client, applet);
- ka_gconf_set_show_trayicon (client, applet);
ka_gconf_set_pk_userid(client, applet);
ka_gconf_set_pk_anchors(client, applet);
ka_gconf_set_tgt_forwardable(client, applet);
bgstack15