dmedvinsky / gsimplecal

Simple and lightweight GTK calendar (BSD license)
http://dmedvinsky.github.io/gsimplecal
Other
197 stars 19 forks source link

Today is not marked #20

Closed stevenfrog closed 10 years ago

stevenfrog commented 10 years ago

I have write: mark_today = 1

But today is not marked in frontend. 2013-12-06--1386291446_255x239_scrot

Here is my envrionement: [stevenfrog@Arch ~]$ uname -a Linux Arch 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64 GNU/Linux [stevenfrog@Arch ~]$ pacman -Ss gsimplecal community/gsimplecal 2.0-1 [installed] Simple and lightweight GTK calendar

dmedvinsky commented 10 years ago

From what I can see in the screen capture you uploaded, it is 6th of December and the day 6 is marked in bold print, which is exactly what manual page says.

stevenfrog commented 10 years ago

But what about backgrand? The day 6 should be use color backgrand, like dark blue.

As I remeber, your home page's picture's backgrand is not white. Only a bold font is very not clear.

dmedvinsky commented 10 years ago

Background color is used not for today's date, but for currently selected day. You can change selection by clicking at any day. Though by default when you launch gsimplecal current date is selected.

Moreover, the style depends on your GTK theme. If you don't have any background color, I suggest you changing your GTK theme. You can consult Arch Wiki for information about changing themes.

stevenfrog commented 10 years ago

I try to change theme, there is still no color. I try to select other days, there is no color too. I use standard Clearlooks theme, as I remember your clock has that selected color.

Only after I re-install the system, that background color disappear. And I do not any problem in other tables or cursors, so I still think your codes need be updated.

Can you tell me where can I see that background color too?

dmedvinsky commented 10 years ago

I try to change theme, there is still no color.

Do you see the theme actually gets changed for gsimplecal? Because you might be confusing gtk2 and gtk3. You might be changing the gtk2 theme, whilst gsimplecal-2.0 is built with gtk3 in Arch package. So you need to be changing gtk3 theme.

I use standard Clearlooks theme, as I remember your clock has that selected color.

There is no such thing as “standard Clearlooks theme”. Clearlooks is in no way standard. gtk3 package in Arch Linux comes with only two themes: Default and Emacs. And these two themes don't define any visual styles, they only define keybindings. So if you don't install any additional themes (and configure them to be used for gtk3 apps) you will only get built-in visual styles (quite ugly, to my taste). If you open the link to Arch Wiki I provided above, you can learn how to install and configure some popular themes. I'm currently using Adwaita theme. That is the one that's used for screen captures on gsimplecal home page.

Only after I re-install the system, that background color disappear.

That's probably because after reinstalling the system, you (1) got all your packages updated, including gsimplecal-2.0, which uses gtk3, and (2) got all your configured gtk themes uninstalled.

And I do not any problem in other tables or cursors

Again, you should first figure out what gtk version each of your “other tables or cursors” use.

so I still think your codes need be updated.

“My codes” have zero lines regarding visual styling of gtk, so I still think it is the configuration problem on your end. After all, I cannot reproduce this on my machine with Arch Linux and gsimplecal-2.0.

stevenfrog commented 10 years ago

Oh, I only change theme of gtk2. Because I use Arch+openbox, so I only have gtk2 theme.

Can I back to other version? Maybe 1.9 is for gtk2? I know the arch only have lastest version. So I need compile src manually?

On 2013-12-07 16:41, Dmitry Medvinsky wrote:

I try to change theme, there is still no color.

Do you see the theme actually gets changed for gsimplecal? Because you might be confusing gtk2 and gtk3. You might be changing the gtk2 theme, whilst gsimplecal-2.0 is built with gtk3 in Arch package. So you need to be changing gtk3 theme.

I use standard Clearlooks theme, as I remember your clock has that
selected color.

There is no such thing as “standard Clearlooks theme”. Clearlooks is in no way standard. gtk3 package in Arch Linux comes with only two themes: |Default| and |Emacs|. And these two themes don't define /any/ visual styles, they only define keybindings. So if you don't install any additional themes (and configure them to be used for gtk3 apps) you will only get built-in visual styles (quite ugly, to my taste). If you open the link to Arch Wiki I provided above, you can learn how to install and configure some popular themes. I'm currently using Adwaita theme. That is the one that's used for screen captures on gsimplecal home page.

Only after I re-install the system, that background color disappear.

That's probably because after reinstalling the system, you (1) got all your packages updated, including gsimplecal-2.0, which uses gtk3, and (2) got all your configured gtk themes uninstalled.

And I do not any problem in other tables or cursors

Again, you should first figure out what gtk version each of your “other tables or cursors” use.

so I still think your codes need be updated.

“My codes” have zero lines regarding visual styling of gtk, so I still think it is the configuration problem on your end. After all, I cannot reproduce this on my machine with Arch Linux and gsimplecal-2.0.

— Reply to this email directly or view it on GitHub https://github.com/dmedvinsky/gsimplecal/issues/20#issuecomment-30050692.

Best Wishes! stevenfrog@gmail.com

dmedvinsky commented 10 years ago

Oh, I only change theme of gtk2.

So change the gtk3 theme. I already told you at least twice where to read on how to do this.

Because I use Arch+openbox, so I only have gtk2 theme.

This doesn't really make sense. Arch+openbox do not forbid you having gtk3 themes. You may have Arch + any window manager + any GUI toolkit + any GUI toolkit themes you want. You can simultaneously run gtk2 applications, gtk3 applications, QT applications, WXWidgets applications and whatever, each one styled in its own way.

Since you were able to launch gsimplecal, that means you already have gtk3 installed. Nothing stops you from installing some gtk3 theme. It only takes couple of mebibytes.

Can I back to other version? Maybe 1.9 is for gtk2?

You can use whatever version you want with one condition: it should exist. There was never gsimplecal 1.9. Please, consult the ChangeLog for further information on gsimplecal versions. If you do, you will also learn that you can use gsimplecal 2.0 with gtk2.

So I need compile src manually?

If you can't get your hands on prebuilt package, then yes, you need to compile by yourself.