Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
TimeManager
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
linux-tools
TimeManager
Commits
a680b7c0
Commit
a680b7c0
authored
Aug 13, 2019
by
Carit Zhu
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete timemanager.ui and adjust the layout for tool
parent
5748a635
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
388 deletions
+39
-388
main.c
main.c
+39
-10
timemanager.ui
timemanager.ui
+0
-378
No files found.
main.c
View file @
a680b7c0
...
@@ -172,6 +172,7 @@ static void timezone_init(GtkWidget *window_vbox) {
...
@@ -172,6 +172,7 @@ static void timezone_init(GtkWidget *window_vbox) {
GtkCellRenderer
*
cell
=
NULL
;
GtkCellRenderer
*
cell
=
NULL
;
/* Timezone */
/* Timezone */
GtkWidget
*
align_timezone
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);;
GtkWidget
*
timezone_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
GtkWidget
*
timezone_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
GtkWidget
*
label_timezone
=
gtk_label_new
(
"TimeZone:"
);
GtkWidget
*
label_timezone
=
gtk_label_new
(
"TimeZone:"
);
...
@@ -180,7 +181,8 @@ static void timezone_init(GtkWidget *window_vbox) {
...
@@ -180,7 +181,8 @@ static void timezone_init(GtkWidget *window_vbox) {
combo_timezone
=
gtk_combo_box_new
();
combo_timezone
=
gtk_combo_box_new
();
gtk_box_pack_start
(
GTK_BOX
(
timezone_hbox
),
combo_timezone
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
timezone_hbox
),
combo_timezone
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
timezone_hbox
),
FALSE
,
FALSE
,
5
);
gtk_container_add
(
GTK_CONTAINER
(
align_timezone
),
timezone_hbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_timezone
),
FALSE
,
FALSE
,
5
);
FILE
*
fp
=
popen
(
"timedatectl list-timezones"
,
"r"
);
FILE
*
fp
=
popen
(
"timedatectl list-timezones"
,
"r"
);
...
@@ -273,11 +275,20 @@ static void date_init(GtkEntry *entry_date, GtkEntry *entry_hour, GtkEntry *entr
...
@@ -273,11 +275,20 @@ static void date_init(GtkEntry *entry_date, GtkEntry *entry_hour, GtkEntry *entr
}
}
static
int
date_widget_init
(
GtkWidget
*
window_vbox
)
{
static
int
date_widget_init
(
GtkWidget
*
window_vbox
)
{
GtkWidget
*
align_date
;
GtkWidget
*
align_hour
;
GtkWidget
*
align_minute
;
GtkWidget
*
align_second
;
GtkWidget
*
combo_hour
;
GtkWidget
*
combo_hour
;
GtkWidget
*
combo_minute
;
GtkWidget
*
combo_minute
;
GtkWidget
*
combo_second
;
GtkWidget
*
combo_second
;
gchar
text
[
3
]
=
{
0
};
gchar
text
[
3
]
=
{
0
};
align_date
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);
align_hour
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);
align_minute
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);
align_second
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);
/* Date */
/* Date */
GtkWidget
*
date_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
GtkWidget
*
date_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
...
@@ -291,7 +302,8 @@ static int date_widget_init(GtkWidget *window_vbox) {
...
@@ -291,7 +302,8 @@ static int date_widget_init(GtkWidget *window_vbox) {
}
}
gtk_box_pack_start
(
GTK_BOX
(
date_hbox
),
entry_date
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
date_hbox
),
entry_date
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
date_hbox
),
FALSE
,
FALSE
,
5
);
gtk_container_add
(
GTK_CONTAINER
(
align_date
),
date_hbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_date
),
FALSE
,
FALSE
,
5
);
/* Time */
/* Time */
GtkWidget
*
hour_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
GtkWidget
*
hour_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
...
@@ -314,13 +326,15 @@ static int date_widget_init(GtkWidget *window_vbox) {
...
@@ -314,13 +326,15 @@ static int date_widget_init(GtkWidget *window_vbox) {
entry_hour
=
(
GTK_BIN
(
combo_hour
)
->
child
);
entry_hour
=
(
GTK_BIN
(
combo_hour
)
->
child
);
gtk_box_pack_start
(
GTK_BOX
(
hour_hbox
),
combo_hour
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
hour_hbox
),
combo_hour
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
hour_hbox
),
FALSE
,
FALSE
,
5
);
gtk_container_add
(
GTK_CONTAINER
(
align_hour
),
hour_hbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_hour
),
FALSE
,
FALSE
,
5
);
/* Minute */
/* Minute */
GtkWidget
*
label_blank1
=
gtk_label_new
(
""
);
GtkWidget
*
label_blank1
=
gtk_label_new
(
""
);
gtk_box_pack_start
(
GTK_BOX
(
minute_hbox
),
label_blank1
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
minute_hbox
),
label_blank1
,
FALSE
,
FALSE
,
3
);
GtkWidget
*
label_minute
=
gtk_label_new
(
"M:"
);
GtkWidget
*
label_minute
=
gtk_label_new
(
"M:"
);
gtk_label_set_justify
(
GTK_LABEL
(
label_minute
),
GTK_JUSTIFY_RIGHT
);
gtk_box_pack_start
(
GTK_BOX
(
minute_hbox
),
label_minute
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
minute_hbox
),
label_minute
,
FALSE
,
FALSE
,
3
);
combo_minute
=
gtk_combo_box_text_new_with_entry
();
combo_minute
=
gtk_combo_box_text_new_with_entry
();
...
@@ -332,13 +346,15 @@ static int date_widget_init(GtkWidget *window_vbox) {
...
@@ -332,13 +346,15 @@ static int date_widget_init(GtkWidget *window_vbox) {
entry_minute
=
(
GTK_BIN
(
combo_minute
)
->
child
);
entry_minute
=
(
GTK_BIN
(
combo_minute
)
->
child
);
gtk_box_pack_start
(
GTK_BOX
(
minute_hbox
),
combo_minute
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
minute_hbox
),
combo_minute
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
minute_hbox
),
FALSE
,
FALSE
,
5
);
gtk_container_add
(
GTK_CONTAINER
(
align_minute
),
minute_hbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_minute
),
FALSE
,
FALSE
,
5
);
/* Second */
/* Second */
GtkWidget
*
label_blank2
=
gtk_label_new
(
""
);
GtkWidget
*
label_blank2
=
gtk_label_new
(
""
);
gtk_box_pack_start
(
GTK_BOX
(
second_hbox
),
label_blank2
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
second_hbox
),
label_blank2
,
FALSE
,
FALSE
,
3
);
GtkWidget
*
label_second
=
gtk_label_new
(
"S:"
);
GtkWidget
*
label_second
=
gtk_label_new
(
"S:"
);
gtk_label_set_justify
(
GTK_LABEL
(
label_second
),
GTK_JUSTIFY_RIGHT
);
gtk_box_pack_start
(
GTK_BOX
(
second_hbox
),
label_second
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
second_hbox
),
label_second
,
FALSE
,
FALSE
,
3
);
combo_second
=
gtk_combo_box_text_new_with_entry
();
combo_second
=
gtk_combo_box_text_new_with_entry
();
...
@@ -350,7 +366,8 @@ static int date_widget_init(GtkWidget *window_vbox) {
...
@@ -350,7 +366,8 @@ static int date_widget_init(GtkWidget *window_vbox) {
entry_second
=
(
GTK_BIN
(
combo_second
)
->
child
);
entry_second
=
(
GTK_BIN
(
combo_second
)
->
child
);
gtk_box_pack_start
(
GTK_BOX
(
second_hbox
),
combo_second
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
second_hbox
),
combo_second
,
FALSE
,
FALSE
,
3
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
second_hbox
),
FALSE
,
FALSE
,
5
);
gtk_container_add
(
GTK_CONTAINER
(
align_second
),
second_hbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_second
),
FALSE
,
FALSE
,
5
);
date_init
(
GTK_ENTRY
(
entry_date
),
GTK_ENTRY
(
entry_hour
),
GTK_ENTRY
(
entry_minute
),
GTK_ENTRY
(
entry_second
));
date_init
(
GTK_ENTRY
(
entry_date
),
GTK_ENTRY
(
entry_hour
),
GTK_ENTRY
(
entry_minute
),
GTK_ENTRY
(
entry_second
));
...
@@ -374,10 +391,12 @@ static int date_widget_init(GtkWidget *window_vbox) {
...
@@ -374,10 +391,12 @@ static int date_widget_init(GtkWidget *window_vbox) {
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
GtkWidget
*
window
;
GtkWidget
*
window
;
GtkWidget
*
align_window
;
gtk_init
(
&
argc
,
&
argv
);
gtk_init
(
&
argc
,
&
argv
);
window
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
window
=
gtk_window_new
(
GTK_WINDOW_TOPLEVEL
);
align_window
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);
gtk_window_set_title
(
GTK_WINDOW
(
window
),
"Date & Time"
);
gtk_window_set_title
(
GTK_WINDOW
(
window
),
"Date & Time"
);
gtk_window_set_position
(
GTK_WINDOW
(
window
),
GTK_WIN_POS_CENTER
);
gtk_window_set_position
(
GTK_WINDOW
(
window
),
GTK_WIN_POS_CENTER
);
...
@@ -385,24 +404,34 @@ int main(int argc, char **argv) {
...
@@ -385,24 +404,34 @@ int main(int argc, char **argv) {
/* Create vbox for whole style(vertical) */
/* Create vbox for whole style(vertical) */
GtkWidget
*
window_vbox
=
gtk_vbox_new
(
TRUE
,
2
);
GtkWidget
*
window_vbox
=
gtk_vbox_new
(
TRUE
,
2
);
GtkWidget
*
date_time_vbox
=
gtk_vbox_new
(
TRUE
,
2
);
/* Date */
/* Date */
date_widget_init
(
window
_vbox
);
date_widget_init
(
date_time
_vbox
);
/* Timezone */
/* Timezone */
get_time_date_status
();
get_time_date_status
();
timezone_init
(
window_vbox
);
timezone_init
(
date_time_vbox
);
gtk_container_add
(
GTK_CONTAINER
(
align_window
),
date_time_vbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_window
),
FALSE
,
FALSE
,
0
);
/* OK and Cancel */
/* OK and Cancel */
GtkWidget
*
align_button
=
gtk_alignment_new
(
0
.
5
,
0
.
5
,
0
,
0
);
GtkWidget
*
button_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
GtkWidget
*
button_hbox
=
gtk_hbox_new
(
TRUE
,
2
);
GtkWidget
*
button_ok
=
gtk_button_new_with_label
(
"Ok"
);
GtkWidget
*
button_ok
=
gtk_button_new_with_label
(
"Ok"
);
GtkWidget
*
button_cancel
=
gtk_button_new_with_label
(
"Cancel"
);
GtkWidget
*
button_cancel
=
gtk_button_new_with_label
(
"Cancel"
);
gtk_box_pack_start
(
GTK_BOX
(
button_hbox
),
button_ok
,
TRUE
,
TRUE
,
50
);
gtk_box_pack_start
(
GTK_BOX
(
button_hbox
),
button_cancel
,
TRUE
,
TRUE
,
50
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
button_hbox
),
FALSE
,
FALSE
,
5
);
gtk_widget_set_size_request
(
button_ok
,
120
,
60
);
gtk_widget_set_size_request
(
button_cancel
,
120
,
60
);
//gtk_widget_set_size_request(button_hbox, 240, 80);
gtk_box_pack_start
(
GTK_BOX
(
button_hbox
),
button_ok
,
FALSE
,
FALSE
,
50
);
gtk_box_pack_start
(
GTK_BOX
(
button_hbox
),
button_cancel
,
FALSE
,
FALSE
,
50
);
gtk_container_add
(
GTK_CONTAINER
(
align_button
),
button_hbox
);
gtk_box_pack_start
(
GTK_BOX
(
window_vbox
),
GTK_WIDGET
(
align_button
),
FALSE
,
FALSE
,
2
);
g_signal_connect
(
button_ok
,
GTK_EVENT_CLICKED
,
G_CALLBACK
(
button_handler
),
"ok"
);
g_signal_connect
(
button_ok
,
GTK_EVENT_CLICKED
,
G_CALLBACK
(
button_handler
),
"ok"
);
g_signal_connect
(
button_cancel
,
GTK_EVENT_CLICKED
,
G_CALLBACK
(
button_handler
),
"cancel"
);
g_signal_connect
(
button_cancel
,
GTK_EVENT_CLICKED
,
G_CALLBACK
(
button_handler
),
"cancel"
);
...
...
timemanager.ui
deleted
100644 → 0
View file @
5748a635
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.12"
/>
<object
class=
"GtkDialog"
id=
"dialog-date_time"
>
<property
name=
"width_request"
>
320
</property>
<property
name=
"height_request"
>
240
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"title"
translatable=
"yes"
>
Date
&
Time
</property>
<property
name=
"window_position"
>
center
</property>
<property
name=
"default_width"
>
320
</property>
<property
name=
"default_height"
>
240
</property>
<property
name=
"type_hint"
>
dialog
</property>
<property
name=
"gravity"
>
center
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox-date_time"
>
<property
name=
"width_request"
>
320
</property>
<property
name=
"height_request"
>
160
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
2
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area-date_time"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
<child>
<object
class=
"GtkButton"
id=
"button-ok"
>
<property
name=
"label"
translatable=
"yes"
>
OK
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"button-cancel"
>
<property
name=
"label"
translatable=
"yes"
>
Cancel
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box-date_time"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<child>
<object
class=
"GtkBox"
id=
"box-date"
>
<property
name=
"width_request"
>
120
</property>
<property
name=
"height_request"
>
60
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<child>
<object
class=
"GtkLabel"
id=
"label-date"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_top"
>
4
</property>
<property
name=
"label"
translatable=
"yes"
>
Date:
</property>
<property
name=
"ellipsize"
>
start
</property>
<property
name=
"width_chars"
>
16
</property>
<property
name=
"max_width_chars"
>
16
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"ultrabold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkEntry"
id=
"entry-date"
>
<property
name=
"width_request"
>
120
</property>
<property
name=
"height_request"
>
30
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"padding"
>
2
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box-time"
>
<property
name=
"width_request"
>
120
</property>
<property
name=
"height_request"
>
30
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_top"
>
2
</property>
<property
name=
"margin_bottom"
>
2
</property>
<child>
<object
class=
"GtkLabel"
id=
"label-time"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Time:
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"width_chars"
>
16
</property>
<property
name=
"max_width_chars"
>
16
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label3"
>
<property
name=
"width_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
H
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"normal"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"comboboxtext-hour"
>
<property
name=
"width_request"
>
40
</property>
<property
name=
"height_request"
>
30
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"resize_mode"
>
immediate
</property>
<property
name=
"active"
>
0
</property>
<property
name=
"button_sensitivity"
>
on
</property>
<property
name=
"has_entry"
>
True
</property>
<child
internal-child=
"entry"
>
<object
class=
"GtkEntry"
id=
"comboboxtext-entry-hour"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"has_frame"
>
False
</property>
</object>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"padding"
>
2
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_top"
>
2
</property>
<property
name=
"margin_bottom"
>
2
</property>
<child>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"width_chars"
>
16
</property>
<property
name=
"max_width_chars"
>
16
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label4"
>
<property
name=
"width_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
M
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"normal"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"comboboxtext-minute"
>
<property
name=
"width_request"
>
40
</property>
<property
name=
"height_request"
>
30
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"active"
>
0
</property>
<property
name=
"button_sensitivity"
>
on
</property>
<property
name=
"has_entry"
>
True
</property>
<child
internal-child=
"entry"
>
<object
class=
"GtkEntry"
id=
"comboboxtext-entry-minute"
>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"has_frame"
>
False
</property>
<property
name=
"input_purpose"
>
number
</property>
</object>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"padding"
>
2
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box2"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_top"
>
2
</property>
<property
name=
"margin_bottom"
>
2
</property>
<child>
<object
class=
"GtkLabel"
id=
"label2"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"width_chars"
>
16
</property>
<property
name=
"max_width_chars"
>
16
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label5"
>
<property
name=
"width_request"
>
20
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
S
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"normal"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBoxText"
id=
"comboboxtext-second"
>
<property
name=
"width_request"
>
40
</property>
<property
name=
"height_request"
>
30
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"active"
>
0
</property>
<property
name=
"button_sensitivity"
>
on
</property>
<property
name=
"has_entry"
>
True
</property>
<child
internal-child=
"entry"
>
<object
class=
"GtkEntry"
id=
"comboboxtext-entry-second"
>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"has_frame"
>
False
</property>
<property
name=
"input_purpose"
>
number
</property>
</object>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"padding"
>
2
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
3
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box-timezone"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"margin_top"
>
5
</property>
<property
name=
"margin_bottom"
>
5
</property>
<child>
<object
class=
"GtkLabel"
id=
"label-timezone"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
TimeZone:
</property>
<property
name=
"width_chars"
>
16
</property>
<property
name=
"max_width_chars"
>
16
</property>
<attributes>
<attribute
name=
"style"
value=
"normal"
/>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkComboBox"
id=
"combobox-timezone"
>
<property
name=
"width_request"
>
120
</property>
<property
name=
"height_request"
>
30
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"active"
>
0
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"padding"
>
2
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
4
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</interface>
Write
Preview
Markdown
is supported
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