Skip to content

Commit

Permalink
Add support for:
Browse files Browse the repository at this point in the history
                            Intel(R) Core(TM) i7 xxx (bug = black logo)
                            Intel(R) Core(TM) i5 xxx
  • Loading branch information
eloaders committed Jan 21, 2012
1 parent 9c4f3ae commit 814fe51
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 12 deletions.
Binary file modified src/i-nex/.gambas/FINFOSYS
Binary file not shown.
Binary file modified src/i-nex/.gambas/GLOBAL
Binary file not shown.
6 changes: 3 additions & 3 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ SearchComment=False
SearchString=True

[OpenFile]
Active=1
File[1]=".src/Finfosys.form"
File[2]=".src/Finfosys.class:4.100"
File[2]=".src/Finfosys.class:97.19"
File[3]=".src/Global.class:92.31"
File[4]=".src/About.form"
File[5]=".src/About.class:29.47"
Expand All @@ -26,8 +27,7 @@ File[11]=".src/battery.module:28.46"
File[12]=".src/Brightness.form"
File[13]=".src/Brightness.class:13.85"
File[14]=".src/Notify.module:4.8"
Active=15
File[15]=".src/MDBus.module:13.3"
File[15]=".src/MDBus.module:7.3"
Count=15

[Watches]
Expand Down
24 changes: 15 additions & 9 deletions src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Public Sub Form_Open()
Dim gnome_screenshot As Boolean = Exist("/usr/bin/gnome-screenshot")
Dim cpuz0, cpuz1, cpuz2, cpuz3, cpuz4, cpuz5, cpuz6, cpuz7, cpuz8, cpuz9, cpuz10, cpuz11 As String
Dim maxim As Integer
Debug "Check Gnome Screenshot"
If gnome_screenshot = True Then
Button2.Visible = True
Expand Down Expand Up @@ -99,6 +100,11 @@ Public Sub Form_Open()
'Okno na środku
Me.Center

End
Public Sub rplc()



End


Expand Down Expand Up @@ -390,25 +396,25 @@ Public Sub dospam_uptime()
Shell "/sbin/swapon -s | awk {'print $4'} | sed -n '2p'" Wait To usedswap1

TextArea39.Text = total & "MB"
TextArea39.Text = Replace(TextArea39.Text, "\n", " ")
TextArea39.Text = Replace(TextArea39.Text, "\n", "")
TextArea40.Text = used & "MB"
TextArea40.Text = Replace(TextArea40.Text, "\n", " ")
TextArea40.Text = Replace(TextArea40.Text, "\n", "")
TextArea41.Text = freee & "MB"
TextArea41.Text = Replace(TextArea41.Text, "\n", " ")
TextArea41.Text = Replace(TextArea41.Text, "\n", "")
TextArea42.Text = shared & "MB"
TextArea42.Text = Replace(TextArea42.Text, "\n", " ")
TextArea42.Text = Replace(TextArea42.Text, "\n", "")
TextArea43.Text = buffers & "MB"
TextArea43.Text = Replace(TextArea43.Text, "\n", " ")
TextArea43.Text = Replace(TextArea43.Text, "\n", "")
TextArea44.Text = cached & "MB"
TextArea44.Text = Replace(TextArea44.Text, "\n", " ")
TextArea44.Text = Replace(TextArea44.Text, "\n", "")
TextLabel7.Text = usedonthistime & "MB"
TextLabel7.Text = Replace(TextLabel7.Text, "\n", " ")
TextLabel7.Text = Replace(TextLabel7.Text, "\n", "")
TextArea45.Text = swaptotal & "MB"
TextArea45.Text = Replace(TextArea45.Text, "\n", " ")
TextArea45.Text = Replace(TextArea45.Text, "\n", "")
TextLabel24.Text = usedswap / 1000
Exec ["uptime"] Wait To uptime
TextArea37.Text = uptime
TextArea37.Text = Replace(TextArea37.Text, "\n", " ")
TextArea37.Text = Replace(TextArea37.Text, "\n", "")
dospam1 = Replace(dospam1, "\n", "")
totpam1 = Replace(totpam1, "\n", "")
totalswap1 = Replace(totalswap1, "\n", "")
Expand Down
5 changes: 5 additions & 0 deletions src/i-nex/.src/Global.class
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ Static Public Sub ikonaprocka()
If Finfosys.TextArea1.Text Like "*Intel(R) Core(TM) i7*" Then
Finfosys.PictureBox3.Picture = Picture["Processors/intel_core_i7.png"]
Endif

If Finfosys.TextArea1.Text Like "*Intel(R) Core(TM) i5*" Then
Finfosys.PictureBox3.Picture = Picture["Processors/intel_core_i5.png"]
Endif

'Procesory amd
If Finfosys.TextArea1.Text Like "*AMD Athlon(tm) 64 X2*" Then
Finfosys.PictureBox3.Picture = Picture["amdathlonx2.png"]
Expand Down
Binary file added src/i-nex/Processors/intel_core_i5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/i-nex/Processors/intel_core_i7.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 814fe51

Please sign in to comment.