linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01200
Re: [Question #111155]: FreeDC++
Question #111155 on LinuxDC++ changed:
https://answers.launchpad.net/linuxdcpp/+question/111155
Tehnick posted a new comment:
This is a free translation from here:
http://code.google.com/p/freedcpp/issues/detail?id=47#c17
Well, png file is now available:
http://bazaar.launchpad.net/ ~ linuxdcpp-team/linuxdcpp/trunk/revision/370
But still need to install an icon on the button.
/*
* Load the custom icons or the stock icons as per the setting
*/
void MainWindow::loadIcons_gui()
{
WulforUtil::registerIcons();
// Reset the stock IDs manually to force the icon to refresh
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("favHubs")),
"linuxdcpp-favorite-hubs");
///[+ add this line:
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("favUsers")),
"linuxdcpp-favorite-users");
///+]
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("publicHubs")),
"linuxdcpp-public-hubs");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("settings")),
"linuxdcpp-preferences");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("hash")),
"linuxdcpp-hash");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("search")),
"linuxdcpp-search");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("queue")),
"linuxdcpp-queue");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("finishedDownloads")),
"linuxdcpp-finished-downloads");
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(getWidget("finishedUploads")),
"linuxdcpp-finished-uploads");
}
--
You received this question notification because you are a member of
LinuxDC++ Team, which is an answer contact for LinuxDC++.