diff options
| author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-05 02:59:47 +0000 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-05 02:59:47 +0000 | 
| commit | 5c78971c19a9f941c896b2c818d45319b64651b3 (patch) | |
| tree | e5d69148d5d38427f3152ae486f4ce5685adea65 /hardinfo2/callbacks.c | |
| parent | a1054182ecd202db45cde1883991d70dbb954763 (diff) | |
LoadGraph optimizations, enhancements and cleanups.
Diffstat (limited to 'hardinfo2/callbacks.c')
| -rw-r--r-- | hardinfo2/callbacks.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/hardinfo2/callbacks.c b/hardinfo2/callbacks.c index 69201d82..51035e63 100644 --- a/hardinfo2/callbacks.c +++ b/hardinfo2/callbacks.c @@ -127,7 +127,7 @@ void cb_about_module(GtkAction *action)      GSList *modules = shell->tree->modules;      ModuleAbout *ma;      gchar *name; - +          g_object_get(G_OBJECT(action), "tooltip", &name, NULL);      for (; modules; modules = modules->next) { @@ -140,7 +140,8 @@ void cb_about_module(GtkAction *action)              GtkWidget *about;              about = gtk_about_dialog_new(); -            gtk_about_dialog_set_name(GTK_ABOUT_DIALOG(about), sm->name); +            gtk_about_dialog_set_name(GTK_ABOUT_DIALOG(about), +                                      idle_free(g_strdup_printf("%s Module", sm->name)));              gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(about), ma->version);              gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(about),                                             idle_free(g_strdup_printf("Written by %s", ma->author))); @@ -152,7 +153,7 @@ void cb_about_module(GtkAction *action)              gtk_dialog_run(GTK_DIALOG(about));              gtk_widget_destroy(about);          } else { -            g_warning("No about information is associated with this module."); +            g_warning("No about information is associated with the %s module.", name);          }          break;  | 
