]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/dialogs/GUrl.glade
gtkmm-2 upgrade. Still some small bugs to iron out, but mostly functional
[lyx.git] / src / frontends / gnome / dialogs / GUrl.glade
index 0caa3ee45a543c58377d8a91f7f145b5319a4b1e..6608e41926c3b9f1df7fea38d824ebdbc74b90df 100644 (file)
-<?xml version="1.0"?>
-<GTK-Interface>
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
+
+<glade-interface>
+
+<widget class="GtkDialog" id="GUrl">
+  <property name="border_width">2</property>
+  <property name="title" translatable="yes">Insert URL</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox1">
+      <property name="border_width">2</property>
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">8</property>
+
+      <child internal-child="action_area">
+       <widget class="GtkHButtonBox" id="dialog-action_area1">
+         <property name="border_width">5</property>
+         <property name="visible">True</property>
+         <property name="layout_style">GTK_BUTTONBOX_DEFAULT_STYLE</property>
+         <property name="spacing">10</property>
 
-<project>
-  <name>diainserturl</name>
-  <program_name>diainserturl</program_name>
-  <directory></directory>
-  <source_directory></source_directory>
-  <pixmaps_directory>pixmaps</pixmaps_directory>
-  <language>C</language>
-  <gnome_support>True</gnome_support>
-  <gettext_support>True</gettext_support>
-  <use_widget_names>True</use_widget_names>
-  <output_main_file>False</output_main_file>
-  <output_build_files>False</output_build_files>
-  <gnome_help_support>True</gnome_help_support>
-  <main_source_file>diainserturl_interface.c</main_source_file>
-  <main_header_file>diainserturl_interface.h</main_header_file>
-  <handler_source_file>diainserturl_callbacks.c</handler_source_file>
-  <handler_header_file>diainserturl_callbacks.h</handler_header_file>
-</project>
-
-<widget>
-  <class>GnomeDialog</class>
-  <name>GUrl</name>
-  <border_width>2</border_width>
-  <visible>False</visible>
-  <title>Insert URL</title>
-  <type>GTK_WINDOW_DIALOG</type>
-  <position>GTK_WIN_POS_NONE</position>
-  <modal>False</modal>
-  <allow_shrink>True</allow_shrink>
-  <allow_grow>True</allow_grow>
-  <auto_shrink>False</auto_shrink>
-  <auto_close>False</auto_close>
-  <hide_on_close>True</hide_on_close>
-
-  <widget>
-    <class>GtkVBox</class>
-    <child_name>GnomeDialog:vbox</child_name>
-    <name>dialog-vbox1</name>
-    <homogeneous>False</homogeneous>
-    <spacing>8</spacing>
-    <child>
-      <padding>4</padding>
-      <expand>True</expand>
-      <fill>True</fill>
-    </child>
-
-    <widget>
-      <class>GtkHButtonBox</class>
-      <child_name>GnomeDialog:action_area</child_name>
-      <name>dialog-action_area1</name>
-      <layout_style>GTK_BUTTONBOX_DEFAULT_STYLE</layout_style>
-      <spacing>8</spacing>
-      <child_min_width>85</child_min_width>
-      <child_min_height>27</child_min_height>
-      <child_ipad_x>7</child_ipad_x>
-      <child_ipad_y>0</child_ipad_y>
-      <child>
-       <padding>0</padding>
-       <expand>False</expand>
-       <fill>True</fill>
-       <pack>GTK_PACK_END</pack>
-      </child>
-
-      <widget>
-       <class>GtkButton</class>
-       <name>r_restore_btn</name>
-       <can_default>True</can_default>
-       <can_focus>True</can_focus>
-       <label>Restore</label>
-       <stock_pixmap>GNOME_STOCK_PIXMAP_UNDO</stock_pixmap>
-      </widget>
-
-      <widget>
-       <class>GtkButton</class>
-       <name>r_ok_btn</name>
-       <can_default>True</can_default>
-       <can_focus>True</can_focus>
-       <stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
-      </widget>
-
-      <widget>
-       <class>GtkButton</class>
-       <name>r_apply_btn</name>
-       <can_default>True</can_default>
-       <can_focus>True</can_focus>
-       <stock_button>GNOME_STOCK_BUTTON_APPLY</stock_button>
-      </widget>
-
-      <widget>
-       <class>GtkButton</class>
-       <name>r_cancel_btn</name>
-       <can_default>True</can_default>
-       <has_default>True</has_default>
-       <can_focus>True</can_focus>
-       <stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
-      </widget>
-    </widget>
-
-    <widget>
-      <class>GtkVBox</class>
-      <name>vbox1</name>
-      <homogeneous>False</homogeneous>
-      <spacing>2</spacing>
-      <child>
-       <padding>0</padding>
-       <expand>True</expand>
-       <fill>True</fill>
-      </child>
-
-      <widget>
-       <class>GtkTable</class>
-       <name>table1</name>
-       <rows>2</rows>
-       <columns>2</columns>
-       <homogeneous>False</homogeneous>
-       <row_spacing>2</row_spacing>
-       <column_spacing>2</column_spacing>
-       <child>
-         <padding>0</padding>
-         <expand>True</expand>
-         <fill>True</fill>
-       </child>
-
-       <widget>
-         <class>GtkLabel</class>
-         <name>label2</name>
-         <label>_Name</label>
-         <justify>GTK_JUSTIFY_LEFT</justify>
-         <wrap>False</wrap>
-         <xalign>0.5</xalign>
-         <yalign>0.5</yalign>
-         <xpad>0</xpad>
-         <ypad>0</ypad>
-         <default_focus_target>r_name</default_focus_target>
          <child>
-           <left_attach>0</left_attach>
-           <right_attach>1</right_attach>
-           <top_attach>1</top_attach>
-           <bottom_attach>2</bottom_attach>
-           <xpad>0</xpad>
-           <ypad>0</ypad>
-           <xexpand>False</xexpand>
-           <yexpand>False</yexpand>
-           <xshrink>False</xshrink>
-           <yshrink>False</yshrink>
-           <xfill>False</xfill>
-           <yfill>False</yfill>
+           <widget class="GtkButton" id="r_restore_btn">
+             <property name="visible">True</property>
+             <property name="can_default">True</property>
+             <property name="can_focus">True</property>
+             <property name="label" translatable="yes">Restore</property>
+             <property name="use_underline">True</property>
+             <property name="relief">GTK_RELIEF_NORMAL</property>
+             <property name="response_id">0</property>
+           </widget>
          </child>
-       </widget>
 
-       <widget>
-         <class>GtkLabel</class>
-         <name>label1</name>
-         <label>_URL</label>
-         <justify>GTK_JUSTIFY_LEFT</justify>
-         <wrap>False</wrap>
-         <xalign>0.5</xalign>
-         <yalign>0.5</yalign>
-         <xpad>0</xpad>
-         <ypad>0</ypad>
-         <default_focus_target>r_url</default_focus_target>
          <child>
-           <left_attach>0</left_attach>
-           <right_attach>1</right_attach>
-           <top_attach>0</top_attach>
-           <bottom_attach>1</bottom_attach>
-           <xpad>0</xpad>
-           <ypad>0</ypad>
-           <xexpand>False</xexpand>
-           <yexpand>False</yexpand>
-           <xshrink>False</xshrink>
-           <yshrink>False</yshrink>
-           <xfill>True</xfill>
-           <yfill>False</yfill>
+           <widget class="GtkButton" id="r_ok_btn">
+             <property name="visible">True</property>
+             <property name="can_default">True</property>
+             <property name="can_focus">True</property>
+             <property name="label">gtk-ok</property>
+             <property name="use_stock">True</property>
+             <property name="relief">GTK_RELIEF_NORMAL</property>
+             <property name="response_id">0</property>
+           </widget>
          </child>
-       </widget>
 
-       <widget>
-         <class>GnomeEntry</class>
-         <name>url1</name>
-         <border_width>1</border_width>
-         <history_id>FormUrl_url</history_id>
-         <max_saved>10</max_saved>
          <child>
-           <left_attach>1</left_attach>
-           <right_attach>2</right_attach>
-           <top_attach>0</top_attach>
-           <bottom_attach>1</bottom_attach>
-           <xpad>0</xpad>
-           <ypad>0</ypad>
-           <xexpand>True</xexpand>
-           <yexpand>False</yexpand>
-           <xshrink>False</xshrink>
-           <yshrink>False</yshrink>
-           <xfill>True</xfill>
-           <yfill>False</yfill>
+           <widget class="GtkButton" id="r_apply_btn">
+             <property name="visible">True</property>
+             <property name="can_default">True</property>
+             <property name="can_focus">True</property>
+             <property name="label">gtk-apply</property>
+             <property name="use_stock">True</property>
+             <property name="relief">GTK_RELIEF_NORMAL</property>
+             <property name="response_id">0</property>
+           </widget>
          </child>
 
-         <widget>
-           <class>GtkEntry</class>
-           <child_name>GnomeEntry:entry</child_name>
-           <name>r_url</name>
-           <can_default>True</can_default>
-           <has_default>True</has_default>
-           <can_focus>True</can_focus>
-           <has_focus>True</has_focus>
-           <editable>True</editable>
-           <text_visible>True</text_visible>
-           <text_max_length>0</text_max_length>
-           <text></text>
-         </widget>
+         <child>
+           <widget class="GtkButton" id="r_cancel_btn">
+             <property name="visible">True</property>
+             <property name="can_default">True</property>
+             <property name="has_default">True</property>
+             <property name="can_focus">True</property>
+             <property name="label">gtk-cancel</property>
+             <property name="use_stock">True</property>
+             <property name="relief">GTK_RELIEF_NORMAL</property>
+             <property name="response_id">0</property>
+           </widget>
+         </child>
        </widget>
+       <packing>
+         <property name="padding">0</property>
+         <property name="expand">False</property>
+         <property name="fill">True</property>
+         <property name="pack_type">GTK_PACK_END</property>
+       </packing>
+      </child>
+
+      <child>
+       <widget class="GtkVBox" id="vbox1">
+         <property name="visible">True</property>
+         <property name="homogeneous">False</property>
+         <property name="spacing">2</property>
 
-       <widget>
-         <class>GnomeEntry</class>
-         <name>name1</name>
-         <border_width>1</border_width>
-         <history_id>FormUrl_name</history_id>
-         <max_saved>10</max_saved>
          <child>
-           <left_attach>1</left_attach>
-           <right_attach>2</right_attach>
-           <top_attach>1</top_attach>
-           <bottom_attach>2</bottom_attach>
-           <xpad>0</xpad>
-           <ypad>0</ypad>
-           <xexpand>True</xexpand>
-           <yexpand>False</yexpand>
-           <xshrink>False</xshrink>
-           <yshrink>False</yshrink>
-           <xfill>True</xfill>
-           <yfill>False</yfill>
+           <widget class="GtkTable" id="table1">
+             <property name="visible">True</property>
+             <property name="n_rows">2</property>
+             <property name="n_columns">2</property>
+             <property name="homogeneous">False</property>
+             <property name="row_spacing">2</property>
+             <property name="column_spacing">2</property>
+
+             <child>
+               <widget class="GtkLabel" id="label2">
+                 <property name="visible">True</property>
+                 <property name="label" translatable="yes">_Name</property>
+                 <property name="use_underline">True</property>
+                 <property name="use_markup">False</property>
+                 <property name="justify">GTK_JUSTIFY_LEFT</property>
+                 <property name="wrap">False</property>
+                 <property name="selectable">False</property>
+                 <property name="xalign">0.5</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+                 <property name="mnemonic_widget">r_name</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">0</property>
+                 <property name="right_attach">1</property>
+                 <property name="top_attach">1</property>
+                 <property name="bottom_attach">2</property>
+                 <property name="x_options"></property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkLabel" id="label1">
+                 <property name="visible">True</property>
+                 <property name="label" translatable="yes">_URL</property>
+                 <property name="use_underline">True</property>
+                 <property name="use_markup">False</property>
+                 <property name="justify">GTK_JUSTIFY_LEFT</property>
+                 <property name="wrap">False</property>
+                 <property name="selectable">False</property>
+                 <property name="xalign">0.5</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+                 <property name="mnemonic_widget">r_url</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">0</property>
+                 <property name="right_attach">1</property>
+                 <property name="top_attach">0</property>
+                 <property name="bottom_attach">1</property>
+                 <property name="x_options">fill</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkEntry" id="r_url">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <property name="editable">True</property>
+                 <property name="visibility">True</property>
+                 <property name="max_length">0</property>
+                 <property name="text" translatable="yes"></property>
+                 <property name="has_frame">True</property>
+                 <property name="invisible_char" translatable="yes">*</property>
+                 <property name="activates_default">False</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">1</property>
+                 <property name="right_attach">2</property>
+                 <property name="top_attach">0</property>
+                 <property name="bottom_attach">1</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkEntry" id="r_name">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <property name="editable">True</property>
+                 <property name="visibility">True</property>
+                 <property name="max_length">0</property>
+                 <property name="text" translatable="yes"></property>
+                 <property name="has_frame">True</property>
+                 <property name="invisible_char" translatable="yes">*</property>
+                 <property name="activates_default">False</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>
+           </widget>
+           <packing>
+             <property name="padding">0</property>
+             <property name="expand">True</property>
+             <property name="fill">True</property>
+           </packing>
          </child>
 
-         <widget>
-           <class>GtkEntry</class>
-           <child_name>GnomeEntry:entry</child_name>
-           <name>r_name</name>
-           <can_focus>True</can_focus>
-           <editable>True</editable>
-           <text_visible>True</text_visible>
-           <text_max_length>0</text_max_length>
-           <text></text>
-         </widget>
+         <child>
+           <widget class="GtkCheckButton" id="r_html_cb">
+             <property name="border_width">2</property>
+             <property name="visible">True</property>
+             <property name="can_focus">True</property>
+             <property name="label" translatable="yes">_HTML type</property>
+             <property name="use_underline">True</property>
+             <property name="relief">GTK_RELIEF_NORMAL</property>
+             <property name="active">False</property>
+             <property name="inconsistent">False</property>
+             <property name="draw_indicator">True</property>
+           </widget>
+           <packing>
+             <property name="padding">0</property>
+             <property name="expand">False</property>
+             <property name="fill">False</property>
+           </packing>
+         </child>
        </widget>
-      </widget>
-
-      <widget>
-       <class>GtkCheckButton</class>
-       <name>r_html_cb</name>
-       <border_width>2</border_width>
-       <can_focus>True</can_focus>
-       <label>_HTML type</label>
-       <active>False</active>
-       <draw_indicator>True</draw_indicator>
-       <child>
-         <padding>0</padding>
-         <expand>False</expand>
-         <fill>False</fill>
-       </child>
-      </widget>
+       <packing>
+         <property name="padding">0</property>
+         <property name="expand">True</property>
+         <property name="fill">True</property>
+       </packing>
+      </child>
     </widget>
-  </widget>
+  </child>
 </widget>
 
-</GTK-Interface>
+</glade-interface>