Commit 1b86705c authored by Stephen Kennedy's avatar Stephen Kennedy

Updated.

parent b36bcf01
This diff is collapsed.
......@@ -339,8 +339,8 @@ class FileEntry(BaseEntry):
class DirEntry(BaseEntry):
FILE_CHOOSER_ACTION = gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER
COMPLETION_FILTER = lambda s,x : os.path.isdir(x)
def __init__(self, history_id=None):
BaseEntry.__init__(self, history_id)
def __init__(self, comboentry, button, history_id=None):
BaseEntry.__init__(self, comboentry, button, history_id)
def _custom_handler(xml, klass, name, *rest):
......
......@@ -735,23 +735,13 @@ Which ones would you like to save?&lt;/span&gt;</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<child>
<widget class="GtkHBox" id="filediff">
<widget class="GtkTable" id="filediff">
<property name="visible">True</property>
<property name="n_rows">2</property>
<property name="n_columns">7</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkDrawingArea" id="diffmap0">
<property name="width_request">26</property>
<property name="visible">True</property>
<property name="events">GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_PRESS_MASK</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<child>
<widget class="GtkVBox" id="pane0">
......@@ -760,7 +750,7 @@ Which ones would you like to save?&lt;/span&gt;</property>
<property name="spacing">0</property>
<child>
<widget class="GtkHBox" id="hbox8">
<widget class="GtkHBox" id="fileentryhbox0">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
......@@ -862,24 +852,10 @@ Which ones would you like to save?&lt;/span&gt;</property>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkDrawingArea" id="linkmap0">
<property name="width_request">50</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">2</property>
</packing>
</child>
......@@ -890,7 +866,7 @@ Which ones would you like to save?&lt;/span&gt;</property>
<property name="spacing">0</property>
<child>
<widget class="GtkHBox" id="hbox9">
<widget class="GtkHBox" id="fileentryhbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
......@@ -903,7 +879,7 @@ Which ones would you like to save?&lt;/span&gt;</property>
<property name="focus_on_click">False</property>
<child>
<widget class="GtkImage" id="image35">
<widget class="GtkImage" id="image38">
<property name="visible">True</property>
<property name="stock">gtk-save</property>
<property name="icon_size">2</property>
......@@ -992,24 +968,10 @@ Which ones would you like to save?&lt;/span&gt;</property>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkDrawingArea" id="linkmap1">
<property name="width_request">50</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
<property name="top_attach">0</property>
<property name="bottom_attach">2</property>
</packing>
</child>
......@@ -1020,7 +982,7 @@ Which ones would you like to save?&lt;/span&gt;</property>
<property name="spacing">0</property>
<child>
<widget class="GtkHBox" id="hbox10">
<widget class="GtkHBox" id="fileentryhbox2">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
......@@ -1122,9 +1084,28 @@ Which ones would you like to save?&lt;/span&gt;</property>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="left_attach">5</property>
<property name="right_attach">6</property>
<property name="top_attach">0</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<widget class="GtkLayout" id="linkmap1">
<property name="width_request">65</property>
<property name="visible">True</property>
<property name="width">50</property>
<property name="height">50</property>
<property name="hadjustment">0 0 65 10 58.5 65</property>
<property name="vadjustment">0 0 92 10 82.8 92</property>
</widget>
<packing>
<property name="left_attach">4</property>
<property name="right_attach">5</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
</packing>
</child>
......@@ -1135,9 +1116,142 @@ Which ones would you like to save?&lt;/span&gt;</property>
<property name="events">GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_PRESS_MASK</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="left_attach">6</property>
<property name="right_attach">7</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkLayout" id="linkmap0">
<property name="width_request">65</property>
<property name="visible">True</property>
<property name="width">50</property>
<property name="height">50</property>
<property name="hadjustment">0 0 65 10 58.5 65</property>
<property name="vadjustment">0 0 92 10 82.8 92</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkDrawingArea" id="diffmap0">
<property name="width_request">26</property>
<property name="visible">True</property>
<property name="events">GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_PRESS_MASK</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">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="spacer0">
<property name="visible">True</property>
<property name="label" translatable="yes"></property>
<property name="use_underline">False</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</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</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="GtkLabel" id="label10">
<property name="visible">True</property>
<property name="label" translatable="yes"></property>
<property name="use_underline">False</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</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</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="GtkLabel" id="label11">
<property name="visible">True</property>
<property name="label" translatable="yes"></property>
<property name="use_underline">False</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</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">4</property>
<property name="right_attach">5</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="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="label" translatable="yes"></property>
<property name="use_underline">False</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</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">6</property>
<property name="right_attach">7</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>
</widget>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment