diff options
author | zhuyaliang <[email protected]> | 2019-06-12 17:49:30 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-14 12:05:04 +0200 |
commit | 9c0163fd3086b66e499e44468084836320b4b912 (patch) | |
tree | 36ce3e7c993f36cec105df16e1fc2067db3a1b78 /capplets/time-admin/src/time-share.c | |
parent | 605e2ef44d8c06b14ef8dc44a1d6c7df255c8e92 (diff) | |
download | mate-control-center-9c0163fd3086b66e499e44468084836320b4b912.tar.bz2 mate-control-center-9c0163fd3086b66e499e44468084836320b4b912.tar.xz |
Use default color to set label and remove the maximum button
Diffstat (limited to 'capplets/time-admin/src/time-share.c')
-rw-r--r-- | capplets/time-admin/src/time-share.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/time-admin/src/time-share.c b/capplets/time-admin/src/time-share.c index e3ae18bb..b4c34e80 100644 --- a/capplets/time-admin/src/time-share.c +++ b/capplets/time-admin/src/time-share.c @@ -99,13 +99,13 @@ int MessageReport(const char *Title,const char *Msg,int nType) return nRet; } -void SetLableFontType(GtkWidget *Lable ,const char *Color,int FontSzie,const char *Word) +void SetLableFontType(GtkWidget *Lable,int FontSzie,const char *Word) { char LableTypeBuf[200] = { 0 }; sprintf(LableTypeBuf, - "<span foreground=\'%s\'weight=\'light\'font_desc=\'%d\'>%s</span>", - Color,FontSzie,Word); + "<span font_desc=\'%d\'>%s</span>", + FontSzie,Word); gtk_label_set_markup(GTK_LABEL(Lable),LableTypeBuf); } |