Changeset - f22bd3eead48
[Not reviewed]
0 2 0
Joar Wandborg - 10 years ago 2013-12-17 13:11:59
joar@wandborg.se
[gtk] status_description => activity_description
2 files changed with 35 insertions and 21 deletions:
0 comments (0 inline, 0 general)
accounting/gtkclient.py
Show inline comments
...
 
@@ -23,3 +23,3 @@ def indicate_activity(func_or_str):
 
        def wrapper(self, *args, **kw):
 
            self.status_description.set_text(description)
 
            self.activity_description.set_text(description)
 
            self.activity_indicator.show()
...
 
@@ -42,3 +42,3 @@ def indicate_activity_done(func):
 
    def wrapper(self, *args, **kw):
 
        self.status_description.set_text('')
 
        self.activity_description.set_text('')
 
        self.activity_indicator.stop()
accounting/res/client-ui.glade
Show inline comments
...
 
@@ -3,16 +3,2 @@
 
  <!-- interface-requires gtk+ 3.0 -->
 
  <object class="GtkListStore" id="posting_store">
 
    <columns>
 
      <!-- column-name Account -->
 
      <column type="gchararray"/>
 
      <!-- column-name Amount -->
 
      <column type="gchararray"/>
 
      <!-- column-name Symbol -->
 
      <column type="gchararray"/>
 
    </columns>
 
  </object>
 
  <object class="GtkAction" id="show_about">
 
    <property name="label" translatable="yes">About</property>
 
    <signal name="activate" handler="on_show_about_activate" swapped="no"/>
 
  </object>
 
  <object class="GtkWindow" id="accounting_window">
...
 
@@ -164,2 +150,3 @@
 
                    <property name="ypad">18</property>
 
                    <property name="label" translatable="yes">January Licensing Fees</property>
 
                    <attributes>
...
 
@@ -240,3 +227,12 @@
 
            <child>
 
              <placeholder/>
 
              <object class="GtkLabel" id="label1">
 
                <property name="visible">True</property>
 
                <property name="can_focus">False</property>
 
                <property name="ypad">2</property>
 
              </object>
 
              <packing>
 
                <property name="expand">False</property>
 
                <property name="fill">True</property>
 
                <property name="position">0</property>
 
              </packing>
 
            </child>
...
 
@@ -245,2 +241,6 @@
 
                <property name="can_focus">False</property>
 
                <property name="margin_left">5</property>
 
                <property name="margin_right">5</property>
 
                <property name="margin_top">5</property>
 
                <property name="margin_bottom">5</property>
 
              </object>
...
 
@@ -254,5 +254,6 @@
 
            <child>
 
              <object class="GtkLabel" id="status_description">
 
              <object class="GtkLabel" id="activity_description">
 
                <property name="can_focus">False</property>
 
                <property name="ypad">1</property>
 
                <property name="label" translatable="yes">Working...</property>
 
              </object>
...
 
@@ -278,5 +279,5 @@
 
    <property name="border_width">5</property>
 
    <property name="window_position">center-always</property>
 
    <property name="window_position">center-on-parent</property>
 
    <property name="destroy_with_parent">True</property>
 
    <property name="type_hint">dialog</property>
 
    <property name="type_hint">splashscreen</property>
 
    <property name="transient_for">accounting_window</property>
...
 
@@ -286,3 +287,2 @@
 
    <property name="website_label" translatable="yes">Source code</property>
 
    <property name="license_type">lgpl-2-1</property>
 
    <signal name="close" handler="on_about_dialog_close" swapped="no"/>
...
 
@@ -290,2 +290,16 @@
 
  </object>
 
  <object class="GtkListStore" id="posting_store">
 
    <columns>
 
      <!-- column-name Account -->
 
      <column type="gchararray"/>
 
      <!-- column-name Amount -->
 
      <column type="gchararray"/>
 
      <!-- column-name Symbol -->
 
      <column type="gchararray"/>
 
    </columns>
 
  </object>
 
  <object class="GtkAction" id="show_about">
 
    <property name="label" translatable="yes">About</property>
 
    <signal name="activate" handler="on_show_about_activate" swapped="no"/>
 
  </object>
 
  <object class="GtkAccelGroup" id="transaction_accel_group"/>
0 comments (0 inline, 0 general)