Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
3659f22d
Commit
3659f22d
authored
Sep 22, 1998
by
Arturo Espinosa
Browse files
oops forgot to add this file
parent
f5b1ccd7
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/about.c
0 → 100644
View file @
3659f22d
/*
* about.c: Shows the contributors to Gnumeric.
*
* Author:
* Miguel de Icaza (miguel@gnu.org)
*
*/
#include
<config.h>
#include
<gnome.h>
#include
"gnumeric.h"
#include
"dialogs.h"
void
dialog_about
(
void
)
{
GtkWidget
*
about
;
const
gchar
*
authors
[]
=
{
"Miguel de Icaza, main programmer."
,
"Daniel Viellard, XML support."
,
"Chris Lahey, Number format engine."
,
"Tom Dyas, Plugin support."
,
"Federico Mena, Canvas support."
,
NULL
};
about
=
gnome_about_new
(
_
(
"Gnumeric"
),
VERSION
,
"(C) 1998 Miguel de Icaza"
,
authors
,
_
(
"The GNOME spreadsheet."
),
NULL
);
gnome_dialog_set_modal
(
GNOME_DIALOG
(
about
));
gnome_dialog_set_close
(
GNOME_DIALOG
(
about
),
TRUE
);
gtk_widget_show
(
about
);
}
src/cell.c
View file @
3659f22d
...
...
@@ -206,7 +206,7 @@ cell_render_value (Cell *cell)
style_color_unref
(
cell
->
render_color
);
cell
->
render_color
=
NULL
;
}
str
=
format_value
(
cell
->
style
->
format
,
cell
->
value
,
&
color
);
cell
->
render_color
=
color
;
...
...
src/dialogs/dialog-about.c
0 → 100644
View file @
3659f22d
/*
* about.c: Shows the contributors to Gnumeric.
*
* Author:
* Miguel de Icaza (miguel@gnu.org)
*
*/
#include
<config.h>
#include
<gnome.h>
#include
"gnumeric.h"
#include
"dialogs.h"
void
dialog_about
(
void
)
{
GtkWidget
*
about
;
const
gchar
*
authors
[]
=
{
"Miguel de Icaza, main programmer."
,
"Daniel Viellard, XML support."
,
"Chris Lahey, Number format engine."
,
"Tom Dyas, Plugin support."
,
"Federico Mena, Canvas support."
,
NULL
};
about
=
gnome_about_new
(
_
(
"Gnumeric"
),
VERSION
,
"(C) 1998 Miguel de Icaza"
,
authors
,
_
(
"The GNOME spreadsheet."
),
NULL
);
gnome_dialog_set_modal
(
GNOME_DIALOG
(
about
));
gnome_dialog_set_close
(
GNOME_DIALOG
(
about
),
TRUE
);
gtk_widget_show
(
about
);
}
src/format.c
View file @
3659f22d
...
...
@@ -1075,7 +1075,10 @@ format_value (StyleFormat *format, Value *value, StyleColor **color)
case
VALUE_FLOAT
:
if
(
is_general
)
entry
.
format
=
"0.##"
;
v
=
format_number
(
value
->
v
.
v_float
,
&
entry
);
if
(
finite
(
value
->
v
.
v_float
))
v
=
format_number
(
value
->
v
.
v_float
,
&
entry
);
else
return
g_strdup
(
"#VAL"
);
break
;
case
VALUE_INTEGER
:
...
...
src/gnumeric-canvas.c
View file @
3659f22d
...
...
@@ -685,10 +685,10 @@ gnumeric_sheet_key (GtkWidget *widget, GdkEventKey *event)
/* fall down */
default:
if
((
event
->
state
&
(
GDK_MOD1_MASK
|
GDK_CONTROL_MASK
))
!=
0
)
return
0
;
if
(
!
gsheet
->
item_editor
){
if
((
event
->
state
&
(
GDK_MOD1_MASK
|
GDK_CONTROL_MASK
))
!=
0
)
return
0
;
if
(
event
->
keyval
>=
0x20
&&
event
->
keyval
<=
0xff
)
sheet_start_editing_at_cursor
(
sheet
);
}
...
...
src/gnumeric-sheet.c
View file @
3659f22d
...
...
@@ -685,10 +685,10 @@ gnumeric_sheet_key (GtkWidget *widget, GdkEventKey *event)
/* fall down */
default:
if
((
event
->
state
&
(
GDK_MOD1_MASK
|
GDK_CONTROL_MASK
))
!=
0
)
return
0
;
if
(
!
gsheet
->
item_editor
){
if
((
event
->
state
&
(
GDK_MOD1_MASK
|
GDK_CONTROL_MASK
))
!=
0
)
return
0
;
if
(
event
->
keyval
>=
0x20
&&
event
->
keyval
<=
0xff
)
sheet_start_editing_at_cursor
(
sheet
);
}
...
...
src/sheet.c
View file @
3659f22d
...
...
@@ -188,7 +188,6 @@ sheet_set_zoom_factor (Sheet *sheet, double factor)
sheet_foreach_col
(
sheet
,
sheet_compute_col_row_new_size
,
NULL
);
sheet_foreach_row
(
sheet
,
sheet_compute_col_row_new_size
,
NULL
);
g_warning
(
"Need to recompute string lenghts of cells
\n
"
);
for
(
l
=
sheet
->
sheet_views
;
l
;
l
=
l
->
next
){
SheetView
*
sheet_view
=
l
->
data
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment