Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
libfm
libfm-1.2.3-Fix-SF967.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libfm-1.2.3-Fix-SF967.patch of Package libfm
From 7ace4a16024d05ba8464e364e03bc401ce54a7d9 Mon Sep 17 00:00:00 2001 From: Andriy Grytsenko <andrej@rep.kiev.ua> Date: Mon, 22 Jun 2015 21:13:14 +0300 Subject: [PATCH] [SF#967] Fix timer shown in progress dialog, it should show 01:00, not 00:60. --- diff --git a/src/gtk/fm-progress-dlg.c b/src/gtk/fm-progress-dlg.c index fa084b6..a82610f 100644 --- a/src/gtk/fm-progress-dlg.c +++ b/src/gtk/fm-progress-dlg.c @@ -455,11 +455,11 @@ static gboolean on_update_dlg(gpointer user_data) guint secs = (guint)remaining; guint mins = 0; guint hrs = 0; - if(secs > 60) + if(secs >= 60) { mins = secs / 60; secs %= 60; - if(mins > 60) + if(mins >= 60) { hrs = mins / 60; mins %= 60; -- 2.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor