summaryrefslogtreecommitdiff
path: root/netspeed/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-22 16:48:28 +0300
committermonsta <[email protected]>2016-11-22 16:57:06 +0300
commit0e5ba8dc3799a77c4a070dd33e6ec9e678345a94 (patch)
treed5b313af3171a2ab5a12562bb9c1da009da72e7b /netspeed/src
parent760372cfb15b0955ac63155223892faad59c6a98 (diff)
downloadmate-applets-0e5ba8dc3799a77c4a070dd33e6ec9e678345a94.tar.bz2
mate-applets-0e5ba8dc3799a77c4a070dd33e6ec9e678345a94.tar.xz
fix some indent and a couple of typos
Diffstat (limited to 'netspeed/src')
-rw-r--r--netspeed/src/netspeed.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/netspeed/src/netspeed.c b/netspeed/src/netspeed.c
index f2eac2f9..734d0785 100644
--- a/netspeed/src/netspeed.c
+++ b/netspeed/src/netspeed.c
@@ -1012,8 +1012,8 @@ settings_cb(GtkAction *action, gpointer data)
gtk_label_set_use_markup(GTK_LABEL(category_header_label), TRUE);
gtk_label_set_justify(GTK_LABEL(category_header_label), GTK_JUSTIFY_LEFT);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (category_header_label), 0.0);
- gtk_label_set_yalign (GTK_LABEL (category_header_label), 0.5);
+ gtk_label_set_xalign (GTK_LABEL (category_header_label), 0.0);
+ gtk_label_set_yalign (GTK_LABEL (category_header_label), 0.5);
#else
gtk_misc_set_alignment(GTK_MISC (category_header_label), 0.0, 0.5);
#endif
@@ -1036,8 +1036,8 @@ settings_cb(GtkAction *action, gpointer data)
network_device_label = gtk_label_new_with_mnemonic(_("Network _device:"));
gtk_label_set_justify(GTK_LABEL(network_device_label), GTK_JUSTIFY_LEFT);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (network_device_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (network_device_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (network_device_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (network_device_label), 0.5f);
#else
gtk_misc_set_alignment(GTK_MISC(network_device_label), 0.0f, 0.5f);
#endif
@@ -1324,30 +1324,30 @@ showinfo_cb(GtkAction *action, gpointer data)
gtk_label_set_selectable(GTK_LABEL(ptpip_text), TRUE);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (ip_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ip_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (ip_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ip_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (netmask_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (netmask_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (netmask_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (netmask_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (hwaddr_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (hwaddr_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (hwaddr_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (hwaddr_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (ptpip_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ptpip_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (ptpip_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ptpip_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (inbytes_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (inbytes_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (applet->inbytes_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (applet->inbytes_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (outbytes_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (outbytes_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (applet->outbytes_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (applet->outbytes_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ip_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ip_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ip_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ip_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (netmask_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (netmask_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (netmask_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (netmask_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (hwaddr_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (hwaddr_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (hwaddr_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (hwaddr_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ptpip_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ptpip_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ptpip_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ptpip_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (inbytes_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (inbytes_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (applet->inbytes_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (applet->inbytes_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (outbytes_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (outbytes_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (applet->outbytes_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (applet->outbytes_text), 0.5f);
#else
gtk_misc_set_alignment(GTK_MISC(ip_label), 0.0f, 0.5f);
gtk_misc_set_alignment(GTK_MISC(ip_text), 0.0f, 0.5f);