Dominique Leuenberger 2016-08-24 08:07:04 +00:00 committed by Git OBS Bridge
commit 29b9883dcf
4 changed files with 90 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 20 11:18:36 UTC 2016 - dimstar@opensuse.org
- Add history-entry.ui and history-view.ui as sources: they were
missing in the tarball.
-------------------------------------------------------------------
Mon Aug 1 10:35:17 UTC 2016 - zaitor@opensuse.org

View File

@ -24,6 +24,9 @@ License: GPL-3.0+
Group: Productivity/Scientific/Math
Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-calculator/3.20/%{name}-%{version}.tar.xz
# Source files that were missing in the tarball
Source1: history-entry.ui
Source2: history-view.ui
BuildRequires: fdupes
BuildRequires: intltool >= 0.50
BuildRequires: mpfr-devel
@ -61,6 +64,7 @@ search results from GNOME Calculator.
%lang_package
%prep
%setup -q
cp %{S:1} %{S:2} data/
translation-update-upstream
%build

50
history-entry.ui Normal file
View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.19.0 -->
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="HistoryEntry" parent="GtkListBoxRow">
<child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="column_homogeneous">True</property>
<child>
<object class="GtkLabel" id="equation_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property>
<property name="xalign">0.0</property>
<property name="yalign">0.0</property>
<property name="ellipsize">end</property>
<property name="max_width_chars">1</property>
<signal name="button-press-event" handler="equation_clicked_cb" swapped="no"/>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">3</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="answer_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property>
<property name="xalign">0.0</property>
<property name="yalign">0.0</property>
<property name="ellipsize">end</property>
<property name="max_width_chars">1</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<signal name="button-press-event" handler="answer_clicked_cb" swapped="no"/>
</object>
<packing>
<property name="left_attach">3</property>
<property name="top_attach">0</property>
</packing>
</child>
</object>
</child>
</template>
</interface>

30
history-view.ui Normal file
View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.19.0 -->
<interface>
<requires lib="gtk+" version="3.16"/>
<template class="HistoryView" parent="GtkScrolledWindow">
<property name="width_request">100</property>
<property name="height_request">100</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="vexpand">True</property>
<property name="hscrollbar_policy">never</property>
<property name="shadow_type">etched-out</property>
<signal name="size-allocate" handler="scroll_bottom" swapped="no"/>
<child>
<object class="GtkViewport" id="viewport">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="vexpand">True</property>
<property name="border_width">5</property>
<property name="selection_mode">none</property>
</object>
</child>
</object>
</child>
</template>
</interface>