style fixes

pull/21/head
parent c247d7a16a
commit 57e92da88a

@ -149,9 +149,13 @@ gboolean yon_tab_create_tags(kernels_tab *tab){
if (tab->package_installed||tab->module_installed){
if (tab->launch_button){
char *launched = config(KERNEL_BOOT_parameter);
if (launched&&strcmp(tab->package,launched)){
gtk_widget_show(tab->changelog_button);
} else gtk_widget_hide(tab->changelog_button);
int boot_size;
config_str boot_run = yon_config_load(get_active_kernel_command,&boot_size);
yon_char_remove_last_symbol(boot_run[0],'\n');
if ((launched&&strcmp(tab->package,launched))||(strcmp(tab->package,boot_run[0]))){
gtk_widget_show(tab->launch_button);
} else gtk_widget_hide(tab->launch_button);
}
if (tab->changelog_button){
gtk_widget_show(tab->changelog_button);

@ -79,6 +79,9 @@
<object class="GtkImage" id="ModuleIcon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="install_icon"/>
</style>
</object>
<packing>
<property name="expand">False</property>
@ -116,6 +119,9 @@
<object class="GtkImage" id="PackageIcon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="install_icon"/>
</style>
</object>
<packing>
<property name="expand">False</property>

@ -79,6 +79,9 @@
<object class="GtkImage" id="ModuleIcon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="install_icon"/>
</style>
</object>
<packing>
<property name="expand">False</property>
@ -115,6 +118,9 @@
<object class="GtkImage" id="PackageIcon">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="install_icon"/>
</style>
</object>
<packing>
<property name="expand">False</property>

@ -166,8 +166,8 @@ background:transparent;
border-width: 0.5px;
border-style: solid;
padding:2px 5px;
color:#a25757;
border-color: #d8504e;
color:#660000;
border-color: #cf2a27;
background-color:#ea9999
}
@ -176,8 +176,8 @@ background:transparent;
border-width: 0.5px;
border-style: solid;
padding:2px 5px;
color:#4973a1;
border-color: #3e85e7;
color:#073763;
border-color: #2b78e4;
background-color:#9fc5f8
}
@ -186,8 +186,8 @@ background:transparent;
border-width: 0.5px;
border-style: solid;
padding:2px 5px;
color:#41346a;
border-color: #9d17f9;
color:#073763;
border-color: #9900ff;
background-color:#b4a7d6
}
@ -196,8 +196,8 @@ background:transparent;
border-width: 0.5px;
border-style: solid;
padding:2px 5px;
color:#a87644;
border-color: #fea11a;
color:#783f04;
border-color: #ff9900;
background-color:#f9cb9c
}
@ -206,8 +206,8 @@ background:transparent;
border-width: 0.5px;
border-style: solid;
padding:2px 5px;
color:#866715;
border-color: #cca11f;
color:#7f6000;
border-color: #bf9000;
background-color:#ffe599
}
@ -216,10 +216,9 @@ background:transparent;
border-width: 0.5px;
border-style: solid;
padding:2px 5px;
color:#61815a;
border-color: #2aab37;
background-color:#c8e1be
border-color: #009e0f;
background-color:#b6d7a8;
color:#274e13;
}
.tag_grey{
border-radius: 2px;
@ -257,4 +256,8 @@ background:transparent;
.updatebutton *:disabled {
background-color: transparent;
color: @insensitive_fg_color;
}
.install_icon {
color:#073763;
}
Loading…
Cancel
Save