334 lines
		
	
	
	
		
			14 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			334 lines
		
	
	
	
		
			14 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 | |
| <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
 | |
| <!--*- mode: xml -*-->
 | |
| <glade-interface>
 | |
|   <widget class="GtkWindow" id="add_new_contact_window">
 | |
|     <property name="border_width">6</property>
 | |
|     <property name="title" translatable="yes">Add New Contact</property>
 | |
|     <property name="resizable">False</property>
 | |
|     <signal name="key_press_event" handler="on_add_new_contact_window_key_press_event"/>
 | |
|     <signal name="destroy" handler="on_add_new_contact_window_destroy"/>
 | |
|     <child>
 | |
|       <widget class="GtkVBox" id="vbox8">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="spacing">6</property>
 | |
|         <child>
 | |
|           <widget class="GtkLabel" id="prompt_label">
 | |
|             <property name="visible">True</property>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="expand">False</property>
 | |
|             <property name="fill">False</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkHBox" id="account_hbox">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="spacing">6</property>
 | |
|             <child>
 | |
|               <widget class="GtkLabel" id="account_label">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="xalign">0</property>
 | |
|                 <property name="label" translatable="yes">A_ccount:</property>
 | |
|                 <property name="use_underline">True</property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="expand">False</property>
 | |
|                 <property name="fill">False</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkComboBox" id="account_combobox">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="items" translatable="yes"></property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="expand">False</property>
 | |
|                 <property name="fill">False</property>
 | |
|                 <property name="position">1</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <placeholder/>
 | |
|             </child>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="position">1</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkHBox" id="protocol_hbox">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="spacing">6</property>
 | |
|             <child>
 | |
|               <widget class="GtkLabel" id="protocol_label">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="xalign">0</property>
 | |
|                 <property name="label" translatable="yes">_Protocol:</property>
 | |
|                 <property name="use_underline">True</property>
 | |
|                 <property name="mnemonic_widget">uid_entry</property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="expand">False</property>
 | |
|                 <property name="fill">False</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkComboBox" id="protocol_combobox">
 | |
|                 <property name="visible">True</property>
 | |
|                 <signal name="changed" handler="on_protocol_combobox_changed"/>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="expand">False</property>
 | |
|                 <property name="fill">False</property>
 | |
|                 <property name="position">1</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkComboBox" id="protocol_jid_combobox">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="no_show_all">True</property>
 | |
|                 <property name="items" translatable="yes"></property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="position">2</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="position">2</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkTable" id="subscription_table">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="no_show_all">True</property>
 | |
|             <property name="border_width">6</property>
 | |
|             <property name="n_rows">3</property>
 | |
|             <property name="n_columns">2</property>
 | |
|             <property name="column_spacing">6</property>
 | |
|             <property name="row_spacing">6</property>
 | |
|             <child>
 | |
|               <widget class="GtkLabel" id="uid_label">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="xalign">0</property>
 | |
|                 <property name="label" translatable="yes">_User ID:</property>
 | |
|                 <property name="use_underline">True</property>
 | |
|                 <property name="mnemonic_widget">uid_entry</property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="x_options">GTK_FILL</property>
 | |
|                 <property name="y_options"></property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkEntry" id="uid_entry">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="activates_default">True</property>
 | |
|                 <signal name="changed" handler="on_uid_entry_changed"/>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="left_attach">1</property>
 | |
|                 <property name="right_attach">2</property>
 | |
|                 <property name="y_options"></property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkLabel" id="label188">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="xalign">0</property>
 | |
|                 <property name="label" translatable="yes">_Nickname:</property>
 | |
|                 <property name="use_underline">True</property>
 | |
|                 <property name="mnemonic_widget">nickname_entry</property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="top_attach">1</property>
 | |
|                 <property name="bottom_attach">2</property>
 | |
|                 <property name="x_options">GTK_FILL</property>
 | |
|                 <property name="y_options"></property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkEntry" id="nickname_entry">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="activates_default">True</property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="left_attach">1</property>
 | |
|                 <property name="right_attach">2</property>
 | |
|                 <property name="top_attach">1</property>
 | |
|                 <property name="bottom_attach">2</property>
 | |
|                 <property name="y_options"></property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkLabel" id="label223">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="xalign">0</property>
 | |
|                 <property name="label" translatable="yes">_Group:</property>
 | |
|                 <property name="use_underline">True</property>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="top_attach">2</property>
 | |
