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:
parent
1ebde52dd1
commit
81a7bb1008
|
@ -1,6 +1,6 @@
|
|||
|
||||
account_data_DATA = \
|
||||
account-menu.glade\
|
||||
account-menu.xml\
|
||||
account.xml \
|
||||
users.glade \
|
||||
email.glade
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
<!DOCTYPE hedera-module>
|
||||
<module>
|
||||
<library translatable="yes" name="account">Accounts</library>
|
||||
<action-group>
|
||||
<action translatable="yes" name="action-menu-account">_Accounts</action>
|
||||
</action-group>
|
||||
<form-group>
|
||||
<form
|
||||
translatable="yes"
|
||||
name="users"
|
||||
icon="x-office-address-book"
|
||||
action-name="open-users">Users</form>
|
||||
icon="x-office-address-book">
|
||||
Users
|
||||
</form>
|
||||
<form
|
||||
translatable="yes"
|
||||
name="email"
|
||||
icon="mail-mark-unread"
|
||||
action-name="open-email">E-Mail</form>
|
||||
icon="mail-mark-unread">
|
||||
E-Mail
|
||||
</form>
|
||||
</form-group>
|
||||
</module>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="gtk+" version="3.12"/>
|
||||
<requires lib="vn" version="1.0"/>
|
||||
<object class="VnBatch" id="models">
|
||||
<child>
|
||||
|
@ -78,6 +78,9 @@
|
|||
<property name="title" translatable="yes">Alias</property>
|
||||
<property name="column_name">alias</property>
|
||||
<property name="editable">True</property>
|
||||
<child internal-child="cell">
|
||||
<object class="GtkCellRendererText" id="column-entry-cell1"/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -94,7 +97,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</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>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -132,9 +135,12 @@
|
|||
<object class="VnColumnCombo" id="column-child">
|
||||
<property name="sizing">autosize</property>
|
||||
<property name="title" translatable="yes">Children</property>
|
||||
<property name="model">model-alias</property>
|
||||
<property name="column_name">child</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>
|
||||
</child>
|
||||
</object>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="gtk+" version="3.12"/>
|
||||
<requires lib="vn" version="1.0"/>
|
||||
<object class="VnBatch" id="models">
|
||||
<child>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
hedera-account (1.0-5) UNRELEASED; urgency=low
|
||||
hedera-account (1.0-6) UNRELEASED; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
src/account.vala
|
||||
[type: gettext/glade]data/account.xml
|
||||
data/account-menu.glade
|
||||
[type: gettext/glade]data/account-menu.xml
|
||||
|
||||
src/users.vala
|
||||
data/users.glade
|
||||
|
|
|
@ -20,11 +20,29 @@ public class Vn.Management : Vn.Mod
|
|||
{
|
||||
public Management ()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Main routine of the Management Module.
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue