stop coding crazy and make us some tea
This commit is contained in:
parent
f803d0db05
commit
557cdec3ff
|
@ -6530,12 +6530,12 @@ when NOT onlie</property>
|
|||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="lastest_button">
|
||||
<widget class="GtkButton" id="latest_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<signal name="clicked" handler="on_lastest_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:42 GMT"/>
|
||||
<signal name="clicked" handler="on_latest_clicked" last_modification_time="Sun, 04 Apr 2004 17:24:42 GMT"/>
|
||||
|
||||
<child>
|
||||
<widget class="GtkAlignment" id="alignment24">
|
||||
|
@ -6571,7 +6571,7 @@ when NOT onlie</property>
|
|||
<child>
|
||||
<widget class="GtkLabel" id="label133">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">lastest</property>
|
||||
<property name="label" translatable="yes">latest</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
|
|
|
@ -1083,7 +1083,7 @@ class log_Window:
|
|||
self.xml.get_widget('earliest_button').set_sensitive(False)
|
||||
self.xml.get_widget('previous_button').set_sensitive(False)
|
||||
self.xml.get_widget('forward_button').set_sensitive(True)
|
||||
self.xml.get_widget('lastest_button').set_sensitive(True)
|
||||
self.xml.get_widget('latest_button').set_sensitive(True)
|
||||
end = 50
|
||||
if end > self.nb_line:
|
||||
end = nb_line
|
||||
|
@ -1097,7 +1097,7 @@ class log_Window:
|
|||
self.xml.get_widget('earliest_button').set_sensitive(True)
|
||||
self.xml.get_widget('previous_button').set_sensitive(True)
|
||||
self.xml.get_widget('forward_button').set_sensitive(True)
|
||||
self.xml.get_widget('lastest_button').set_sensitive(True)
|
||||
self.xml.get_widget('latest_button').set_sensitive(True)
|
||||
begin = self.num_begin - 50
|
||||
if begin < 0:
|
||||
begin = 0
|
||||
|
@ -1114,7 +1114,7 @@ class log_Window:
|
|||
self.xml.get_widget('earliest_button').set_sensitive(True)
|
||||
self.xml.get_widget('previous_button').set_sensitive(True)
|
||||
self.xml.get_widget('forward_button').set_sensitive(True)
|
||||
self.xml.get_widget('lastest_button').set_sensitive(True)
|
||||
self.xml.get_widget('latest_button').set_sensitive(True)
|
||||
begin = self.num_begin + 50
|
||||
if begin > self.nb_line:
|
||||
begin = self.nb_line
|
||||
|
@ -1131,7 +1131,7 @@ class log_Window:
|
|||
self.xml.get_widget('earliest_button').set_sensitive(True)
|
||||
self.xml.get_widget('previous_button').set_sensitive(True)
|
||||
self.xml.get_widget('forward_button').set_sensitive(False)
|
||||
self.xml.get_widget('lastest_button').set_sensitive(False)
|
||||
self.xml.get_widget('latest_button').set_sensitive(False)
|
||||
begin = self.nb_line - 50
|
||||
if begin < 0:
|
||||
begin = 0
|
||||
|
@ -1148,7 +1148,7 @@ class log_Window:
|
|||
self.xml.get_widget('previous_button').set_sensitive(False)
|
||||
if infos[0] == self.nb_line:
|
||||
self.xml.get_widget('forward_button').set_sensitive(False)
|
||||
self.xml.get_widget('lastest_button').set_sensitive(False)
|
||||
self.xml.get_widget('latest_button').set_sensitive(False)
|
||||
buffer = self.xml.get_widget('textview').get_buffer()
|
||||
start_iter = buffer.get_start_iter()
|
||||
end_iter = buffer.get_end_iter()
|
||||
|
|
Loading…
Reference in New Issue