diff options
author | Ted Gould <ted@gould.cx> | 2011-02-17 21:09:13 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-17 21:09:13 -0600 |
commit | 3d8b8738f8f8b757132d442cbca57aae0c871eb3 (patch) | |
tree | 33b15e7f27cfc93545b734947c1011932c3a12a3 | |
parent | 02d6bd3f749237e4361845368eb96a0250212a93 (diff) | |
download | libdbusmenu-3d8b8738f8f8b757132d442cbca57aae0c871eb3.tar.gz libdbusmenu-3d8b8738f8f8b757132d442cbca57aae0c871eb3.tar.bz2 libdbusmenu-3d8b8738f8f8b757132d442cbca57aae0c871eb3.zip |
Adding a the text direction stub functions in.
-rw-r--r-- | libdbusmenu-glib/server.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c index 5946db1..a2a4557 100644 --- a/libdbusmenu-glib/server.c +++ b/libdbusmenu-glib/server.c @@ -1204,5 +1204,39 @@ dbusmenu_server_set_root (DbusmenuServer * self, DbusmenuMenuitem * root) return; } +/** + dbusmenu_server_get_text_direction: + @server: The #DbusmenuServer object to get the text direction from + + Returns the value of the text direction that is being exported + over DBus for this server. It should relate to the direction + of the labels and other text fields that are being exported by + this server. + + Return value: Text direction exported for this server. +*/ +DbusmenuTextDirection +dbusmenu_server_get_text_direction (DbusmenuServer * server) +{ + return DBUSMENU_TEXT_DIRECTION_NONE; +} + +/** + dbusmenu_server_set_text_direction: + @server: The #DbusmenuServer object to set the text direction on + + Sets the text direction that should be exported over DBus for + this server. If the value is set to #DBUSMENU_TEXT_DIRECTION_NONE + the default detection will be used for setting the value and + exported over DBus. +*/ +void +dbusmenu_server_set_text_direction (DbusmenuServer * server, DbusmenuTextDirection dir) +{ + + + return; +} + |