[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20312 - gnunet-gtk/contrib
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20312 - gnunet-gtk/contrib |
Date: |
Tue, 6 Mar 2012 15:15:52 +0100 |
Author: grothoff
Date: 2012-03-06 15:15:52 +0100 (Tue, 06 Mar 2012)
New Revision: 20312
Added:
gnunet-gtk/contrib/gnunet_gns_gtk_main_window.glade
Log:
-glade skeleton for GNS GUI
Added: gnunet-gtk/contrib/gnunet_gns_gtk_main_window.glade
===================================================================
--- gnunet-gtk/contrib/gnunet_gns_gtk_main_window.glade
(rev 0)
+++ gnunet-gtk/contrib/gnunet_gns_gtk_main_window.glade 2012-03-06 14:15:52 UTC
(rev 20312)
@@ -0,0 +1,361 @@
+<?xml version="1.0"?>
+<interface>
+ <requires lib="gtk+" version="2.16"/>
+ <!-- interface-naming-policy project-wide -->
+ <object class="GtkTreeStore" id="GNUNET_GNS_GTK_treestore">
+ <columns>
+ <!-- column-name name -->
+ <column type="gchararray"/>
+ <!-- column-name is_public -->
+ <column type="gboolean"/>
+ <!-- column-name record_type -->
+ <column type="guint"/>
+ <!-- column-name record_type_as_string -->
+ <column type="gchararray"/>
+ <!-- column-name expiration_time -->
+ <column type="guint64"/>
+ <!-- column-name expiration_time_is_relative -->
+ <column type="gboolean"/>
+ <!-- column-name expiration_time_as_string -->
+ <column type="gchararray"/>
+ <!-- column-name value_as_string -->
+ <column type="gchararray"/>
+ <!-- column-name value_color -->
+ <column type="gchararray"/>
+ </columns>
+ </object>
+ <object class="GtkListStore" id="GNUNET_GNS_GTK_type_liststore">
+ <columns>
+ <!-- column-name type -->
+ <column type="guint"/>
+ <!-- column-name typename -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0">1</col>
+ <col id="1" translatable="yes">A</col>
+ </row>
+ <row>
+ <col id="0">2</col>
+ <col id="1" translatable="yes">NS</col>
+ </row>
+ <row>
+ <col id="0">5</col>
+ <col id="1" translatable="yes">CNAME</col>
+ </row>
+ <row>
+ <col id="0">6</col>
+ <col id="1" translatable="yes">SOA</col>
+ </row>
+ <row>
+ <col id="0">12</col>
+ <col id="1" translatable="yes">PTR</col>
+ </row>
+ <row>
+ <col id="0">15</col>
+ <col id="1" translatable="yes">MX</col>
+ </row>
+ <row>
+ <col id="0">16</col>
+ <col id="1" translatable="yes">TXT</col>
+ </row>
+ <row>
+ <col id="0">28</col>
+ <col id="1" translatable="yes">AAAA</col>
+ </row>
+ <row>
+ <col id="0">65536</col>
+ <col id="1" translatable="yes">PKEY</col>
+ </row>
+ <row>
+ <col id="0">65537</col>
+ <col id="1" translatable="yes">PSEU</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkWindow" id="GNUNET_GNS_GTK_main_window">
+ <child>
+ <object class="GtkVBox" id="GNUNET_GNS_GTK_main_vbox">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkMenuBar" id="GNUNET_GNS_GTK_menubar">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkMenuItem" id="GNUNET_GNS_GTK_file_menuitem">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_File</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="menu1">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkImageMenuItem"
id="GNUNET_GNS_GTK_new_imagemenuitem">
+ <property name="label">gtk-new</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate"
handler="GNUNET_GNS_GTK_new_imagemenuitem_activate_cb"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem"
id="GNUNET_GNS_GTK_open_imagemenuitem">
+ <property name="label">gtk-open</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate"
handler="GNUNET_GNS_GTK_open_imagemenuitem_activate_cb"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem"
id="separatormenuitem1">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem"
id="GNUNET_GNS_GTK_quit_imagemenuitem">
+ <property name="label">gtk-quit</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate"
handler="GNUNET_GNS_GTK_quit_imagemenuitem_activate_cb"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="GNUNET_GNS_GTK_options_menuitem">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Options</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="menu2">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkCheckMenuItem"
id="GNUNET_GNS_GTK_autoshort_imagemenuitem">
+ <property name="visible">True</property>
+ <property name="label"
translatable="yes">Automatically shorten names</property>
+ <property name="use_underline">True</property>
+ <signal name="toggled"
handler="GNUNET_GNS_GTK_autoshort_imagemenuitem_toggled_cb"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="GNUNET_GNS_GTK_help_menuitem">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Help</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="menu3">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkImageMenuItem"
id="GNUNET_GNS_GTK_about_imagemenuitem">
+ <property name="label">gtk-about</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate"
handler="GNUNET_GNS_GTK_about_imagemenuitem_activate_cb"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="GNUNET_GNS_GTK_main_frame">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="GNUNET_GNS_GTK_main_alignment">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkHBox" id="GNUNET_GNS_GTK_pseu_hbox">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkLabel" id="GNUNET_GNS_GTK_pseu_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Preferred
zone name (PSEU):</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="GNUNET_GNS_GTK_pseu_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text" translatable="yes">Enter
the preferred name for this zone here. The value will be stored in the PSEU
record for your public key. This is the GNS equivalent of your domain name.
You should try to pick a name that is globally unique.</property>
+ <property name="max_length">63</property>
+ <property name="invisible_char">●</property>
+ <signal name="changed"
handler="GNUNET_GNS_GTK_pseu_entry_changed_cb"/>
+ </object>
+ <packing>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton"
id="GNUNET_GNS_GTK_public_key_copy_button">
+ <property name="label">gtk-copy</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="tooltip_text" translatable="yes">Copy
the public key of this zone to the clipboard.</property>
+ <property name="use_stock">True</property>
+ <signal name="clicked"
handler="GNUNET_GNS_GTK_public_key_copy_button_clicked_cb"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">20</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="GNUNET_GNS_GTK_zone_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>SET TO
PUBLIC KEY OF THE ZONE</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow"
id="GNUNET_GNS_GTK_main_scrolledwindow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <object class="GtkTreeView" id="GNUNET_GNS_GTK_main_treeview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="model">GNUNET_GNS_GTK_treestore</property>
+ <signal name="popup_menu"
handler="GNUNET_GNS_GTK_main_treeview_popup_menu_cb"/>
+ <child>
+ <object class="GtkTreeViewColumn"
id="GNUNET_GNS_GTK_name_treeviewcolumn">
+ <property name="title">Name</property>
+ <property name="clickable">True</property>
+ <property name="reorderable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_column_id">0</property>
+ <child>
+ <object class="GtkCellRendererText"
id="GNUNET_GNS_GTK_name_cellrenderertext">
+ <property name="editable">True</property>
+ <signal name="edited"
handler="GNUNET_GNS_GTK_name_cellrenderertext_edited_cb"/>
+ </object>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn"
id="GNUNET_GNS_GTK_ispublic_treeviewcolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">50</property>
+ <property name="title">Public</property>
+ <property name="clickable">True</property>
+ <child>
+ <object class="GtkCellRendererToggle"
id="GNUNET_GNS_GTK_ispublic_cellrenderertoggle">
+ <signal name="toggled"
handler="GNUNET_GNS_GTK_ispublic_cellrenderertoggle_toggled_cb"/>
+ </object>
+ <attributes>
+ <attribute name="active">1</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn"
id="GNUNET_GNS_GTK_type_treeviewcolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">59</property>
+ <property name="title">Type</property>
+ <property name="clickable">True</property>
+ <property name="reorderable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_column_id">3</property>
+ <child>
+ <object class="GtkCellRendererCombo"
id="GNUNET_GNS_GTK_type_cellrenderercombo">
+ <property name="editable">True</property>
+ <property
name="model">GNUNET_GNS_GTK_type_liststore</property>
+ <signal name="changed"
handler="GNUNET_GNS_GTK_type_cellrenderercombo_changed_cb"/>
+ </object>
+ <attributes>
+ <attribute name="text-column">3</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn"
id="GNUNET_GNS_GTK_expiration_treeviewcolumn">
+ <property name="title">Expiration</property>
+ <property name="reorderable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_column_id">4</property>
+ <child>
+ <object class="GtkCellRendererText"
id="GNUNET_GNS_GTK_expiration_cellrenderertext">
+ <property name="editable">True</property>
+ <signal name="edited"
handler="GNUNET_GNS_GTK_expiration_cellrenderertext_edited_cb"/>
+ </object>
+ <attributes>
+ <attribute name="text">6</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn"
id="GNUNET_GNS_GTK_value_treeviewcolumn">
+ <property name="sizing">autosize</property>
+ <property name="title">Value</property>
+ <property name="expand">True</property>
+ <property name="sort_column_id">7</property>
+ <child>
+ <object class="GtkCellRendererText"
id="GNUNET_GNS_GTK_value_cellrenderertext">
+ <signal name="edited"
handler="GNUNET_GNS_GTK_value_cellrenderertext_edited_cb"/>
+ </object>
+ <attributes>
+ <attribute name="background">8</attribute>
+ <attribute name="text">7</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20312 - gnunet-gtk/contrib,
gnunet <=