[Xfce4-commits] <ristretto:ristretto-0.6> Show filename before apptitle
Stephan Arts
noreply at xfce.org
Sat Aug 4 23:14:03 CEST 2012
Updating branch refs/heads/ristretto-0.6
to 0b662dd382894f34027a0615f58de914ee623b46 (commit)
from 616ad0f8807b5f9abaf5cba9478333f4564aa58a (commit)
commit 0b662dd382894f34027a0615f58de914ee623b46
Author: Stephan Arts <stephan at xfce.org>
Date: Sat Aug 4 23:11:59 2012 +0200
Show filename before apptitle
By showing the filename before the application title, it is
easier to distinguish between different instances of ristretto
in a taskbar that shows only a part of the title.
src/main_window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index 254ef94..7dd02ba 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -1366,11 +1366,11 @@ rstto_main_window_image_list_iter_changed (RsttoMainWindow *window)
if (count > 1)
{
- title = g_strdup_printf ("%s - %s [%d/%d]", RISTRETTO_APP_TITLE, file_basename, position+1, count);
+ title = g_strdup_printf ("%s - %s [%d/%d]", file_basename, RISTRETTO_APP_TITLE, position+1, count);
}
else
{
- title = g_strdup_printf ("%s - %s", RISTRETTO_APP_TITLE, file_basename);
+ title = g_strdup_printf ("%s - %s", file_basename, RISTRETTO_APP_TITLE );
}
}
More information about the Xfce4-commits
mailing list