postiffm / bibledit-desktop

Desktop version of Bibledit
GNU General Public License v3.0
4 stars 6 forks source link

MS Windows Icon #56

Open postiffm opened 6 years ago

postiffm commented 6 years ago

The desktop icon looks nice, and that is the same as what appears in the task bar. BUT, the icon in the upper left corner of the window is a blue+red+green "GTK" icon. This also appears in the Alt-Tab screen when you switch apps.

We want to update this GTK icon to something better.

rluzynski commented 6 years ago

Please specify what operating system it is, what desktop environment, and which window. Some operating systems and some desktops do not display the window icons at all.

LAfricain commented 6 years ago

On Ubuntu 16.04: alt-tab A little bit fuzzy but acceptable...

postiffm commented 6 years ago

I'm talking about Windows 7, probably 10 also.

Pickle commented 5 years ago

Icon is setup with: // Window icon fallback. gtk_window_set_default_icon_from_file(gw_build_filename(Directories->get_package_data(), "bibledit-desktop.xpm").c_str(), NULL); gw_message("Set up window icon fallback");

maybe on windows gtk_window_set_default_icon_from_file isnt finding the icon? looks like there are 2 ways to check the result

  1. check the return value True or False
  2. change the NULL to a variable of type GError **err