Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148858 Details for
Bug 230186
GnomeDateEdit problems
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fixes for GnomeDateEdit
gnome-libs-dateedit-fix.patch (text/plain), 1.17 KB, created by
Zoltan Boszormenyi
on 2007-02-27 12:08:36 UTC
(
hide
)
Description:
Fixes for GnomeDateEdit
Filename:
MIME Type:
Creator:
Zoltan Boszormenyi
Created:
2007-02-27 12:08:36 UTC
Size:
1.17 KB
patch
obsolete
>--- gnome-libs-1.4.2/libgnomeui/gnome-dateedit.c.orig 2002-08-06 22:23:31.000000000 +0200 >+++ gnome-libs-1.4.2/libgnomeui/gnome-dateedit.c 2007-02-27 12:51:43.000000000 +0100 >@@ -259,7 +259,11 @@ > mtm->tm_min = 0; > hit = g_new (hour_info_t, 1); > >+#if 0 > strftime (buffer, sizeof (buffer), "%X", mtm); >+#else >+ sprintf(buffer, "%02d:00", i); >+#endif > hit->hour = g_strdup (buffer); > hit->gde = gde; > >@@ -280,7 +284,11 @@ > > mtm->tm_min = j; > hit = g_new (hour_info_t, 1); >+#if 0 > strftime (buffer, sizeof (buffer), "%X", mtm); >+#else >+ sprintf(buffer, "%02d:%02d", i, j); >+#endif > hit->hour = g_strdup (buffer); > hit->gde = gde; > >@@ -397,7 +405,11 @@ > gtk_entry_set_text (GTK_ENTRY (gde->date_entry), buffer); > > /* Set the time */ >+#if 0 > strftime (buffer, sizeof (buffer), "%X", mytm); >+#else >+ sprintf(buffer, "%02d:%02d:%02d", mytm->tm_hour, mytm->tm_min, mytm->tm_sec); >+#endif > gtk_entry_set_text (GTK_ENTRY (gde->time_entry), buffer); > } > >@@ -576,7 +588,11 @@ > if (!g_date_valid (date)) > { > /* Shrug. Will today do? */ >+#if 0 > g_date_set_time (date, time (NULL)); >+#else >+ return (time_t)-1; >+#endif > } > > tm.tm_mon = g_date_month (date);
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 230186
:
148851
|
148853
|
148858
|
148859