|                 <property name="bottom_attach">3</property>
 | |
|                 <property name="x_options">GTK_FILL</property>
 | |
|                 <property name="y_options"></property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkComboBoxEntry" id="group_comboboxentry">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="items" translatable="yes"></property>
 | |
|                 <child internal-child="entry">
 | |
|                   <widget class="GtkEntry" id="comboboxentry-entry1">
 | |
|                   </widget>
 | |
|                 </child>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="left_attach">1</property>
 | |
|                 <property name="right_attach">2</property>
 | |
|                 <property name="top_attach">2</property>
 | |
|                 <property name="bottom_attach">3</property>
 | |
|                 <property name="x_options">GTK_FILL</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="expand">False</property>
 | |
|             <property name="position">3</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkCheckButton" id="auto_authorize_checkbutton">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">True</property>
 | |
|             <property name="no_show_all">True</property>
 | |
|             <property name="label" translatable="yes">A_llow this contact to view my status</property>
 | |
|             <property name="use_underline">True</property>
 | |
|             <property name="response_id">0</property>
 | |
|             <property name="active">True</property>
 | |
|             <property name="draw_indicator">True</property>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="expand">False</property>
 | |
|             <property name="fill">False</property>
 | |
|             <property name="position">4</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkScrolledWindow" id="message_scrolledwindow">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">True</property>
 | |
|             <property name="no_show_all">True</property>
 | |
|             <property name="border_width">6</property>
 | |
|             <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
 | |
|             <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
 | |
|             <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
 | |
|             <child>
 | |
|               <widget class="GtkTextView" id="message_textview">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="wrap_mode">GTK_WRAP_WORD</property>
 | |
|                 <property name="text" translatable="yes">I would like to add you to my contact list.</property>
 | |
|               </widget>
 | |
|             </child>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="position">5</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkHBox" id="register_hbox">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="no_show_all">True</property>
 | |
|             <property name="spacing">6</property>
 | |
|             <child>
 | |
|               <widget class="GtkLabel" id="label224">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="xalign">0</property>
 | |
|                 <property name="label" translatable="yes">You have to register with this transport
 | |
| to be able to add a contact from this
 | |
| protocol. Click on register button to
 | |
| proceed.</property>
 | |
|                 <property name="wrap">True</property>
 | |
|               </widget>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkButton" id="register_button">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="can_default">True</property>
 | |
|                 <property name="label" translatable="yes">_Register</property>
 | |
|                 <property name="use_underline">True</property>
 | |
|                 <property name="response_id">0</property>
 | |
|                 <signal name="clicked" handler="on_register_button_clicked"/>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="expand">False</property>
 | |
|                 <property name="fill">False</property>
 | |
|                 <property name="position">1</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="position">6</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkLabel" id="connected_label">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="no_show_all">True</property>
 | |
|             <property name="label" translatable="yes">You must be connected to the transport to be able
 | |
| to add a contact from this protocol.</property>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="expand">False</property>
 | |
|             <property name="fill">False</property>
 | |
|             <property name="position">7</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <widget class="GtkHButtonBox" id="hbuttonbox1">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="border_width">5</property>
 | |
|             <property name="spacing">12</property>
 | |
|             <property name="layout_style">GTK_BUTTONBOX_END</property>
 | |
|             <child>
 | |
|               <widget class="GtkButton" id="cancel_button">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="can_default">True</property>
 | |
|                 <property name="label">gtk-cancel</property>
 | |
|                 <property name="use_stock">True</property>
 | |
|                 <property name="response_id">0</property>
 | |
|                 <signal name="clicked" handler="on_cancel_button_clicked"/>
 | |
|               </widget>
 | |
|             </child>
 | |
|             <child>
 | |
|               <widget class="GtkButton" id="add_button">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="can_default">True</property>
 | |
|                 <property name="has_default">True</property>
 | |
|                 <property name="label">gtk-add</property>
 | |
|                 <property name="use_stock">True</property>
 | |
|                 <property name="response_id">0</property>
 | |
|                 <signal name="clicked" handler="on_add_button_clicked"/>
 | |
|               </widget>
 | |
|               <packing>
 | |
|                 <property name="position">1</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|           </widget>
 | |
|           <packing>
 | |
|             <property name="expand">False</property>
 | |
|             <property name="fill">False</property>
 | |
|             <property name="position">8</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|       </widget>
 | |
|     </child>
 | |
|   </widget>
 | |
| </glade-interface>
 |