Se ha modificado el archivo de descripción del módulo y del menú para adaptarlo al comportamiento actual de hedera.

This commit is contained in:
Alejandro T. Colombini Gómez 2014-07-09 09:28:23 +02:00
parent 1ebde52dd1
commit 81a7bb1008
7 changed files with 39 additions and 15 deletions

View File

@ -1,6 +1,6 @@
account_data_DATA = \ account_data_DATA = \
account-menu.glade\ account-menu.xml\
account.xml \ account.xml \
users.glade \ users.glade \
email.glade email.glade

View File

@ -1,18 +1,18 @@
<!DOCTYPE hedera-module>
<module> <module>
<library translatable="yes" name="account">Accounts</library> <library translatable="yes" name="account">Accounts</library>
<action-group>
<action translatable="yes" name="action-menu-account">_Accounts</action>
</action-group>
<form-group> <form-group>
<form <form
translatable="yes" translatable="yes"
name="users" name="users"
icon="x-office-address-book" icon="x-office-address-book">
action-name="open-users">Users</form> Users
</form>
<form <form
translatable="yes" translatable="yes"
name="email" name="email"
icon="mail-mark-unread" icon="mail-mark-unread">
action-name="open-email">E-Mail</form> E-Mail
</form>
</form-group> </form-group>
</module> </module>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 --> <!-- Generated with glade 3.18.3 -->
<interface> <interface>
<requires lib="gtk+" version="3.0"/> <requires lib="gtk+" version="3.12"/>
<requires lib="vn" version="1.0"/> <requires lib="vn" version="1.0"/>
<object class="VnBatch" id="models"> <object class="VnBatch" id="models">
<child> <child>
@ -78,6 +78,9 @@
<property name="title" translatable="yes">Alias</property> <property name="title" translatable="yes">Alias</property>
<property name="column_name">alias</property> <property name="column_name">alias</property>
<property name="editable">True</property> <property name="editable">True</property>
<child internal-child="cell">
<object class="GtkCellRendererText" id="column-entry-cell1"/>
</child>
</object> </object>
</child> </child>
</object> </object>
@ -94,7 +97,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="iterator">alias</property> <property name="iterator">alias</property>
<property name="show_flags">VN_HANDLER_SHOW_SAVE | VN_HANDLER_SHOW_REMOVE | VN_HANDLER_SHOW_ADD</property> <property name="show_flags">VN_HANDLER_SHOW_REFRESH | VN_HANDLER_SHOW_SAVE | VN_HANDLER_SHOW_REMOVE | VN_HANDLER_SHOW_ADD</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -132,9 +135,12 @@
<object class="VnColumnCombo" id="column-child"> <object class="VnColumnCombo" id="column-child">
<property name="sizing">autosize</property> <property name="sizing">autosize</property>
<property name="title" translatable="yes">Children</property> <property name="title" translatable="yes">Children</property>
<property name="model">model-alias</property>
<property name="column_name">child</property> <property name="column_name">child</property>
<property name="editable">True</property> <property name="editable">True</property>
<property name="model">model-alias</property>
<child internal-child="cell">
<object class="GtkCellRendererCombo" id="column-combo-cell1"/>
</child>
</object> </object>
</child> </child>
</object> </object>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 --> <!-- Generated with glade 3.18.3 -->
<interface> <interface>
<requires lib="gtk+" version="3.0"/> <requires lib="gtk+" version="3.12"/>
<requires lib="vn" version="1.0"/> <requires lib="vn" version="1.0"/>
<object class="VnBatch" id="models"> <object class="VnBatch" id="models">
<child> <child>

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-account (1.0-5) UNRELEASED; urgency=low hedera-account (1.0-6) UNRELEASED; urgency=low
* Initial Release. * Initial Release.

View File

@ -2,7 +2,7 @@
src/account.vala src/account.vala
[type: gettext/glade]data/account.xml [type: gettext/glade]data/account.xml
data/account-menu.glade [type: gettext/glade]data/account-menu.xml
src/users.vala src/users.vala
data/users.glade data/users.glade

View File

@ -20,11 +20,29 @@ public class Vn.Management : Vn.Mod
{ {
public Management () public Management ()
{ {
} }
// Main routine of the Management Module. // Main routine of the Management Module.
public override void activate () public override void activate ()
{ {
} }
// Actions
const GLib.ActionEntry[] actions =
{
{"open-form", open_form}
,{"test-set-action", test_set_action}
};
void open_form (GLib.SimpleAction a, GLib.Variant? p)
{}
void test_set_action (GLib.SimpleAction a, GLib.Variant? p)
{}
public override unowned GLib.ActionEntry[] get_actions ()
{
return actions;
}
} }