diff options
author | mouse <[email protected]> | 2019-06-25 17:57:18 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2019-06-25 17:57:18 +0800 |
commit | dcadc0ec7ce7ec5a7f4b42a6b07ee76922ba5569 (patch) | |
tree | 4aa44934d0eb2146a72016d16b088bd5032271cd /capplets/time-admin/src/main.c | |
parent | 7fa0dd119d4bad38fed214e84514ee85516a0c7d (diff) | |
parent | eb8e9e5da59603d47ee62567d3da5698560b827e (diff) | |
download | mate-control-center-dcadc0ec7ce7ec5a7f4b42a6b07ee76922ba5569.tar.bz2 mate-control-center-dcadc0ec7ce7ec5a7f4b42a6b07ee76922ba5569.tar.xz |
Merge pull request #471 from mate-desktop/markup
time-admin: theming
Diffstat (limited to 'capplets/time-admin/src/main.c')
-rw-r--r-- | capplets/time-admin/src/main.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/capplets/time-admin/src/main.c b/capplets/time-admin/src/main.c index fb9e87a2..6a2f2028 100644 --- a/capplets/time-admin/src/main.c +++ b/capplets/time-admin/src/main.c @@ -218,9 +218,8 @@ static GtkWidget * TimeZoneAndNtp(TimeAdmin *ta) table = gtk_grid_new(); gtk_grid_set_column_homogeneous(GTK_GRID(table),TRUE); - TimeZoneLabel = gtk_label_new(NULL); + TimeZoneLabel = gtk_label_new (_("Time Zone:")); gtk_widget_set_halign(TimeZoneLabel,GTK_ALIGN_START); - SetLableFontType(TimeZoneLabel,11,_("Time Zone:")); gtk_grid_attach(GTK_GRID(table) ,TimeZoneLabel, 0 , 0 , 1 , 1); SetupTimezoneDialog(ta); @@ -234,9 +233,8 @@ static GtkWidget * TimeZoneAndNtp(TimeAdmin *ta) gtk_grid_attach(GTK_GRID(table) ,ta->TimeZoneButton,1 , 0 , 3 , 1); - NtpSyncLabel = gtk_label_new(NULL); + NtpSyncLabel = gtk_label_new (_("Ntp Sync:")); gtk_widget_set_halign(NtpSyncLabel,GTK_ALIGN_START); - SetLableFontType(NtpSyncLabel,11,_("Ntp Sync:")); gtk_grid_attach(GTK_GRID(table) ,NtpSyncLabel, 0 , 1 , 1 , 1); ta->NtpSyncSwitch = gtk_switch_new(); @@ -286,8 +284,7 @@ static GtkWidget *SetClock(TimeAdmin *ta) table = gtk_grid_new(); gtk_grid_set_column_homogeneous(GTK_GRID(table),TRUE); - TimeLabel = gtk_label_new(NULL); - SetLableFontType(TimeLabel,13,_("Set Time")); + TimeLabel = gtk_label_new (_("Set Time")); gtk_widget_set_halign(TimeLabel,GTK_ALIGN_CENTER); gtk_widget_set_valign(TimeLabel,GTK_ALIGN_START); gtk_widget_set_hexpand(TimeLabel,FALSE); @@ -322,9 +319,8 @@ static GtkWidget *SetDate(TimeAdmin *ta) table = gtk_grid_new(); gtk_grid_set_column_homogeneous (GTK_GRID(table), TRUE); - DateLabel = gtk_label_new (NULL); - SetLableFontType (DateLabel, 13, _("Set Date")); - gtk_grid_attach (GTK_GRID(table), DateLabel, 1, 0, 2, 2); + DateLabel = gtk_label_new (_("Set Date")); + gtk_grid_attach(GTK_GRID(table) ,DateLabel, 1 , 0 , 2 , 2); LocalTime = GetCurrentTime (); ta->Calendar = gtk_calendar_new (); |