diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/transmission-remote-gtk.schemas | 26 | ||||
-rw-r--r-- | src/trg-state-selector.c | 4 |
2 files changed, 28 insertions, 2 deletions
diff --git a/src/transmission-remote-gtk.schemas b/src/transmission-remote-gtk.schemas index 6e8f784..6fa2cc8 100644 --- a/src/transmission-remote-gtk.schemas +++ b/src/transmission-remote-gtk.schemas @@ -28,6 +28,32 @@ </schema> <schema> + <key>/schemas/apps/transmission-remote-gtk/filter-dirs</key> + <applyto>/apps/transmission-remote-gtk/filter-dirs</applyto> + <owner>transmission-remote-gtk</owner> + <type>bool</type> + <default>0</default> + + <locale name="C"> + <short>Filter dirs</short> + <long>Filter dirs</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/transmission-remote-gtk/filter-trackers</key> + <applyto>/apps/transmission-remote-gtk/filter-trackers</applyto> + <owner>transmission-remote-gtk</owner> + <type>bool</type> + <default>1</default> + + <locale name="C"> + <short>Filter trackers</short> + <long>Filter trackers</long> + </locale> + </schema> + + <schema> <key>/schemas/apps/transmission-remote-gtk/ssl</key> <applyto>/apps/transmission-remote-gtk/ssl</applyto> <owner>transmission-remote-gtk</owner> diff --git a/src/trg-state-selector.c b/src/trg-state-selector.c index b6447ee..1cde8a2 100644 --- a/src/trg-state-selector.c +++ b/src/trg-state-selector.c @@ -437,8 +437,8 @@ TrgStateSelector *trg_state_selector_new(trg_client * client) priv->client = client; priv->showDirs = - gconf_client_get_bool_or_true(client->gconf, - TRG_GCONF_KEY_FILTER_DIRS); + gconf_client_get_bool(client->gconf, + TRG_GCONF_KEY_FILTER_DIRS, NULL); priv->showTrackers = gconf_client_get_bool_or_true(client->gconf, TRG_GCONF_KEY_FILTER_TRACKERS); |