Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65227 Details for
Bug 101541
x11-plugins/gkfreq - gkrellm plugin (new ebuild).
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against gkfreq-0.1.1.
gkfreq-main.patch (text/plain), 1.07 KB, created by
Pietro Franchi
on 2005-08-06 05:37:40 UTC
(
hide
)
Description:
Patch against gkfreq-0.1.1.
Filename:
MIME Type:
Creator:
Pietro Franchi
Created:
2005-08-06 05:37:40 UTC
Size:
1.07 KB
patch
obsolete
>--- gkfreq.c 2005-06-07 16:42:00.000000000 +0000 >+++ gkfreq-0.1.1/gkfreq.c 2005-08-03 23:16:49.000000000 +0000 >@@ -13,9 +13,11 @@ > #define CONFIG_NAME "gkfreq" > #define STYLE_NAME "gkfreq" > >+ > static GkrellmMonitor *monitor; > static GkrellmPanel *panel; > static GkrellmDecal *decal_text1; >+static GkrellmTicks *pGK; > static gint style_id; > > >@@ -68,18 +70,18 @@ > x_scroll = (x_scroll + 1) % (2 * w); > > // dont do it too much... >- if ((GK.timer_ticks % 10) != 0) return; >+ if (pGK->second_tick) { > > read_MHz(info, 31); > > decal_text1->x_off = >- (w - gdk_string_width(decal_text1->text_style.font, >- info)) / 2; >+ (w - gkrellm_gdk_string_width(decal_text1->text_style.font, info)) / 2; > if (decal_text1->x_off < 0) > decal_text1->x_off = 0; > > gkrellm_draw_decal_text(panel, decal_text1, info, w - x_scroll); > gkrellm_draw_panel_layers(panel); >+ } > } > > >@@ -135,7 +137,7 @@ > > GkrellmMonitor * > gkrellm_init_plugin() { >- >+ pGK = gkrellm_ticks(); > style_id = gkrellm_add_meter_style(&plugin_mon, STYLE_NAME); > monitor = &plugin_mon; > return &plugin_mon;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 101541
:
65226
|
65227
|
65639
|
68467