Author: kelnos
Date: 2008-04-28 01:29:06 +0000 (Mon, 28 Apr 2008)
New Revision: 26896
Modified:
xfconf/trunk/common/xfconf-types.c
xfconf/trunk/docs/reference/tmpl/xfconf-backend.sgml
xfconf/trunk/docs/reference/tmpl/xfconf-channel.sgml
xfconf/trunk/docs/reference/tmpl/xfconf-errors.sgml
xfconf/trunk/docs/reference/tmpl/xfconf-unused.sgml
xfconf/trunk/docs/reference/xfconf-sections.txt
xfconf/trunk/po/POTFILES.in
xfconf/trunk/po/xfconf.pot
xfconf/trunk/xfconf/xfconf-channel.c
Log:
update docs, po
Modified: xfconf/trunk/common/xfconf-types.c
===================================================================
--- xfconf/trunk/common/xfconf-types.c 2008-04-27 13:39:30 UTC (rev 26895)
+++ xfconf/trunk/common/xfconf-types.c 2008-04-28 01:29:06 UTC (rev 26896)
@@ -30,6 +30,20 @@
#include <gobject/gvaluecollector.h>
+
+/**
+ * XFCONF_TYPE_UINT16:
+ *
+ * The registered #GType for a 16-bit unsigned type.
+ **/
+
+/**
+ * XFCONF_TYPE_INT16:
+ *
+ * The registered #GType for a 16-bit signed type.
+ **/
+
+
static void
gvalue_from_short(const GValue *src_value,
GValue *dest_value)
Modified: xfconf/trunk/docs/reference/tmpl/xfconf-backend.sgml
===================================================================
--- xfconf/trunk/docs/reference/tmpl/xfconf-backend.sgml 2008-04-27
13:39:30 UTC (rev 26895)
+++ xfconf/trunk/docs/reference/tmpl/xfconf-backend.sgml 2008-04-28
01:29:06 UTC (rev 26896)
@@ -140,3 +140,13 @@
@Returns:
+<!-- ##### FUNCTION xfconf_backend_register_property_changed_func ##### -->
+<para>
+
+</para>
+
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
+
+
Modified: xfconf/trunk/docs/reference/tmpl/xfconf-channel.sgml
===================================================================
--- xfconf/trunk/docs/reference/tmpl/xfconf-channel.sgml 2008-04-27
13:39:30 UTC (rev 26895)
+++ xfconf/trunk/docs/reference/tmpl/xfconf-channel.sgml 2008-04-28
01:29:06 UTC (rev 26896)
@@ -31,8 +31,9 @@
</para>
[EMAIL PROTECTED]: the object which received the signal.
[EMAIL PROTECTED]:
[EMAIL PROTECTED]: the object which received the signal.
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
<!-- ##### ARG XfconfChannel:channel-name ##### -->
<para>
@@ -108,6 +109,17 @@
@Returns:
+<!-- ##### FUNCTION xfconf_channel_get_uint ##### -->
+<para>
+
+</para>
+
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
+
+
<!-- ##### FUNCTION xfconf_channel_get_uint64 ##### -->
<para>
@@ -174,6 +186,17 @@
@Returns:
+<!-- ##### FUNCTION xfconf_channel_set_uint ##### -->
+<para>
+
+</para>
+
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
+
+
<!-- ##### FUNCTION xfconf_channel_set_uint64 ##### -->
<para>
Modified: xfconf/trunk/docs/reference/tmpl/xfconf-errors.sgml
===================================================================
--- xfconf/trunk/docs/reference/tmpl/xfconf-errors.sgml 2008-04-27 13:39:30 UTC
(rev 26895)
+++ xfconf/trunk/docs/reference/tmpl/xfconf-errors.sgml 2008-04-28 01:29:06 UTC
(rev 26896)
@@ -38,4 +38,5 @@
@XFCONF_ERROR_PERMISSION_DENIED: The user is not allowed to read or write to
the channel or property
@XFCONF_ERROR_INTERNAL_ERROR: An internal error (likely a bug in xfconf)
occurred
@XFCONF_ERROR_NO_BACKEND: No backends were found, or those found could not be
loaded
[EMAIL PROTECTED]: The property name specified was invalid
Modified: xfconf/trunk/docs/reference/tmpl/xfconf-unused.sgml
===================================================================
--- xfconf/trunk/docs/reference/tmpl/xfconf-unused.sgml 2008-04-27 13:39:30 UTC
(rev 26895)
+++ xfconf/trunk/docs/reference/tmpl/xfconf-unused.sgml 2008-04-28 01:29:06 UTC
(rev 26896)
@@ -53,6 +53,12 @@
@obj:
+<!-- ##### MACRO XFCONF_TYPE_ERROR ##### -->
+<para>
+
+</para>
+
+
<!-- ##### FUNCTION xfconf_backend_get_error_quark ##### -->
<para>
Modified: xfconf/trunk/docs/reference/xfconf-sections.txt
===================================================================
--- xfconf/trunk/docs/reference/xfconf-sections.txt 2008-04-27 13:39:30 UTC
(rev 26895)
+++ xfconf/trunk/docs/reference/xfconf-sections.txt 2008-04-28 01:29:06 UTC
(rev 26896)
@@ -8,12 +8,14 @@
xfconf_channel_get_string
xfconf_channel_get_string_list
xfconf_channel_get_int
+xfconf_channel_get_uint
xfconf_channel_get_uint64
xfconf_channel_get_double
xfconf_channel_get_bool
xfconf_channel_set_string
xfconf_channel_set_string_list
xfconf_channel_set_int
+xfconf_channel_set_uint
xfconf_channel_set_uint64
xfconf_channel_set_double
xfconf_channel_set_bool
@@ -55,6 +57,7 @@
xfconf_backend_remove
xfconf_backend_remove_channel
xfconf_backend_flush
+xfconf_backend_register_property_changed_func
<SUBSECTION Standard>
XFCONF_BACKEND
XFCONF_IS_BACKEND
@@ -74,6 +77,8 @@
<FILE>xfconf-errors</FILE>
XFCONF_ERROR
XfconfError
+<SUBSECTION Standard>
+XFCONF_TYPE_ERROR
</SECTION>
<SECTION>
@@ -82,6 +87,9 @@
xfconf_g_value_get_uint16
xfconf_g_value_set_int16
xfconf_g_value_set_uint16
+<SUBSECTION Standard>
+XFCONF_TYPE_INT16
+XFCONF_TYPE_UINT16
</SECTION>
<SECTION>
Modified: xfconf/trunk/po/POTFILES.in
===================================================================
--- xfconf/trunk/po/POTFILES.in 2008-04-27 13:39:30 UTC (rev 26895)
+++ xfconf/trunk/po/POTFILES.in 2008-04-28 01:29:06 UTC (rev 26896)
@@ -2,6 +2,7 @@
xfsettingsd/main.c
xfconfd/xfconf-backend-perchannel-xml.c
xfconfd/xfconf-backend-factory.c
+xfconfd/xfconf-backend.c
xfconfd/main.c
xfconfd/xfconf-daemon.c
xfconf-query/main.c
Modified: xfconf/trunk/po/xfconf.pot
===================================================================
--- xfconf/trunk/po/xfconf.pot 2008-04-27 13:39:30 UTC (rev 26895)
+++ xfconf/trunk/po/xfconf.pot 2008-04-28 01:29:06 UTC (rev 26896)
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-04-11 00:33+0200\n"
+"POT-Creation-Date: 2008-04-23 23:57-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n"
"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
@@ -17,19 +17,19 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: common/xfconf-gvaluefuncs.c:208
+#: common/xfconf-gvaluefuncs.c:243
msgid "true"
msgstr ""
-#: common/xfconf-gvaluefuncs.c:209
+#: common/xfconf-gvaluefuncs.c:244
msgid "false"
msgstr ""
-#: xfsettingsd/main.c:50 xfconf-query/main.c:52
+#: xfsettingsd/main.c:50 xfconf-query/main.c:94
msgid "Version information"
msgstr ""
-#: xfsettingsd/main.c:54 xfconf-query/main.c:56
+#: xfsettingsd/main.c:54 xfconf-query/main.c:114
msgid "Verbose output"
msgstr ""
@@ -69,30 +69,30 @@
msgid "Unable to remove channel \"%s\": %s"
msgstr ""
-#: xfconfd/xfconf-backend-perchannel-xml.c:1037
-#: xfconfd/xfconf-backend-perchannel-xml.c:1107
+#: xfconfd/xfconf-backend-perchannel-xml.c:1002
+#: xfconfd/xfconf-backend-perchannel-xml.c:1072
#, c-format
msgid "Invalid type for <%s>: \"%s\""
msgstr ""
-#: xfconfd/xfconf-backend-perchannel-xml.c:1049
-#: xfconfd/xfconf-backend-perchannel-xml.c:1119
+#: xfconfd/xfconf-backend-perchannel-xml.c:1014
+#: xfconfd/xfconf-backend-perchannel-xml.c:1084
#, c-format
msgid "Unable to parse value of type \"%s\" from \"%s\""
msgstr ""
-#: xfconfd/xfconf-backend-perchannel-xml.c:1098
+#: xfconfd/xfconf-backend-perchannel-xml.c:1063
#, c-format
msgid "The type attribute of <value> cannot be an array"
msgstr ""
-#: xfconfd/xfconf-backend-perchannel-xml.c:1366
-#: xfconfd/xfconf-backend-perchannel-xml.c:1604
+#: xfconfd/xfconf-backend-perchannel-xml.c:1331
+#: xfconfd/xfconf-backend-perchannel-xml.c:1569
#, c-format
msgid "Channel \"%s\" does not exist"
msgstr ""
-#: xfconfd/xfconf-backend-perchannel-xml.c:1649
+#: xfconfd/xfconf-backend-perchannel-xml.c:1614
#, c-format
msgid "Unable to write channel \"%s\": %s"
msgstr ""
@@ -120,24 +120,62 @@
msgid "Report bugs to http://bugs.xfce.org/\n"
msgstr ""
-#: xfconfd/xfconf-daemon.c:395
+#: xfconfd/xfconf-daemon.c:396
#, c-format
msgid "Another Xfconf daemon is already running"
msgstr ""
-#: xfconfd/xfconf-daemon.c:431
+#: xfconfd/xfconf-daemon.c:432
#, c-format
msgid "No backends could be started"
msgstr ""
-#: xfconf-query/main.c:60
+#: xfconf-query/main.c:98
msgid "pick the channel"
msgstr ""
-#: xfconf-query/main.c:64
+#: xfconf-query/main.c:102
msgid "pick the property"
msgstr ""
-#: xfconf-query/main.c:68
+#: xfconf-query/main.c:106
msgid "set (change the value)"
msgstr ""
+
+#: xfconf-query/main.c:110
+msgid "List properties"
+msgstr ""
+
+#: xfconf-query/main.c:118
+msgid "Create new entry"
+msgstr ""
+
+#: xfconf-query/main.c:122
+msgid "Specify the property value type"
+msgstr ""
+
+#: xfconf-query/main.c:126
+msgid "Remove property"
+msgstr ""
+
+#: xfconf-query/main.c:212
+#, c-format
+msgid "Unable to convert \"%s\" to type\n"
+msgstr ""
+
+#: xfconf-query/main.c:226
+#, c-format
+msgid "ERROR: Could not convert value\n"
+msgstr ""
+
+#: xfconf-query/main.c:233
+#, c-format
+msgid ""
+"ERROR: Property '%s' missing\n"
+"from channel '%s'\n"
+msgstr ""
+
+#: xfconf-query/main.c:249
+#, c-format
+msgid "Channel '%s' contains no properties\n"
+msgstr ""
Modified: xfconf/trunk/xfconf/xfconf-channel.c
===================================================================
--- xfconf/trunk/xfconf/xfconf-channel.c 2008-04-27 13:39:30 UTC (rev
26895)
+++ xfconf/trunk/xfconf/xfconf-channel.c 2008-04-28 01:29:06 UTC (rev
26896)
@@ -72,7 +72,6 @@
{
GObjectClass parent;
- /*< signals >*/
void (*property_changed)(XfconfChannel *channel,
const gchar *property,
const GValue *value);
@@ -126,10 +125,16 @@
/**
* XfconfChannel::property-changed:
- * @channel: An #XfconfChannel.
- * @property: A property name.
+ * @channel: The #XfconfChannel emitting the signal.
+ * @property: The property that changed.
+ * @value: The new value.
*
- * Emitted when a property on @channel has changed.
+ * Emitted whenever a property on @channel has changed. If
+ * the change was caused by the removal of @property, @value
+ * will be unset; you should test this with
+ * <informalexample><programlisting>
+ * G_VALUE_TYPE(value) == G_TYPE_INVALID
+ * </programlisting></informalexample>
**/
signals[SIG_PROPERTY_CHANGED] = g_signal_new("property-changed",
XFCONF_TYPE_CHANNEL,
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits