"Fossies" - the Fresh Open Source Software Archive

Member "pysize-0.2/pysize/ui/gtk/main_window.glade" (11 Mar 2007, 22622 Bytes) of package /linux/privat/old/pysize-0.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
    2 <!DOCTYPE glade-interface SYSTEM "http://gazpacho.sicem.biz/gazpacho-0.1.dtd">
    3 <glade-interface>
    4     <widget class="GtkListStore" id="model1">
    5         <columns>
    6             <column type="gchararray"/>
    7             <column type="gchararray"/>
    8         </columns>
    9     </widget>
   10     <widget class="GtkUIManager" id="uimanager">
   11         <child>
   12             <widget class="GtkActionGroup" id="ViewActions">
   13                 <child>
   14                     <widget class="GtkAction" id="DeletedFilesAction">
   15                         <property name="name">DeletedFilesAction</property>
   16                         <property name="label" translatable="yes">_View Deleted Files</property>
   17                         <signal handler="deleted_files_action" name="activate"/>
   18                     </widget>
   19                 </child>
   20             </widget>
   21         </child>
   22         <child>
   23             <widget class="GtkActionGroup" id="ZoomActions">
   24                 <child>
   25                     <widget class="GtkAction" id="ZoomFit">
   26                         <property name="name">ZoomFit</property>
   27                         <property name="label" translatable="yes">Zoom Fit</property>
   28                         <property name="tooltip" translatable="yes">Fit the tree in the window</property>
   29                         <property name="stock_id">gtk-zoom-fit</property>
   30                         <signal handler="zoom_fit_action" name="activate"/>
   31                         <property name="accelerator">&lt;Control&gt;0</property>
   32                     </widget>
   33                 </child>
   34                 <child>
   35                     <widget class="GtkAction" id="ZoomIn">
   36                         <property name="name">ZoomIn</property>
   37                         <property name="label" translatable="yes">Zoom In</property>
   38                         <property name="tooltip" translatable="yes">Increase the zoom level</property>
   39                         <property name="stock_id">gtk-zoom-in</property>
   40                         <signal handler="zoom_in_action" name="activate"/>
   41                         <property name="accelerator">&lt;Control&gt;plus</property>
   42                     </widget>
   43                 </child>
   44                 <child>
   45                     <widget class="GtkAction" id="ZoomOut">
   46                         <property name="name">ZoomOut</property>
   47                         <property name="label" translatable="yes">Zoom Out</property>
   48                         <property name="tooltip" translatable="yes">Decrease the zoom level</property>
   49                         <property name="stock_id">gtk-zoom-out</property>
   50                         <signal handler="zoom_out_action" name="activate"/>
   51                         <property name="accelerator">&lt;Control&gt;minus</property>
   52                     </widget>
   53                 </child>
   54             </widget>
   55         </child>
   56         <child>
   57             <widget class="GtkActionGroup" id="NavigationAction">
   58                 <child>
   59                     <widget class="GtkAction" id="Back">
   60                         <property name="name">Back</property>
   61                         <property name="label" translatable="yes">Back</property>
   62                         <property name="tooltip" translatable="yes">Go back in the history</property>
   63                         <property name="stock_id">gtk-go-back</property>
   64                         <signal handler="back_action" name="activate"/>
   65                         <property name="accelerator">&lt;Alt&gt;Left</property>
   66                     </widget>
   67                 </child>
   68                 <child>
   69                     <widget class="GtkAction" id="Forward">
   70                         <property name="name">Forward</property>
   71                         <property name="label" translatable="yes">Forward</property>
   72                         <property name="tooltip" translatable="yes">Go forward in the history</property>
   73                         <property name="stock_id">gtk-go-forward</property>
   74                         <signal handler="forw_action" name="activate"/>
   75                         <property name="accelerator">&lt;Alt&gt;Right</property>
   76                     </widget>
   77                 </child>
   78                 <child>
   79                     <widget class="GtkAction" id="ParentDirectory">
   80                         <property name="name">ParentDirectory</property>
   81                         <property name="label" translatable="yes">Parent Directory</property>
   82                         <property name="tooltip" translatable="yes">Go to the parent directory</property>
   83                         <property name="stock_id">gtk-go-up</property>
   84                         <signal handler="parent_directory_action" name="activate"/>
   85                         <property name="accelerator">&lt;Alt&gt;Up</property>
   86                     </widget>
   87                 </child>
   88             </widget>
   89         </child>
   90         <child>
   91             <widget class="GtkActionGroup" id="DefaultActions">
   92                 <child>
   93                     <widget class="GtkAction" id="ActionsMenu">
   94                         <property name="name">ActionsMenu</property>
   95                         <property name="label" translatable="yes">_Actions</property>
   96                     </widget>
   97                 </child>
   98                 <child>
   99                     <widget class="GtkAction" id="FileMenu">
  100                         <property name="name">FileMenu</property>
  101                         <property name="label" translatable="yes">_File</property>
  102                     </widget>
  103                 </child>
  104                 <child>
  105                     <widget class="GtkAction" id="HistoryMenu">
  106                         <property name="name">HistoryMenu</property>
  107                         <property name="label" translatable="yes">_History</property>
  108                     </widget>
  109                 </child>
  110                 <child>
  111                     <widget class="GtkAction" id="Open">
  112                         <property name="name">Open</property>
  113                         <property name="label" translatable="yes">_Open</property>
  114                         <property name="tooltip" translatable="yes">Open a directory</property>
  115                         <property name="stock_id">gtk-directory</property>
  116                         <signal handler="open_action" name="activate"/>
  117                         <property name="accelerator">&lt;Control&gt;o</property>
  118                     </widget>
  119                 </child>
  120                 <child>
  121                     <widget class="GtkAction" id="Quit">
  122                         <property name="name">Quit</property>
  123                         <property name="tooltip" translatable="yes">Quit the program</property>
  124                         <property name="stock_id">gtk-quit</property>
  125                         <signal handler="quit_action" name="activate"/>
  126                     </widget>
  127                 </child>
  128                 <child>
  129                     <widget class="GtkAction" id="Refresh">
  130                         <property name="name">Refresh</property>
  131                         <property name="label" translatable="yes">_Refresh tree</property>
  132                         <property name="short_label" translatable="yes">_Refresh the tree</property>
  133                         <property name="tooltip" translatable="yes">Refresh the tree</property>
  134                         <property name="stock_id">gtk-refresh</property>
  135                         <signal handler="refresh_tree_action" name="activate"/>
  136                         <property name="accelerator">&lt;Control&gt;r</property>
  137                     </widget>
  138                 </child>
  139                 <child>
  140                     <widget class="GtkAction" id="ViewMenu">
  141                         <property name="name">ViewMenu</property>
  142                         <property name="label" translatable="yes">_View</property>
  143                     </widget>
  144                 </child>
  145             </widget>
  146         </child>
  147         <ui id="initial-state"><![CDATA[<ui>
  148 <menubar action="menubar" name="menubar">
  149   <menu action="FileMenu" name="FileMenu">
  150     <menuitem action="Open" name="Open"/>
  151     <separator/>
  152     <menuitem action="Quit" name="Quit"/>
  153   </menu>
  154   
  155 <menu action="ActionsMenu" name="ActionsMenu"><menuitem action="ParentDirectory" name="ParentDirectory"/><menuitem action="Refresh" name="Refresh"/><menuitem action="ZoomFit" name="ZoomFit"/><menuitem action="ZoomIn" name="ZoomIn"/><menuitem action="ZoomOut" name="ZoomOut"/></menu><menu action="HistoryMenu" name="HistoryMenu"><menuitem action="Back" name="Back"/><menuitem action="Forward" name="Forward"/></menu><menu action="ViewMenu" name="ViewMenu"><menuitem action="DeletedFilesAction" name="DeletedFilesAction"/></menu></menubar><toolbar action="toolbar" name="toolbar">
  156 <toolitem action="Open" name="Open"/><toolitem action="Refresh" name="Refresh"/><toolitem action="ZoomFit" name="ZoomFit"/><toolitem action="ZoomIn" name="ZoomIn"/><toolitem action="ZoomOut" name="ZoomOut"/><toolitem action="ParentDirectory" name="ParentDirectory"/><toolitem action="Back" name="Back"/><toolitem action="Forward" name="Forward"/></toolbar>
  157 </ui>]]></ui>
  158     </widget>
  159     <widget class="GtkDialog" id="deleted_files_dialog">
  160         <property name="default_height">260</property>
  161         <property name="default_width">320</property>
  162         <property name="destroy_with_parent">True</property>
  163         <property name="title" context="yes" translatable="yes">Pysize Deleted Files</property>
  164         <property name="type_hint">normal</property>
  165         <child internal-child="vbox">
  166             <widget class="GtkVBox" id="vbox">
  167                 <property name="border_width">2</property>
  168                 <property name="visible">True</property>
  169                 <child>
  170                     <widget class="GtkScrolledWindow" id="scrolledwindow2">
  171                         <property name="hscrollbar_policy">automatic</property>
  172                         <property name="visible">True</property>
  173                         <property name="vscrollbar_policy">automatic</property>
  174                         <child>
  175                             <widget class="GtkTreeView" id="deleted_files_treeview">
  176                                 <property name="enable_grid_lines">both</property>
  177                                 <property name="enable_tree_lines">True</property>
  178                                 <property name="hover_expand">True</property>
  179                                 <property name="model">model1</property>
  180                                 <property name="reorderable">True</property>
  181                                 <property name="rubber_banding">True</property>
  182                                 <property name="rules_hint">True</property>
  183                                 <property name="search_column">1</property>
  184                                 <property name="visible">True</property>
  185                                 <child>
  186                                     <widget class="GtkTreeViewColumn" id="treeviewcolumn1">
  187                                         <property name="expand">True</property>
  188                                         <property name="reorderable">True</property>
  189                                         <property name="resizable">True</property>
  190                                         <property name="title" context="yes" translatable="yes">Size</property>
  191                                         <child>
  192                                             <widget class="GtkCellRendererText" id="treeviewcolumn1-renderer1"/>
  193                                             <attributes>
  194                                                 <attribute name="text">0</attribute>
  195                                             </attributes>
  196                                         </child>
  197                                     </widget>
  198                                 </child>
  199                                 <child>
  200                                     <widget class="GtkTreeViewColumn" id="treeviewcolumn2">
  201                                         <property name="expand">True</property>
  202                                         <property name="reorderable">True</property>
  203                                         <property name="resizable">True</property>
  204                                         <property name="title" context="yes" translatable="yes">Name</property>
  205                                         <child>
  206                                             <widget class="GtkCellRendererText" id="treeviewcolumn2-renderer1"/>
  207                                             <attributes>
  208                                                 <attribute name="text">1</attribute>
  209                                             </attributes>
  210                                         </child>
  211                                     </widget>
  212                                 </child>
  213                             </widget>
  214                         </child>
  215                     </widget>
  216                 </child>
  217                 <child internal-child="action_area">
  218                     <widget class="GtkHButtonBox" id="dialog1-action_area">
  219                         <property name="border_width">5</property>
  220                         <property name="layout_style">end</property>
  221                         <property name="spacing">6</property>
  222                         <property name="visible">True</property>
  223                         <child>
  224                             <widget class="GtkButton" id="button1">
  225                                 <property name="label">gtk-undelete</property>
  226                                 <property name="use_stock">True</property>
  227                                 <property name="visible">True</property>
  228                                 <signal handler="restore_deleted_files" name="clicked"/>
  229                             </widget>
  230                         </child>
  231                         <child>
  232                             <widget class="GtkButton" id="button2">
  233                                 <property name="label">gtk-delete</property>
  234                                 <property name="use_stock">True</property>
  235                                 <property name="visible">True</property>
  236                                 <signal handler="delete_deleted_files" name="clicked"/>
  237                             </widget>
  238                             <packing>
  239                                 <property name="position">1</property>
  240                             </packing>
  241                         </child>
  242                         <child>
  243                             <widget class="GtkButton" id="button3">
  244                                 <property name="is_focus">True</property>
  245                                 <property name="label">gtk-close</property>
  246                                 <property name="use_stock">True</property>
  247                                 <property name="visible">True</property>
  248                                 <signal handler="close_deleted_files" name="clicked"/>
  249                             </widget>
  250                             <packing>
  251                                 <property name="position">2</property>
  252                             </packing>
  253                         </child>
  254                     </widget>
  255                     <packing>
  256                         <property name="expand">False</property>
  257                         <property name="pack_type">end</property>
  258                         <property name="position">1</property>
  259                     </packing>
  260                 </child>
  261             </widget>
  262         </child>
  263     </widget>
  264     <widget class="GtkWindow" id="main_window">
  265         <property name="default_height">400</property>
  266         <property name="default_width">850</property>
  267         <property name="title" context="yes" translatable="yes">Pysize</property>
  268         <signal handler="quit_action" name="destroy" after="True"/>
  269         <child>
  270             <widget class="GtkVBox" id="vbox1">
  271                 <property name="visible">True</property>
  272                 <child>
  273                     <widget constructor="initial-state" class="GtkMenuBar" id="menubar">
  274                         <property name="visible">True</property>
  275                     </widget>
  276                     <packing>
  277                         <property name="expand">False</property>
  278                         <property name="fill">False</property>
  279                     </packing>
  280                 </child>
  281                 <child>
  282                     <widget class="GtkHandleBox" id="handlebox1">
  283                         <property name="visible">True</property>
  284                         <child>
  285                             <widget constructor="initial-state" class="GtkToolbar" id="toolbar">
  286                                 <property name="visible">True</property>
  287                             </widget>
  288                         </child>
  289                     </widget>
  290                     <packing>
  291                         <property name="expand">False</property>
  292                         <property name="fill">False</property>
  293                         <property name="position">1</property>
  294                     </packing>
  295                 </child>
  296                 <child>
  297                     <widget class="GtkScrolledWindow" id="scrolledwindow1">
  298                         <property name="hscrollbar_policy">automatic</property>
  299                         <property name="visible">True</property>
  300                         <property name="vscrollbar_policy">automatic</property>
  301                         <child>
  302                             <widget class="GtkViewport" id="viewport1">
  303                                 <property name="shadow_type">etched-in</property>
  304                                 <property name="visible">True</property>
  305                                 <child>
  306                                     <widget class="Custom" id="main_widget">
  307                                         <property name="creation_function">pysize_widget</property>
  308                                     </widget>
  309                                 </child>
  310                             </widget>
  311                         </child>
  312                     </widget>
  313                     <packing>
  314                         <property name="position">2</property>
  315                     </packing>
  316                 </child>
  317                 <child>
  318                     <widget class="GtkHBox" id="hbox1">
  319                         <property name="visible">True</property>
  320                         <child>
  321                             <widget class="GtkStatusbar" id="status_bar">
  322                                 <property name="has_resize_grip">False</property>
  323                                 <property name="visible">True</property>
  324                             </widget>
  325                         </child>
  326                         <child>
  327                             <widget class="GtkProgressBar" id="progress_bar">
  328                                 <property name="text" context="yes" translatable="yes"></property>
  329                                 <property name="text_xalign">0.0</property>
  330                                 <property name="text_yalign">0.0</property>
  331                                 <property name="visible">True</property>
  332                             </widget>
  333                             <packing>
  334                                 <property name="expand">False</property>
  335                                 <property name="fill">False</property>
  336                                 <property name="position">1</property>
  337                             </packing>
  338                         </child>
  339                         <child>
  340                             <widget class="GtkStatusbar" id="statusbar1">
  341                                 <property name="visible">True</property>
  342                                 <property name="width_request">20</property>
  343                             </widget>
  344                             <packing>
  345                                 <property name="expand">False</property>
  346                                 <property name="fill">False</property>
  347                                 <property name="position">2</property>
  348                             </packing>
  349                         </child>
  350                     </widget>
  351                     <packing>
  352                         <property name="expand">False</property>
  353                         <property name="fill">False</property>
  354                         <property name="position">3</property>
  355                     </packing>
  356                 </child>
  357             </widget>
  358         </child>
  359     </widget>
  360     <widget class="GtkWindow" id="placeholder_as_gazpacho_prevents_standalone_widgets">
  361         <property name="default_height">250</property>
  362         <property name="default_width">440</property>
  363         <child>
  364             <widget class="GtkHBox" id="toolbar_remaining">
  365                 <property name="visible">True</property>
  366                 <child>
  367                     <widget class="GtkLabel" id="label1">
  368                         <property name="justify">right</property>
  369                         <property name="label" context="yes" translatable="yes">Max depth: </property>
  370                         <property name="visible">True</property>
  371                         <property name="xalign">0.0</property>
  372                     </widget>
  373                     <packing>
  374                         <property name="expand">False</property>
  375                         <property name="fill">False</property>
  376                     </packing>
  377                 </child>
  378                 <child>
  379                     <widget class="GtkSpinButton" id="max_depth">
  380                         <property name="activates_default">True</property>
  381                         <property name="adjustment">0 0 100 1 10 0</property>
  382                         <property name="is_focus">True</property>
  383                         <property name="max_length">4</property>
  384                         <property name="numeric">True</property>
  385                         <property name="text" context="yes" translatable="yes">0</property>
  386                         <property name="visible">True</property>
  387                         <property name="width_chars">4</property>
  388                         <signal handler="max_depth_changed" name="value-changed"/>
  389                     </widget>
  390                     <packing>
  391                         <property name="expand">False</property>
  392                         <property name="fill">False</property>
  393                         <property name="position">1</property>
  394                     </packing>
  395                 </child>
  396             </widget>
  397         </child>
  398     </widget>
  399 </glade-interface>