Skip to content
Commits on Source (8)
Overview of changes in gnome-calculator 41.1
* Updated Translations
* Do not force width for basic mode #42 (Robert Roth)
Overview of changes in gnome-calculator 41.0
* Updated Translations
* Use first translated symbol for conversion with button #219 (Robert Roth)
......
project('gnome-calculator', ['c', 'vala'],
version: '41.0',
version: '41.1',
meson_version: '>= 0.52.0',
license: 'GPLv3+',
)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -89,26 +89,31 @@ public class MathWindow : Hdy.ApplicationWindow
case ButtonMode.BASIC:
mode_label.label = _("Basic");
action.set_state (new Variant.string ("basic"));
this.default_width = 360;
break;
case ButtonMode.ADVANCED:
mode_label.label = _("Advanced");
action.set_state (new Variant.string ("advanced"));
this.default_width = 680;
break;
case ButtonMode.FINANCIAL:
mode_label.label = _("Financial");
action.set_state (new Variant.string ("financial"));
this.default_width = 680;
break;
case ButtonMode.PROGRAMMING:
mode_label.label = _("Programming");
action.set_state (new Variant.string ("programming"));
this.default_width = 680;
break;
case ButtonMode.KEYBOARD:
mode_label.label = _("Keyboard");
action.set_state (new Variant.string ("keyboard"));
this.default_width = 680;
break;
}
......
......@@ -100,6 +100,16 @@ clamp:not(.small) .bit-panel {
margin: 6px 12px 0 12px;
}
clamp.small .bit-panel {
padding-top:4px;
padding-bottom: 4px;
font-size: 0.9em;
}
clamp.small .bit-panel button {
min-height: 20px;
}
.math-buttons button {
font-size: 1.1em;
/* Counter the button.text-button style. */
......
......@@ -109,7 +109,6 @@
<property name="role">gnome-calculator</property>
<property name="resizable">True</property>
<property name="show_menubar">False</property>
<property name="default_width">680</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
......